--- a/homescreenpluginsrv/hspsdom/src/hspsdomstringpool.cpp Tue Jan 26 12:11:15 2010 +0200
+++ b/homescreenpluginsrv/hspsdom/src/hspsdomstringpool.cpp Tue Feb 02 00:23:10 2010 +0200
@@ -153,7 +153,10 @@
//
const TDesC8& ChspsDomStringPool::String( const TInt aStringRef )
{
- return (*iStringPool[ aStringRef ]);
+ if ( aStringRef < iStringPool.Count() )
+ return (*iStringPool[ aStringRef ]);
+ else
+ return KNullDesC8;
}
// -----------------------------------------------------------------------------