photosgallery/common/src/glxfilterfactory.cpp
branchRCL_3
changeset 75 01504893d9cb
parent 60 5b3385a43d68
--- a/photosgallery/common/src/glxfilterfactory.cpp	Wed Sep 15 12:13:06 2010 +0300
+++ b/photosgallery/common/src/glxfilterfactory.cpp	Wed Oct 13 14:32:09 2010 +0300
@@ -230,20 +230,16 @@
 // Creates a filter most suited for the SlideShow
 // ---------------------------------------------------------------------------
 //   
-EXPORT_C CMPXFilter* TGlxFilterFactory::CreateSlideShowFilterFromExistingFilterL(
-        CMPXFilter* aOriginalFilter, CMPXCollectionPath* aSelectedListPath,
-        TBool aReverseSortDirection)
-    {
+EXPORT_C CMPXFilter* TGlxFilterFactory::CreateSlideShowFilterFromExistingFilterL(   CMPXFilter* aOriginalFilter,
+                                                                                    CMPXCollectionPath* aSelectedListPath,
+                                                                                    TBool aReverseSortDirection)
+    {     
     TGlxFilterProperties filterProperties;
-    // Ref:NShwSlideshow::TPlayDirection
-	// EPlayForwards = 0; Chronological Order (Older to newer)
-    // EPlayBackwards = 1; Reverse Chronological Order (Newer to older)
-    filterProperties.iSortDirection = aReverseSortDirection ? 
-            EGlxFilterSortDirectionNotUsed : EGlxFilterSortDirectionReverse;
+    filterProperties.iSortDirection = aReverseSortDirection ? EGlxFilterSortDirectionReverse : EGlxFilterSortDirectionNotUsed;
     filterProperties.iItemType = EGlxFilterImage;
     filterProperties.iPath = aSelectedListPath;
-    filterProperties.iNoDRM = ETrue;
-    filterProperties.iExcludeAnimation = ETrue;
+    filterProperties.iNoDRM = ETrue;;
+    filterProperties.iExcludeAnimation = ETrue;;
     return CreateCombinedFilterL(filterProperties, aOriginalFilter);
     }