From: asl Date: Wed, 23 Jan 2008 13:10:50 +0000 (+0000) Subject: IPAL18573 X-Git-Tag: V5_0_0a1~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=295a129b26154dc0a90307477b7261a441d60104;p=modules%2Fgeom.git IPAL18573 --- diff --git a/src/GEOMBase/GEOMBase_Helper.cxx b/src/GEOMBase/GEOMBase_Helper.cxx index 4e8cd27b4..1a666ad76 100755 --- a/src/GEOMBase/GEOMBase_Helper.cxx +++ b/src/GEOMBase/GEOMBase_Helper.cxx @@ -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 ); }