brandingserver/bsserver/cbsbrandhandler.cpp
changeset 19 7e0cc21eb164
parent 2 89455bbf90d8
child 21 5872ac9a5671
equal deleted inserted replaced
3:420de9b004d4 19:7e0cc21eb164
   208 	User::LeaveIfError( iFs.ShareProtected() );
   208 	User::LeaveIfError( iFs.ShareProtected() );
   209 
   209 
   210 	if (iLanguage >= 100)
   210 	if (iLanguage >= 100)
   211 		User::LeaveIfError (KErrNotFound);
   211 		User::LeaveIfError (KErrNotFound);
   212 	HBufC* fileName = GetTextL( aId );
   212 	HBufC* fileName = GetTextL( aId );
   213 	CleanupStack :: PushL (fileName);
       
   214 
   213 
   215     TBuf<KLangBufLength> buffer;
   214     TBuf<KLangBufLength> buffer;
   216 // append leading zero only if language code is <10.
   215 // append leading zero only if language code is <10.
   217     if ( 10 > iLanguage )
   216     if ( 10 > iLanguage )
   218         {
   217         {
   238 	                                         file);
   237 	                                         file);
   239 
   238 
   240 		TRACE( T_LIT( "CBSBrandHandler::GetFileL found in default brand") );
   239 		TRACE( T_LIT( "CBSBrandHandler::GetFileL found in default brand") );
   241 	    
   240 	    
   242 	    }
   241 	    }
   243 	
       
   244 	CleanupStack :: PopAndDestroy (fileName);
       
   245 
   242 
   246 	aFile = file;
   243 	aFile = file;
   247     TRACE( T_LIT( "CBSBrandHandler::GetFileL end") );
   244     TRACE( T_LIT( "CBSBrandHandler::GetFileL end") );
   248 	}
   245 	}
   249 
   246