homescreenpluginsrv/hspsdom/src/hspsdomstringpool.cpp
branchRCL_3
changeset 19 502e5d91ad42
parent 18 bd874ee5e5e2
equal deleted inserted replaced
18:bd874ee5e5e2 19:502e5d91ad42
   115     CleanupStack::Pop( clone );
   115     CleanupStack::Pop( clone );
   116     return clone;
   116     return clone;
   117     }
   117     }
   118 
   118 
   119 // -----------------------------------------------------------------------------
   119 // -----------------------------------------------------------------------------
       
   120 // ChspsDomStringPool::Reset
       
   121 // -----------------------------------------------------------------------------
       
   122 //
       
   123 void ChspsDomStringPool::Reset()
       
   124     {    
       
   125     if( iStringPool.Count() > 0 )
       
   126         {
       
   127         iStringPool.ResetAndDestroy();        
       
   128         }
       
   129     
       
   130     if( iStringPoolOptimizer.Count() > 0 )
       
   131         {
       
   132         iStringPoolOptimizer.Reset();
       
   133         }
       
   134     }
       
   135 
       
   136 // -----------------------------------------------------------------------------
   120 // ChspsDomStringPool::AddStringL
   137 // ChspsDomStringPool::AddStringL
   121 // -----------------------------------------------------------------------------
   138 // -----------------------------------------------------------------------------
   122 //
   139 //
   123 EXPORT_C TInt ChspsDomStringPool::AddStringL( const TDesC8& aString )
   140 EXPORT_C TInt ChspsDomStringPool::AddStringL( const TDesC8& aString )
   124     {   
   141     {