From 8ea0d46d37f27e57c2fe57e81582ee989efddfd5 Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 18 Jan 2005 15:07:00 +0000 Subject: [PATCH] remove dead code --- symbian/src/symaskdlg.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/symbian/src/symaskdlg.cpp b/symbian/src/symaskdlg.cpp index ed6892dc4..ce359a1c6 100644 --- a/symbian/src/symaskdlg.cpp +++ b/symbian/src/symaskdlg.cpp @@ -82,34 +82,6 @@ SwapInSymbLinefeed( TDes16& buf16 ) XP_LOGF( "search-and-replace done" ); } -#if 0 -static TBool -ConvertToDblByteL( TDes16& buf16, const TDesC8& buf8 ) -{ - CCnvCharacterSetConverter* conv = CCnvCharacterSetConverter::NewLC(); - - RFs fileSession; - User::LeaveIfError(fileSession.Connect()); - CleanupClosePushL(fileSession); - conv->PrepareToConvertToOrFromL( KCharacterSetIdentifierAscii, - fileSession ); - - TInt state = CCnvCharacterSetConverter::KStateDefault; - TInt count = conv->ConvertToUnicode( buf16, buf8, state ); - - CleanupStack::PopAndDestroy(); /* fileSession */ - CleanupStack::PopAndDestroy(); /* converter */ - - /* Apparently unicode conversion simply 0-byte-pads the char. So for - proper wrapping in EDWINs I have to manually find all the "\0\n" - strings and replace 'em with Symbian's own wrap value. Dumb. - */ - - SwapInSymbLinefeed( buf16 ); - return count == 0; -} -#endif - void CXWAskDlg::PreLayoutDynInitL() {