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

index 102f0ec4e88ee195df17648ec946958702dde204..8a2b0ed653bf0bab910b27d8897dbf0b4a28241d 100644 (file)
@@ -52,7 +52,7 @@ private:
 /*!\var myMessage
  * \brief stores an exception message
  */   
-Standard_CString myMessage;
+Standard_Character* myMessage;
 
 };
 
index fb1cdae2448ec31ca1181cfee38d4c587d2517d2..de1a72754a45ab89936fcb3743991716befd208d 100644 (file)
@@ -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;