emailservices/emailstore/message_store/server/src/ContainerStoreSearchHandler.cpp
equal
deleted
inserted
replaced
464 |
464 |
465 __LOG_BLOCK( TPtr searchStringPtr = searchString->Des(); ) |
465 __LOG_BLOCK( TPtr searchStringPtr = searchString->Des(); ) |
466 __LOG_WRITE_FORMAT1_INFO( "search string =%S", &searchStringPtr ); |
466 __LOG_WRITE_FORMAT1_INFO( "search string =%S", &searchStringPtr ); |
467 |
467 |
468 HBufC* pattern = HBufC::NewL( searchString->Length() + 2 ); |
468 HBufC* pattern = HBufC::NewL( searchString->Length() + 2 ); |
|
469 CleanupStack::PushL( pattern ); |
469 aSearchPatterns.AppendL( pattern ); |
470 aSearchPatterns.AppendL( pattern ); |
|
471 CleanupStack::Pop( pattern ); |
470 TPtr seartStringPrt( pattern->Des() ); |
472 TPtr seartStringPrt( pattern->Des() ); |
471 |
473 |
472 //we are using MatchC(), so we need to add * to the start and end of the search pattern |
474 //we are using MatchC(), so we need to add * to the start and end of the search pattern |
473 if ( searchString->Locate(KStarChar) != 0 ) |
475 if ( searchString->Locate(KStarChar) != 0 ) |
474 { |
476 { |