From: maintenance team Date: Fri, 12 Sep 2008 09:15:27 +0000 (+0000) Subject: Porting to CAS-6.3 X-Git-Tag: TG_TRIPOLI_qt4_porting~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f2a679e3335033c2b40958945b0ba2766a75ed86;p=modules%2Fgui.git Porting to CAS-6.3 --- diff --git a/src/CASCatch/CASCatch_Failure.hxx b/src/CASCatch/CASCatch_Failure.hxx index 66e7dcd05..b1b3f72ea 100644 --- a/src/CASCatch/CASCatch_Failure.hxx +++ b/src/CASCatch/CASCatch_Failure.hxx @@ -56,7 +56,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 60c746452..398d896c1 100644 --- a/src/QDS/QDS.cxx +++ b/src/QDS/QDS.cxx @@ -145,7 +145,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;