From: sln Date: Tue, 14 Nov 2006 09:56:25 +0000 (+0000) Subject: input parameter of selectObjects method changed from TColStd_IndexedMapOfInteger... X-Git-Tag: For_CTH_V1_2a~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8637d71c390b8e5cae7648bfc79829cca05f96ef;p=modules%2Fgui.git input parameter of selectObjects method changed from TColStd_IndexedMapOfInteger theIndex on const TColStd_IndexedMapOfInteger theIndex& --- diff --git a/src/LightApp/LightApp_SelectionMgr.cxx b/src/LightApp/LightApp_SelectionMgr.cxx index ca18b5759..9fa8bd45b 100644 --- a/src/LightApp/LightApp_SelectionMgr.cxx +++ b/src/LightApp/LightApp_SelectionMgr.cxx @@ -261,7 +261,8 @@ bool LightApp_SelectionMgr::AddOrRemoveIndex( const Handle(SALOME_InteractiveObj select 'subobjects' with given indexes */ void LightApp_SelectionMgr::selectObjects( const Handle(SALOME_InteractiveObject)& IObject, - TColStd_IndexedMapOfInteger theIndex, bool append ) + const TColStd_IndexedMapOfInteger& theIndex, + const bool append ) { SUIT_DataOwnerPtrList aList; diff --git a/src/LightApp/LightApp_SelectionMgr.h b/src/LightApp/LightApp_SelectionMgr.h index be758e079..bc1e77053 100644 --- a/src/LightApp/LightApp_SelectionMgr.h +++ b/src/LightApp/LightApp_SelectionMgr.h @@ -67,7 +67,8 @@ public: bool modeShift ); void selectObjects( const Handle(SALOME_InteractiveObject)& IObject, - TColStd_IndexedMapOfInteger theIndex, bool append ); + const TColStd_IndexedMapOfInteger& theIndex, + const bool append ); void selectObjects( MapIOOfMapOfInteger theMapIO, bool append ); void selectedSubOwners( MapEntryOfMapOfInteger& theMap );