diff -r bd874ee5e5e2 -r 502e5d91ad42 homescreenpluginsrv/hspsdom/src/hspsdomstringpool.cpp --- 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 // ----------------------------------------------------------------------------- //