X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FLightApp%2FLightApp_SelectionMgr.cxx;h=2faa58531da8c3ee9c1a1a4b18d2e93837909f84;hb=refs%2Ftags%2FV9_11_0;hp=9b0eafe5c4c1aa31bf60a95c97890d9a1d28a333;hpb=533affbecb3e001b103b2e7c41af58e33e4cce9c;p=modules%2Fgui.git diff --git a/src/LightApp/LightApp_SelectionMgr.cxx b/src/LightApp/LightApp_SelectionMgr.cxx index 9b0eafe5c..2faa58531 100644 --- a/src/LightApp/LightApp_SelectionMgr.cxx +++ b/src/LightApp/LightApp_SelectionMgr.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -155,7 +155,7 @@ void LightApp_SelectionMgr::selectedObjects( SALOME_ListIO& theList, if ( refEntry != entry ) { entry = refEntry; QString component = study->componentDataType( entry ); - theList.Append( new SALOME_InteractiveObject( (const char*)entry.toLatin1(), + theList.Append( new SALOME_InteractiveObject( (const char*)entry.toUtf8(), (const char*)component.toLatin1(), ""/*refobj->Name().c_str()*/ ) ); } @@ -425,7 +425,7 @@ void LightApp_SelectionMgr::selectedSubOwners( MapEntryOfMapOfInteger& theMap ) if ( subOwner ) { //#ifndef WIN32 - if ( !theMap.IsBound( TCollection_AsciiString(subOwner->entry().toLatin1().data()) ) ) + if ( !theMap.IsBound( TCollection_AsciiString(subOwner->entry().toUtf8().data()) ) ) //#else // if ( !theMap.IsBound( subOwner->entry().toLatin1().data() ) ) //#endif @@ -442,7 +442,7 @@ void LightApp_SelectionMgr::selectedSubOwners( MapEntryOfMapOfInteger& theMap ) anIndexes.Add( subOwner2->index() ); } // - theMap.Bind( subOwner->entry().toLatin1().data(), anIndexes ); + theMap.Bind( subOwner->entry().toUtf8().data(), anIndexes ); } } }