From 72ce3ac5d120c3642565d9635f5cec40cfcb892f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sun, 10 Jul 2011 01:10:16 +0100 Subject: [PATCH] callcatcher: remove unused DecryptBlockName_Imp --- editeng/source/misc/svxacorr.cxx | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index cbe330ba8ef0..9ca85c76cc68 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -109,7 +109,6 @@ static const sal_Char static const sal_Char sImplWordChars[] = "-'"; void EncryptBlockName_Imp( String& rName ); -void DecryptBlockName_Imp( String& rName ); // FileVersions Number for the Substitution-/Exception list separately @@ -1737,25 +1736,6 @@ void GeneratePackageName ( const String& rShort, String& rPackageName ) } } -void DecryptBlockName_Imp( String& rName ) -{ - if( '#' == rName.GetChar( 0 ) ) - { - rName.Erase( 0, 1 ); - sal_Unicode* pName = rName.GetBufferAccess(); - xub_StrLen nLen, nPos; - for ( nLen = rName.Len(), nPos = 0; nPos < nLen; ++nPos, ++pName ) - switch( *pName ) - { - case 0x01: *pName = '!'; break; - case 0x0A: *pName = ':'; break; - case 0x0C: *pName = '\\'; break; - case 0x0E: *pName = '.'; break; - case 0x0F: *pName = '/'; break; - } - } -} - const SvxAutocorrWord* lcl_SearchWordsInList( SvxAutoCorrectLanguageListsPtr pList, const String& rTxt, xub_StrLen& rStt, xub_StrLen nEndPos, SvxAutoCorrDoc& )