From: adv Date: Thu, 9 Jan 2014 10:20:59 +0000 (+0000) Subject: Useless method removed. X-Git-Tag: BR_hydro_v_0_8~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=92f6a8d884f83bede0b2554e66ba4e9eafc86dd2;p=modules%2Fhydro.git Useless method removed. --- diff --git a/src/HYDROData/HYDROData_ImmersibleZone.h b/src/HYDROData/HYDROData_ImmersibleZone.h index 68ca0e9c..7a97a11d 100644 --- a/src/HYDROData/HYDROData_ImmersibleZone.h +++ b/src/HYDROData/HYDROData_ImmersibleZone.h @@ -103,7 +103,7 @@ private: /** * Create all necessary child group objects. */ - HYDRODATA_EXPORT virtual void createGroupObjects(); + HYDRODATA_EXPORT void createGroupObjects(); protected: diff --git a/src/HYDROData/HYDROData_Object.cxx b/src/HYDROData/HYDROData_Object.cxx index 242a0974..2746e025 100644 --- a/src/HYDROData/HYDROData_Object.cxx +++ b/src/HYDROData/HYDROData_Object.cxx @@ -267,10 +267,6 @@ Handle(HYDROData_ShapesGroup) HYDROData_Object::createGroupObject() return aNewGroup; } -void HYDROData_Object::createGroupObjects() -{ -} - void HYDROData_Object::removeGroupObjects() { TDF_Label aLabel = myLab.FindChild( DataTag_EdgesGroup, false ); diff --git a/src/HYDROData/HYDROData_Object.h b/src/HYDROData/HYDROData_Object.h index 642ce06f..1b6e85fd 100644 --- a/src/HYDROData/HYDROData_Object.h +++ b/src/HYDROData/HYDROData_Object.h @@ -200,12 +200,6 @@ protected: */ HYDRODATA_EXPORT virtual Handle(HYDROData_ShapesGroup) createGroupObject(); - /** - * Create all necessary child group objects. - * Base implementation does nothing. - */ - HYDRODATA_EXPORT virtual void createGroupObjects(); - /** * Remove all child group objects. */ diff --git a/src/HYDROData/HYDROData_Obstacle.h b/src/HYDROData/HYDROData_Obstacle.h index 9a9954fb..dc78d9f1 100644 --- a/src/HYDROData/HYDROData_Obstacle.h +++ b/src/HYDROData/HYDROData_Obstacle.h @@ -117,17 +117,19 @@ protected: */ HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const; - /** - * Create all necessary child group objects. - */ - HYDRODATA_EXPORT virtual void createGroupObjects(); - /** * Returns the type of child altitude object. * Reimplemented to create obstacle altitude object. */ HYDRODATA_EXPORT virtual ObjectKind getAltitudeObjectType() const; +private: + + /** + * Create all necessary child group objects. + */ + HYDRODATA_EXPORT void createGroupObjects(); + protected: friend class HYDROData_Iterator;