Salome HOME
Corrections of examples path after install with scbi
[modules/hydro.git] / src / HYDROData / HYDROData_StricklerTable.cxx
index c5e7409bd9de8ea36f43ddaafab7d7a6d1325579..8dda167363bebb7f03c64f4a6071ba8bc4ae56c2 100644 (file)
@@ -256,7 +256,7 @@ QString HYDROData_StricklerTable::GetAttrName() const
 
 bool HYDROData_StricklerTable::SetAttrName( const QString& theAttrName ) const
 {
-  HYDROData_Iterator anIt( HYDROData_Document::Document( myLab ), KIND_STRICKLER_TABLE );
+  HYDROData_Iterator anIt( HYDROData_Document::Document(), KIND_STRICKLER_TABLE );
   for( ; anIt.More(); anIt.Next() )
   {
     Handle( HYDROData_StricklerTable ) aTable = 
@@ -335,7 +335,7 @@ void HYDROData_StricklerTable::SetColor( const QString& theType, const QColor& t
   aMap->SetInteger( aType, aColorInt );
 
   // synchronize the color for the same type in other maps
-  HYDROData_Iterator anIt( HYDROData_Document::Document( myLab ), KIND_STRICKLER_TABLE );
+  HYDROData_Iterator anIt( HYDROData_Document::Document(), KIND_STRICKLER_TABLE );
   for( ; anIt.More(); anIt.Next() )
   {
     Handle( HYDROData_StricklerTable ) aTable =