]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Make master compilable under linux V_1.0.0
authorsbh <sergey.belash@opencascade.com>
Mon, 9 Feb 2015 15:20:04 +0000 (18:20 +0300)
committersbh <sergey.belash@opencascade.com>
Mon, 9 Feb 2015 15:20:04 +0000 (18:20 +0300)
src/SketchPlugin/SketchPlugin_Sketch.cpp

index bda3bd879fbf7b681a6ae81cf9ef89b1ea0e4cab..28bb02e15c761a8bc03c2b8a30055b934b364346 100644 (file)
@@ -151,7 +151,7 @@ void SketchPlugin_Sketch::removeFeature(ModelAPI_Feature* theFeature)
   // if the object is not found in the sketch sub-elements, that means that the object is removed already.
   // Find the first empty element and remove it
   if (!isRemoved && aHasEmtpyFeature)
-    data()->reflist(SketchPlugin_Sketch::FEATURES_ID())->remove(NULL);
+    data()->reflist(SketchPlugin_Sketch::FEATURES_ID())->remove(ObjectPtr());
 }
 
 int SketchPlugin_Sketch::numberOfSubs() const