reduce ByteString IsAlphaAscii unused now
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user