uifw/EikStd/coctlsrc/aknmarkingmode.cpp
branchRCL_3
changeset 64 85902f042028
parent 56 d48ab3b357f1
child 72 a5e7a4f63858
--- a/uifw/EikStd/coctlsrc/aknmarkingmode.cpp	Tue Sep 14 21:48:24 2010 +0300
+++ b/uifw/EikStd/coctlsrc/aknmarkingmode.cpp	Wed Sep 15 12:29:17 2010 +0300
@@ -59,7 +59,8 @@
 // CAknMarkingMode::SetCollectionMultipleMarkingState
 // ---------------------------------------------------------------------------
 //
-void CAknMarkingMode::SetCollectionMultipleMarkingState( TBool aActive )
+EXPORT_C void CAknMarkingMode::SetCollectionMultipleMarkingState(
+    TBool aActive )
     {
     _AKNTRACE_FUNC_ENTER;
     for ( TInt i = 0; i < iCollections.Count(); i++ )
@@ -121,17 +122,12 @@
     for ( TInt i = 0; i < iCollections.Count(); i++ )
         {
         MAknCollection* collection( iCollections[i] );
-        if ( collection->CollectionState() &
-                MAknCollection::EStateCollectionVisible )
+        MAknMarkingCollection* markingCollection
+            = MarkingCollection( *collection );
+        if ( markingCollection )
             {
-            MAknMarkingCollection* markingCollection
-                = MarkingCollection( *collection );
-            if ( markingCollection )
-                {
-                markingActive = markingCollection->MarkingState()
-                    & MAknMarkingCollection::EStateMarkingMode;
-                }
-            break;
+            markingActive = markingCollection->MarkingState()
+                & MAknMarkingCollection::EStateMarkingMode;
             }
         }
     _AKNTRACE_FUNC_EXIT;