brandingserver/bsserver/cbsbrandhandler.cpp
changeset 2 89455bbf90d8
parent 0 e6b17d312c8b
child 19 7e0cc21eb164
child 42 cfd5c2994f10
equal deleted inserted replaced
1:b610b446cb01 2:89455bbf90d8
   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);
   213 
   214 
   214     TBuf<KLangBufLength> buffer;
   215     TBuf<KLangBufLength> buffer;
   215 // append leading zero only if language code is <10.
   216 // append leading zero only if language code is <10.
   216     if ( 10 > iLanguage )
   217     if ( 10 > iLanguage )
   217         {
   218         {
   237 	                                         file);
   238 	                                         file);
   238 
   239 
   239 		TRACE( T_LIT( "CBSBrandHandler::GetFileL found in default brand") );
   240 		TRACE( T_LIT( "CBSBrandHandler::GetFileL found in default brand") );
   240 	    
   241 	    
   241 	    }
   242 	    }
       
   243 	
       
   244 	CleanupStack :: PopAndDestroy (fileName);
   242 
   245 
   243 	aFile = file;
   246 	aFile = file;
   244     TRACE( T_LIT( "CBSBrandHandler::GetFileL end") );
   247     TRACE( T_LIT( "CBSBrandHandler::GetFileL end") );
   245 	}
   248 	}
   246 
   249