reduce ByteString IsAlphaAscii unused now

This commit is contained in:
Caolán McNamara
2011-08-28 11:22:19 +01:00
parent 0ab7b0f6e7
commit e61f4e4636
2 changed files with 0 additions and 23 deletions

View File

@@ -130,28 +130,6 @@ sal_Bool ByteString::IsUpperAscii() const
return sal_True;
}
// -----------------------------------------------------------------------
sal_Bool ByteString::IsAlphaAscii() const
{
DBG_CHKTHIS( ByteString, DbgCheckByteString );
sal_Int32 nIndex = 0;
sal_Int32 nLen = mpData->mnLen;
const sal_Char* pStr = mpData->maStr;
while ( nIndex < nLen )
{
if ( !(((*pStr >= 97) && (*pStr <= 122)) ||
((*pStr >= 65) && (*pStr <= 90))) )
return sal_False;
++pStr,
++nIndex;
}
return sal_True;
}
void STRING::SearchAndReplaceAll( const STRCODE* pCharStr, const STRING& rRepStr )
{
DBG_CHKTHIS( STRING, DBGCHECKSTRING );