Salome HOME
Issue #1787 : code's adjusting
[modules/shaper.git] / src / PartSet / PartSet_OverconstraintListener.h
index 3e8e5616ec90365ea30cef7e88dae630f71310b2..1f0e8f01c7ca3347c5fe5fcc49393dce4819e72d 100755 (executable)
@@ -33,16 +33,16 @@ public:
 
   virtual ~PartSet_OverconstraintListener() {};
 
-  /// Set erroneous color for the presentation of object if the object is in the conflicting list
-  /// \param theObject an object to be settled
-  /// \param theUpdateViewer a boolean state whether the current viewer should be updated
+  // Set erroneous color for the presentation of object if the object is in the conflicting list
+  // \param theObject an object to be settled
+  // \param theUpdateViewer a boolean state whether the current viewer should be updated
   //bool customizeObject(ObjectPtr theObject, const bool theUpdateViewer);
 
   /// Returns true if the object belongs to internal container of conflicting objects
   /// \param theObject an object to be checked
   /// \return boolean result
   bool isConflictingObject(const ObjectPtr& theObject);
-  
+
   /// Returns values of conflicting color
   /// \param theColor the output container to be filled in [red, green, blue] values
   void getConflictingColor(std::vector<int>& theColor);
@@ -69,10 +69,12 @@ private:
   /// Returns workshop
   XGUI_Workshop* workshop() const;
 
+#ifdef _DEBUG
   /// Unite objects in one string information
   /// \param theObjects a list of objects
   /// \return a string info
   static QString getObjectsInfo(const std::set<ObjectPtr>& theObjects);
+#endif
 
 private:
   std::set<ObjectPtr> myConflictingObjects;