diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-13 12:45:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-13 15:24:45 +0100 |
commit | 8b3cbc71151cf91a97e4c4340430876c8d02d030 (patch) | |
tree | bb502a9202c87b10883567bacf2fe3db3a84006f /tools | |
parent | ResId rResId -> ResId& rResId (diff) | |
download | core-8b3cbc71151cf91a97e4c4340430876c8d02d030.tar.gz core-8b3cbc71151cf91a97e4c4340430876c8d02d030.zip |
Related: fdo#38838 remove UniString::ToLowerAscii
Change-Id: Iecb8104ea2891d5229e3ecace54e12287d9b0ac6
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/string/strimp.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/source/string/strimp.cxx b/tools/source/string/strimp.cxx index 6fbb280cab74..c6d882b65524 100644 --- a/tools/source/string/strimp.cxx +++ b/tools/source/string/strimp.cxx @@ -365,30 +365,6 @@ STRING& STRING::Erase( xub_StrLen nIndex, xub_StrLen nCount ) return *this; } -STRING& STRING::ToLowerAscii() -{ - DBG_CHKTHIS( STRING, DBGCHECKSTRING ); - - sal_Int32 nIndex = 0; - sal_Int32 nLen = mpData->mnLen; - STRCODE* pStr = mpData->maStr; - while ( nIndex < nLen ) - { - // Convert if char is between 'A' and 'Z' - if ( (*pStr >= 65) && (*pStr <= 90) ) - { - // allocate string of new size - pStr = ImplCopyStringData( pStr ); - *pStr += 32; - } - - ++pStr, - ++nIndex; - } - - return *this; -} - xub_StrLen STRING::Search( STRCODE c, xub_StrLen nIndex ) const { DBG_CHKTHIS( STRING, DBGCHECKSTRING ); |