summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-13 12:45:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-13 15:24:45 +0100
commit8b3cbc71151cf91a97e4c4340430876c8d02d030 (patch)
treebb502a9202c87b10883567bacf2fe3db3a84006f /tools
parent0a5f063797d39913536a690cda9426ba20300b73 (diff)
Related: fdo#38838 remove UniString::ToLowerAscii
Change-Id: Iecb8104ea2891d5229e3ecace54e12287d9b0ac6
Diffstat (limited to 'tools')
-rw-r--r--tools/source/string/strimp.cxx24
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 );