summaryrefslogtreecommitdiff
path: root/cosv
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-20 14:10:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 14:10:41 +0100
commitfb21365cef57fe354d6d87137e43945aef2c7833 (patch)
tree1e43a3590e7db5191ad3d977e0bc26fb0f977d9d /cosv
parent7d9d24b335d960b4f8d1a4ddb9691ac4bcc5cb0a (diff)
remove unused StreamStr::to_lower
Diffstat (limited to 'cosv')
-rw-r--r--cosv/inc/cosv/streamstr.hxx3
-rw-r--r--cosv/source/strings/streamstr.cxx31
2 files changed, 0 insertions, 34 deletions
diff --git a/cosv/inc/cosv/streamstr.hxx b/cosv/inc/cosv/streamstr.hxx
index 53fc00a09454..ed97fafa7f12 100644
--- a/cosv/inc/cosv/streamstr.hxx
+++ b/cosv/inc/cosv/streamstr.hxx
@@ -239,9 +239,6 @@ class StreamStr : public bostream
Area i_aStrToSearch,
Area i_aReplacement );
- StreamStr & to_lower(
- position_type i_nStart = 0,
- size_type i_nLength = str::maxsize );
StreamStr & to_upper(
position_type i_nStart = 0,
size_type i_nLength = str::maxsize );
diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx
index 6d051f9b87d0..415e3f4237c8 100644
--- a/cosv/source/strings/streamstr.cxx
+++ b/cosv/source/strings/streamstr.cxx
@@ -691,37 +691,6 @@ StreamStr::replace_all( Area i_aStrToSearch,
}
StreamStr &
-StreamStr::to_lower( position_type i_nStart,
- size_type i_nLength )
-{
- static char cLower[128] =
- { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
- 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
- 64, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,
- 112,113,114,115,116,117,118,119,120,121,122, 91, 92, 93, 94, 95,
- 96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,
- 112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127 };
-
- if ( i_nStart < length() )
- {
- char * pStop = i_nStart + i_nLength < length()
- ? dpData + i_nStart + i_nLength
- : pEnd;
- for ( char * pChange = dpData + i_nStart;
- pChange != pStop;
- ++pChange )
- {
- *pChange = (static_cast< unsigned char >(*pChange) & 0x80) == 0
- ? cLower[ UINT8(*pChange) ]
- : *pChange;
- }
- }
- return *this;
-}
-
-StreamStr &
StreamStr::to_upper( position_type i_nStart,
size_type i_nLength )
{