filemanager/src/inc/fms60utils.cpp
branchRCL_3
changeset 21 65326cf895ed
parent 20 491b3ed49290
child 22 f5c50b8af68c
equal deleted inserted replaced
20:491b3ed49290 21:65326cf895ed
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *     
       
    14 * 
       
    15 * Description:
       
    16 *     The source file of the file manager s60 utilities
       
    17 */
       
    18 
       
    19 
       
    20 #include "fms60utils.h"
       
    21 
       
    22 void FmS60Utils::ConvertCharsToPwd(TDesC& aWord, TDes8& aConverted)
       
    23 {
       
    24     aConverted.FillZ(aConverted.MaxLength());
       
    25     aConverted.Zero();
       
    26     
       
    27     if (aWord.Length())
       
    28         {
       
    29         aConverted.Copy( (TUint8*)(&aWord[0]), aWord.Size() );
       
    30         }
       
    31 }