upnpsharing/upnpcontentserver/src/upnpcontentserverhandler.cpp
changeset 32 3785f754ee62
parent 0 7f85d04be362
child 38 5360b7ddc251
--- a/upnpsharing/upnpcontentserver/src/upnpcontentserverhandler.cpp	Wed Aug 18 10:02:50 2010 +0300
+++ b/upnpsharing/upnpcontentserver/src/upnpcontentserverhandler.cpp	Fri Sep 17 08:31:21 2010 +0300
@@ -83,7 +83,7 @@
 void CUpnpContentServerHandler::ConstructL()
     {
     __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ );
-    static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy);
+ /*   static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy);
     static _LIT_SECURITY_POLICY_S0(KThisProcessPolicy,
                                    KUpnpContentServerCat.iUid );
 
@@ -108,7 +108,7 @@
     const TInt KRefreshDelay( 500000 );
     iIdle->Start( KRefreshDelay, KRefreshDelay, cb );
     iReader = CUpnpSelectionReader::NewL( NULL ); // metadata set later
-    SetProgressL( KNoProgress );
+    SetProgressL( KNoProgress );*/
     __LOG8_1( "%s end.", __PRETTY_FUNCTION__ );
     }
 
@@ -277,7 +277,7 @@
         // There is sharing ongoing, return the buffered selections
         for( TInt i(0); i < sharingReq->iSelections.Count(); i++ )
             {
-            aMarkedItems.Append( sharingReq->iSelections[ i ] );
+            aMarkedItems.AppendL( sharingReq->iSelections[ i ] );
             }
         }
     else