From f2a679e3335033c2b40958945b0ba2766a75ed86 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Fri, 12 Sep 2008 09:15:27 +0000 Subject: [PATCH] Porting to CAS-6.3 --- src/CASCatch/CASCatch_Failure.hxx | 2 +- src/QDS/QDS.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2