--- 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;