diff -r ecc8def7944a -r 2dc6caa42ec3 ipsservices/ipssosplugin/inc/ipsplgsearch.inl --- a/ipsservices/ipssosplugin/inc/ipsplgsearch.inl Mon May 03 12:23:15 2010 +0300 +++ b/ipsservices/ipssosplugin/inc/ipsplgsearch.inl Fri May 14 15:41:10 2010 +0300 @@ -19,7 +19,11 @@ #include const TInt KIpsPlgArrayGranularity = 3; -_LIT( KIpsPlgPattern, "*%1U*" ); +// mirrored +//_LIT( KIpsPlgPattern, "*%0U*" ); +_LIT( KIpsPlgPattern, "*" ); +// + // --------------------------------------------------------------------------- // CIpsPlgSearch::TSearchParams::TSearchParams() @@ -109,16 +113,27 @@ for ( TInt item = 0; item < aSearchStrings.Count(); item++ ) { + // mirrored + // Add the wildcards here. - TBuf<5> pattern( KIpsPlgPattern ); + //TBuf<5> pattern( KIpsPlgPattern ); RBuf destroyThisHackStringNow; destroyThisHackStringNow.CreateL( aSearchStrings[item]->Length() + 2 ); CleanupClosePushL( destroyThisHackStringNow ); + destroyThisHackStringNow.Insert(0, KIpsPlgPattern); + destroyThisHackStringNow.Append(*aSearchStrings[item]); + destroyThisHackStringNow.Append(KIpsPlgPattern); + /* StringLoader::Format( - destroyThisHackStringNow, pattern, 1, *aSearchStrings[item] ); - iSearchStrings->AppendL( *destroyThisHackStringNow.AllocL() ); + destroyThisHackStringNow, pattern, 0, *aSearchStrings[item] ); + */ + + // + + + iSearchStrings->AppendL( destroyThisHackStringNow ); // CleanupStack::PopAndDestroy( &destroyThisHackStringNow ); } @@ -138,7 +153,7 @@ for ( TInt item = 0; item < aSearchStrings.Count(); item++ ) { - iSearchStrings->AppendL( *aSearchStrings[item].AllocL() ); + iSearchStrings->AppendL( aSearchStrings[item] ); // } }