Fix for Bug 1809 - Place brackets around 'case' bodies CompilerCompatibility
authorBrendan Donegan <brendand@symbian.org>
Mon, 22 Feb 2010 16:43:34 +0000
branchCompilerCompatibility
changeset 10 c97423828d28
parent 8 d415c79a9bd0
child 13 a914e47e7a01
Fix for Bug 1809 - Place brackets around 'case' bodies
mpxplugins/serviceplugins/playbackplugins/progressdownloadsb/src/mpxprogressdownloadsb.cpp
--- a/mpxplugins/serviceplugins/playbackplugins/progressdownloadsb/src/mpxprogressdownloadsb.cpp	Mon Feb 22 16:40:26 2010 +0000
+++ b/mpxplugins/serviceplugins/playbackplugins/progressdownloadsb/src/mpxprogressdownloadsb.cpp	Mon Feb 22 16:43:34 2010 +0000
@@ -320,6 +320,7 @@
                 break;
                 }
             case EPbCmdPause:
+				{
                 if ( EPbDlStateDownloadCompleted == iDownloadState && iConsumeStarted )
                     {
                     ConsumeRights( ContentAccess::EPause );
@@ -327,7 +328,9 @@
                 TInt ret = iMStreamControl->Pause();
                 iObs->HandlePluginEvent(MMPXPlaybackPluginObserver::EPPaused, 0, ret);
                 break;
+				}
             case EPbCmdStop:
+				{
                 iMStreamControl->Stop();
                 iObs->HandlePluginEvent(MMPXPlaybackPluginObserver::EPStopped,
                                          0, KErrNone);
@@ -343,7 +346,9 @@
                     }
                 iDrmMediaUtility->Close();
                 break;
+				}
             case EPbCmdClose:
+				{
                 if ( EPbDlStateDownloadCompleted == iDownloadState && iConsumeStarted  )
                     {
                     ConsumeRights( ContentAccess::EStop );
@@ -360,6 +365,7 @@
                 iObs->HandlePluginEvent(MMPXPlaybackPluginObserver::EPClosed,
                                          0, KErrNone);
                 break;
+				}
             }
         }