emailservices/emailframework/src/CFSMailBrandManagerImpl.cpp
branchRCL_3
changeset 26 968773a0b6ef
parent 25 3533d4323edc
--- a/emailservices/emailframework/src/CFSMailBrandManagerImpl.cpp	Wed Sep 01 12:28:57 2010 +0100
+++ b/emailservices/emailframework/src/CFSMailBrandManagerImpl.cpp	Tue Sep 14 20:48:24 2010 +0300
@@ -409,7 +409,7 @@
 CFSMailBrand* CFSMailBrandManagerImpl::FindMatchingBrandL( const TDesC& aBrandId )
     {
     FUNC_LOG;
-    if( aBrandId.Length() )
+    if( ( NULL != &aBrandId ) && aBrandId.Length() )
         {
         TInt brandCount( iBrands->Count() );
         for ( TInt i( 0 ); i < brandCount; i++ )