]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSetPlugin/PartSetPlugin_Part.h
Salome HOME
Make python feature don't crash on documentToAdd call.
[modules/shaper.git] / src / PartSetPlugin / PartSetPlugin_Part.h
index 5b7d63e4947d53269f7ef29a52995e1916ef59b9..e7f23387c8ce407bbc8cf7122a0b3ff4c447f0eb 100644 (file)
@@ -43,7 +43,7 @@ class PartSetPlugin_Part : public ModelAPI_Feature
   /// Request for initialization of data model of the feature: adding all attributes
   PARTSETPLUGIN_EXPORT virtual void initAttributes();
 
-  PARTSETPLUGIN_EXPORT virtual std::shared_ptr<ModelAPI_Document> documentToAdd();
+  PARTSETPLUGIN_EXPORT virtual const std::string& documentToAdd();
 
   /// Returns true if this feature must be displayed in the history (top level of Part tree)
   PARTSETPLUGIN_EXPORT virtual bool isInHistory()