webengine/osswebengine/WebCore/platform/network/symbian/SelfDownloadContentHandler.cpp
changeset 11 c8a366e56285
parent 0 dd21522fd290
child 25 0ed94ceaa377
--- a/webengine/osswebengine/WebCore/platform/network/symbian/SelfDownloadContentHandler.cpp	Thu Aug 27 07:44:59 2009 +0300
+++ b/webengine/osswebengine/WebCore/platform/network/symbian/SelfDownloadContentHandler.cpp	Thu Sep 24 12:53:48 2009 +0300
@@ -29,6 +29,7 @@
 #include "StaticObjectsContainer.h"
 #include "ResourceLoaderDelegate.h"
 #include "HttpSessionManager.h"
+#include "HttpFilterCommonStringsExt.h"
 #include <Uri8.h>
 #include <http/rhttptransaction.h>
 #include <http/mhttpdatasupplier.h>
@@ -37,7 +38,6 @@
 // CONSTANTS
 _LIT(KTempFilePath, "c:\\system\\temp\\browser\\");
 
-
 // -----------------------------------------------------------------------------
 // CTempFile::CTempFile
 // C++ default constructor can NOT contain any code, that
@@ -405,10 +405,9 @@
 		// remove the selfDownloadCallbackStr property
         RHTTPTransactionPropertySet propSet = httpTransaction.PropertySet();
 		RStringPool strPool = httpTransaction.Session().StringPool();
-		RStringF selfDownloadCallbackStr = strPool.OpenFStringL( KSelfDownloadCallback );
-		CleanupClosePushL<RStringF>( selfDownloadCallbackStr);
-		propSet.RemoveProperty(selfDownloadCallbackStr);
-		CleanupStack::PopAndDestroy(); // selfDownloadCallbackStr
+
+		propSet.RemoveProperty( strPool.StringF(HttpFilterCommonStringsExt::ESelfDownloadCallback,
+                                    HttpFilterCommonStringsExt::GetTable()) );
     }
 	StaticObjectsContainer::instance()->resourceLoaderDelegate()->httpSessionManager()->ResetOutstandingSelfDl();
     return status;