]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL18573
authorasl <asl@opencascade.com>
Wed, 23 Jan 2008 13:10:50 +0000 (13:10 +0000)
committerasl <asl@opencascade.com>
Wed, 23 Jan 2008 13:10:50 +0000 (13:10 +0000)
src/GEOMBase/GEOMBase_Helper.cxx

index 4e8cd27b43adaefae9e90a750644738b52ab83d6..1a666ad76fe80e91b6b39cc21ce072debdcf13ce 100755 (executable)
@@ -789,7 +789,7 @@ bool GEOMBase_Helper::onAccept( const bool publish, const bool useTransaction )
              if ( aName.isEmpty() )
                aName = GEOMBase::GetDefaultName( getPrefix( *it ) );
            }
-           addInStudy( *it, aName.toLatin1() );
+           addInStudy( *it, aName.toLatin1().constData() );
             // updateView=false
            display( *it, false );
          }