]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Porting to CAS-6.3
authormaintenance team <salome-mnt@opencascade.com>
Fri, 12 Sep 2008 09:15:27 +0000 (09:15 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Fri, 12 Sep 2008 09:15:27 +0000 (09:15 +0000)
src/CASCatch/CASCatch_Failure.hxx
src/QDS/QDS.cxx

index 66e7dcd056ee10c5b8a7624ad905675c5e4411ca..b1b3f72ea81457ca9786ddeb2724e8733d63df22 100644 (file)
@@ -56,7 +56,7 @@ private:
 /*!\var myMessage
  * \brief stores an exception message
  */   
-Standard_CString myMessage;
+Standard_Character* myMessage;
 
 };
 
index 60c746452ce84d94495e55d1453a0a1809868a6c..398d896c10dd9c6bf61099e29a9599b3e07e78e9 100644 (file)
@@ -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;