summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-29 20:44:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-30 11:39:01 +0100
commit74929bba736cc6cceed3c088e13f5952abb1bd2b (patch)
tree8a026d95bc586ca6a41686dee32dfa53b659b252 /tools
parentfc7e7b683112e9ccd23104f38d4acc3417e9d5b8 (diff)
Related: fdo#38838 remove UniString::ToUpperAscii
things got a little out of hand and I ended up converting quite a bit of calc to OUString Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
Diffstat (limited to 'tools')
-rw-r--r--tools/source/string/tustring.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/source/string/tustring.cxx b/tools/source/string/tustring.cxx
index 839603e7aae9..f3bb24f09ab5 100644
--- a/tools/source/string/tustring.cxx
+++ b/tools/source/string/tustring.cxx
@@ -293,30 +293,6 @@ STRING& STRING::Insert( STRCODE c, xub_StrLen nIndex )
return *this;
}
-STRING& STRING::ToUpperAscii()
-{
- DBG_CHKTHIS( STRING, DBGCHECKSTRING );
-
- sal_Int32 nIndex = 0;
- sal_Int32 nLen = mpData->mnLen;
- STRCODE* pStr = mpData->maStr;
- while ( nIndex < nLen )
- {
- // convert char if between 'a' and 'z'
- if ( (*pStr >= 97) && (*pStr <= 122) )
- {
- // allocate string of new size
- pStr = ImplCopyStringData( pStr );
- *pStr -= 32;
- }
-
- ++pStr,
- ++nIndex;
- }
-
- return *this;
-}
-
StringCompare STRING::CompareTo( const STRING& rStr, xub_StrLen nLen ) const
{
DBG_CHKTHIS( STRING, DBGCHECKSTRING );