From: stv Date: Thu, 30 Jun 2005 03:51:31 +0000 (+0000) Subject: Compiler errors (Qt without STL support). X-Git-Tag: V3_0_1~41 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b0720fa2740489fe34c54648846fbb86f715eca;p=modules%2Fvisu.git Compiler errors (Qt without STL support). --- diff --git a/src/VISU_I/VISU_Gen_i.cc b/src/VISU_I/VISU_Gen_i.cc index a6a49953..4d7154ac 100644 --- a/src/VISU_I/VISU_Gen_i.cc +++ b/src/VISU_I/VISU_Gen_i.cc @@ -757,7 +757,7 @@ namespace VISU{ for (SALOME_ListIteratorOfListIO it (aListIO); it.More(); it.Next()) { if (it.Value()->hasEntry()) { std::string aCurEntry (it.Value()->getEntry()); - if (aCurEntry != anEntry) { + if (aCurEntry != std::string( anEntry.in() ) ) { aNewListIO.Append(it.Value()); } } diff --git a/src/VISU_I/VISU_ViewManager_i.cc b/src/VISU_I/VISU_ViewManager_i.cc index e501ec10..9d037eb4 100644 --- a/src/VISU_I/VISU_ViewManager_i.cc +++ b/src/VISU_I/VISU_ViewManager_i.cc @@ -77,8 +77,8 @@ namespace VISU { void Execute() { - MESSAGE("Find application for study : " << myStudyName); - QString aStudyName (myStudyName); + MESSAGE( "Find application for study : " << myStudyName ); + QString aStudyName( myStudyName.c_str() ); SUIT_Session* aSession = SUIT_Session::session(); QPtrList anApplications = aSession->applications(); QPtrListIterator anIter (anApplications);