Salome HOME
Copyright update 2021
[modules/geom.git] / src / GEOMGUI / GEOMGUI_AnnotationMgr.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 1c2e59e..e2c3cc3
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -82,7 +82,7 @@ SALOME_Prs* GEOMGUI_AnnotationMgr::CreatePresentation( const GEOMGUI_AnnotationA
   if ( !theEntry.isEmpty() ) {
     // owner should be set to provide selection mechanizm
     Handle( SALOME_InteractiveObject ) anIO = new SALOME_InteractiveObject();
-    anIO->setEntry( theEntry.toLatin1().constData() );
+    anIO->setEntry( theEntry.toUtf8().constData() );
     aPresentation->SetOwner( anIO );
   }