filemanager/View/src/Cfilemanagerfoldernamequerydlg.cpp
branchRCL_3
changeset 11 649c558486f0
parent 0 6a9f87576119
child 14 efe289f793e7
equal deleted inserted replaced
10:875fd7f60fdf 11:649c558486f0
   152     HBufC* userText = Text().AllocLC();
   152     HBufC* userText = Text().AllocLC();
   153     TPtr ptrUserText( userText->Des() );
   153     TPtr ptrUserText( userText->Des() );
   154 
   154 
   155     // Strip any directionality markers to get pure name
   155     // Strip any directionality markers to get pure name
   156     AknTextUtils::StripCharacters( ptrUserText, KFmgrDirectionalChars );
   156     AknTextUtils::StripCharacters( ptrUserText, KFmgrDirectionalChars );
       
   157     
       
   158     // Remove white spaces from end, file server also ignores those
       
   159     ptrUserText.TrimRight();
   157 
   160 
   158     // Check folder name
   161     // Check folder name
   159     TBool isValidName( EFalse );
   162     TBool isValidName( EFalse );
   160     TPtrC empty( KNullDesC );
   163     TPtrC empty( KNullDesC );
   161     TParsePtrC oldName( CFileManagerUtils::StripFinalBackslash(
   164     TParsePtrC oldName( CFileManagerUtils::StripFinalBackslash(