callcatcher: remove unused DecryptBlockName_Imp

This commit is contained in:
Caolán McNamara 2011-07-10 01:10:16 +01:00
parent 38c6f1d561
commit 72ce3ac5d1

View file

@ -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& )