From dda80763dd39d2cc238ab17bd4acc2111b074180 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Wed, 10 Sep 2008 11:23:21 +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 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; -- 2.39.2