0025524: XmlTObjDrivers_ModelDriver::Paste will cause crash when saving model.
[occt.git] / src / XmlTObjDrivers / XmlTObjDrivers_ModelDriver.cxx
index a70ddd8..31d677f 100644 (file)
@@ -106,6 +106,6 @@ void XmlTObjDrivers_ModelDriver::Paste
   // Store model GUID.
   Standard_PCharacter aPGuidString = new Standard_Character[256];
   aModel->GetGUID().ToCString( aPGuidString );
-  XmlObjMgt::SetExtendedString (Target, *aPGuidString);
+  XmlObjMgt::SetExtendedString (Target, aPGuidString);
   delete []aPGuidString;
 }