From: maintenance team Date: Wed, 10 Sep 2008 11:23:21 +0000 (+0000) Subject: Porting to CAS-6.3 X-Git-Tag: V4_1_4a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dda80763dd39d2cc238ab17bd4acc2111b074180;p=modules%2Fgui.git Porting to CAS-6.3 --- diff --git a/src/CASCatch/CASCatch_Failure.hxx b/src/CASCatch/CASCatch_Failure.hxx index 102f0ec4e..8a2b0ed65 100644 --- a/src/CASCatch/CASCatch_Failure.hxx +++ b/src/CASCatch/CASCatch_Failure.hxx @@ -52,7 +52,7 @@ private: /*!\var myMessage * \brief stores an exception message */ -Standard_CString myMessage; +Standard_Character* myMessage; }; diff --git a/src/QDS/QDS.cxx b/src/QDS/QDS.cxx index fb1cdae24..de1a72754 100644 --- a/src/QDS/QDS.cxx +++ b/src/QDS/QDS.cxx @@ -125,7 +125,7 @@ TCollection_ExtendedString QDS::toExtString( const QString& src ) return TCollection_ExtendedString(); Standard_Integer len = src.length(); - Standard_ExtString extStr = new Standard_ExtCharacter[( len + 1 ) * 2]; + Standard_ExtCharacter* extStr = new Standard_ExtCharacter[( len + 1 ) * 2]; memcpy( extStr, src.unicode(), len * 2 ); extStr[len] = 0;