X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVISUGUI%2FVisuGUI_StreamLinesDlg.cxx;h=904f438dcc34caa4fb152907c73685f6191b9b2c;hb=70ae0b0139868088804efbc29a4ac170c2b62127;hp=9f554b33098244fffa231514c6d565486206eae3;hpb=a2af64b36f5dc0ef10aea5a727f4504a204a52c4;p=modules%2Fvisu.git diff --git a/src/VISUGUI/VisuGUI_StreamLinesDlg.cxx b/src/VISUGUI/VisuGUI_StreamLinesDlg.cxx index 9f554b33..904f438d 100644 --- a/src/VISUGUI/VisuGUI_StreamLinesDlg.cxx +++ b/src/VISUGUI/VisuGUI_StreamLinesDlg.cxx @@ -31,7 +31,6 @@ #include "SALOME_ListIO.hxx" #include -#include #include #include @@ -117,7 +116,7 @@ VisuGUI_StreamLinesDlg::VisuGUI_StreamLinesDlg (SalomeApp_Module* theModule) _PTR(GenericAttribute) anAttr; if (aChildSObj->FindAttribute(anAttr, "AttributeName")) { _PTR(AttributeName) aName (anAttr); - myPrsLst += QString(aName->Value()); + myPrsLst += QString(aName->Value().c_str()); myPrsList.append(aPrsObj); continue; } @@ -142,15 +141,15 @@ VisuGUI_StreamLinesDlg::VisuGUI_StreamLinesDlg (SalomeApp_Module* theModule) VISU::Prs3d_var aPrsObj = VISU::Prs3d::_narrow(aChildObject); switch (aType) { case VISU::TFAMILY: - myFamilisLst += QString(aName->Value()); + myFamilisLst += QString(aName->Value().c_str()); myFamilyList.append(aPrsObj); break; case VISU::TGROUP: - myGroupsLst += QString(aName->Value()); + myGroupsLst += QString(aName->Value().c_str()); myGroupList.append(aPrsObj); break; case VISU::TENTITY: - myEntitiesLst += QString(aName->Value()); + myEntitiesLst += QString(aName->Value().c_str()); myEntityList.append(aPrsObj); break; }