messagingapp/msgui/unifiededitor/src/msgunieditorprocessimageoperation.cpp
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
   414     TMmsConformance conformance = 
   414     TMmsConformance conformance = 
   415         mmsConformance->MediaConformance( *iImageInfo );
   415         mmsConformance->MediaConformance( *iImageInfo );
   416     
   416     
   417     if ( conformance.iCanAdapt == EFalse )
   417     if ( conformance.iCanAdapt == EFalse )
   418         {
   418         {
   419         return ETrue;
   419         return EFalse;
   420         }
   420         }
   421         
   421         
   422     TSize origSize = iImageInfo->Dimensions();
   422     TSize origSize = iImageInfo->Dimensions();
   423     
   423     
   424     if ( origSize.iWidth == 0 || origSize.iHeight == 0 )
   424     if ( origSize.iWidth == 0 || origSize.iHeight == 0 )
   503         }
   503         }
   504 
   504 
   505     //Large image query     
   505     //Large image query     
   506     if( largeImageQuery && iMmsCreationMode == EMmsCreationModeWarning)
   506     if( largeImageQuery && iMmsCreationMode == EMmsCreationModeWarning)
   507     {
   507     {
   508         if(!HbMessageBox::
   508         if(!HbMessageBox::question(LOC_LARGE_IMAGE_NOTE))
   509                     launchQuestionMessageBox(LOC_LARGE_IMAGE_NOTE))
       
   510         {
   509         {
   511             return EFalse; // Abort
   510             return EFalse; // Abort
   512         }
   511         }
   513         
   512         
   514     }
   513     }