summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-10 01:10:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 09:04:34 +0100
commit72ce3ac5d120c3642565d9635f5cec40cfcb892f (patch)
tree90db431ee463fcd5ec98a6240b7e280db1ed383a /editeng
parent38c6f1d561992fe3980953449da07e8b7ade51bc (diff)
callcatcher: remove unused DecryptBlockName_Imp
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/svxacorr.cxx20
1 files changed, 0 insertions, 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& )