]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
input parameter of selectObjects method changed from TColStd_IndexedMapOfInteger...
authorsln <sln@opencascade.com>
Tue, 14 Nov 2006 09:56:25 +0000 (09:56 +0000)
committersln <sln@opencascade.com>
Tue, 14 Nov 2006 09:56:25 +0000 (09:56 +0000)
src/LightApp/LightApp_SelectionMgr.cxx
src/LightApp/LightApp_SelectionMgr.h

index ca18b57590b2903cb44b0b6aa121ace3772e4c25..9fa8bd45b6a2d15e666e697976275fb1fe380440 100644 (file)
@@ -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;
 
index be758e0795ffe6bb1f7d0f9094803982100a11ff..bc1e770530e54160d239bd29195b7f868f198b2f 100644 (file)
@@ -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 );