summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-07 10:12:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-07 11:46:58 +0100
commitb8cf30e93f18ddc16fd648976a41a6bbb6c6d8b2 (patch)
tree2f1aeba61b0b943fcd67d3f4b2ca73002eaf60dd /tools
parent511b3ce85ebb2261f5ea866efdb333eaf94c64f8 (diff)
Related: fdo#38838 remove UniString::SearchAndReplaceAscii
Change-Id: I86019d7ab248679cd8518a621fe8e3721b44aeb0
Diffstat (limited to 'tools')
-rw-r--r--tools/source/string/strascii.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/source/string/strascii.cxx b/tools/source/string/strascii.cxx
index 53a2babc634f..56e7122b5060 100644
--- a/tools/source/string/strascii.cxx
+++ b/tools/source/string/strascii.cxx
@@ -247,18 +247,4 @@ xub_StrLen UniString::SearchAscii( const sal_Char* pAsciiStr, xub_StrLen nIndex
return STRING_NOTFOUND;
}
-xub_StrLen UniString::SearchAndReplaceAscii( const sal_Char* pAsciiStr, const UniString& rRepStr,
- xub_StrLen nIndex )
-{
- DBG_CHKTHIS( UniString, DbgCheckUniString );
- DBG_ASSERT( ImplDbgCheckAsciiStr( pAsciiStr, STRING_LEN ),
- "UniString::SearchAndReplaceAscii() - pAsciiStr include characters > 127" );
-
- xub_StrLen nSPos = SearchAscii( pAsciiStr, nIndex );
- if ( nSPos != STRING_NOTFOUND )
- Replace( nSPos, ImplStringLen( pAsciiStr ), rRepStr );
-
- return nSPos;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */