filemanager/View/src/CFileManagerFileNameQueryDlg.cpp
branchRCL_3
changeset 19 5181328fad28
parent 9 8812206c49a0
child 20 efe289f793e7
equal deleted inserted replaced
15:649c558486f0 19:5181328fad28
   100     {
   100     {
   101     TBool result( CAknTextQueryDialog::OkToExitL( aButtonId ) );
   101     TBool result( CAknTextQueryDialog::OkToExitL( aButtonId ) );
   102 
   102 
   103     HBufC* userText = Text().AllocLC();
   103     HBufC* userText = Text().AllocLC();
   104     TPtr ptrUserText( userText->Des() );
   104     TPtr ptrUserText( userText->Des() );
       
   105     ptrUserText.TrimRight();
   105 
   106 
   106     // Strip any directionality markers to get pure name
   107     // Strip any directionality markers to get pure name
   107     AknTextUtils::StripCharacters( ptrUserText, KFmgrDirectionalChars );
   108     AknTextUtils::StripCharacters( ptrUserText, KFmgrDirectionalChars );
   108 
   109 
   109     // Check file name
   110     // Check file name