summaryrefslogtreecommitdiff
path: root/tools/source/string/strimp.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-08 10:06:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-08 14:05:58 +0100
commit832e5aadbff006ec24959162c29756fe2b1982be (patch)
tree9c258056fec29b0defaf012f8cb0945efed2b2e0 /tools/source/string/strimp.cxx
parentc811c0706f0ecf3400e8fcc510ca283dd593237f (diff)
Related: fdo#38838 remove UniString::SearchAndReplaceAll
Change-Id: I093c95b8700b628375d69293022f7d4b8da2af9c
Diffstat (limited to 'tools/source/string/strimp.cxx')
-rw-r--r--tools/source/string/strimp.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/source/string/strimp.cxx b/tools/source/string/strimp.cxx
index 3357c22ed29d..b86564a88e5b 100644
--- a/tools/source/string/strimp.cxx
+++ b/tools/source/string/strimp.cxx
@@ -428,23 +428,4 @@ xub_StrLen STRING::Search( const STRING& rStr, xub_StrLen nIndex ) const
return STRING_NOTFOUND;
}
-void STRING::SearchAndReplaceAll( STRCODE c, STRCODE cRep )
-{
- DBG_CHKTHIS( STRING, DBGCHECKSTRING );
-
- sal_Int32 nLen = mpData->mnLen;
- const STRCODE* pStr = mpData->maStr;
- sal_Int32 nIndex = 0;
- while ( nIndex < nLen )
- {
- if ( *pStr == c )
- {
- ImplCopyData();
- mpData->maStr[nIndex] = cRep;
- }
- ++pStr,
- ++nIndex;
- }
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */