homescreenpluginsrv/hspsdom/src/hspsdomstringpool.cpp
branchRCL_3
changeset 19 502e5d91ad42
parent 18 bd874ee5e5e2
--- a/homescreenpluginsrv/hspsdom/src/hspsdomstringpool.cpp	Fri Mar 12 15:43:54 2010 +0200
+++ b/homescreenpluginsrv/hspsdom/src/hspsdomstringpool.cpp	Mon Mar 15 12:41:53 2010 +0200
@@ -117,6 +117,23 @@
     }
 
 // -----------------------------------------------------------------------------
+// ChspsDomStringPool::Reset
+// -----------------------------------------------------------------------------
+//
+void ChspsDomStringPool::Reset()
+    {    
+    if( iStringPool.Count() > 0 )
+        {
+        iStringPool.ResetAndDestroy();        
+        }
+    
+    if( iStringPoolOptimizer.Count() > 0 )
+        {
+        iStringPoolOptimizer.Reset();
+        }
+    }
+
+// -----------------------------------------------------------------------------
 // ChspsDomStringPool::AddStringL
 // -----------------------------------------------------------------------------
 //