equal
deleted
inserted
replaced
138 } |
138 } |
139 |
139 |
140 static int DoConvertionToUnicode( const char* s1, TUint16* aUnicodeText) |
140 static int DoConvertionToUnicode( const char* s1, TUint16* aUnicodeText) |
141 { |
141 { |
142 |
142 |
|
143 TInt r = KErrNone; |
143 RFs fileSession; |
144 RFs fileSession; |
144 fileSession.Connect(); |
145 r = fileSession.Connect(); |
|
146 if (r != KErrNone) |
|
147 { |
|
148 return r; |
|
149 } |
145 CleanupClosePushL(fileSession); |
150 CleanupClosePushL(fileSession); |
146 |
151 |
147 CCnvCharacterSetConverter* conv = CCnvCharacterSetConverter::NewL() ; |
152 CCnvCharacterSetConverter* conv = CCnvCharacterSetConverter::NewL() ; |
148 CleanupStack::PushL(conv); |
153 CleanupStack::PushL(conv); |
149 |
154 |