summaryrefslogtreecommitdiff
path: root/include/comphelper/string.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-01 13:20:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-04 06:49:52 +0000
commit7855ea48309ee2ba06ee5f3d5dac27ecfc4ca4a6 (patch)
tree359d2a334303f6e32582981efef6e6e0d6b69e01 /include/comphelper/string.hxx
parentcd71034b26a404c8f9b763865ef6ebdd0adeebb7 (diff)
remove comphelper::string::remove
and replace it with OUString/OString::replaceAll Change-Id: I37b1c3b51251dfd9d749d6f1060c75b3a93d7f1a Reviewed-on: https://gerrit.libreoffice.org/26850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/comphelper/string.hxx')
-rw-r--r--include/comphelper/string.hxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx
index f1d253f30401..ea8762850fdd 100644
--- a/include/comphelper/string.hxx
+++ b/include/comphelper/string.hxx
@@ -50,34 +50,6 @@ inline bool equals(const OUString& rIn, sal_Unicode c)
/** Removes all occurrences of a character from within the source string
- @deprecated Use OString::replaceAll(OString(c), OString())
- instead.
-
- @param rIn The input OString
- @param c The character to be removed
-
- @return The resulting OString
- */
-inline OString remove(const OString &rIn,
- sal_Char c)
-{ return rIn.replaceAll(OString(c), OString()); }
-
-/** Removes all occurrences of a character from within the source string
-
- @deprecated Use
- OUString::replaceAll(OUString(c), OUString()) instead.
-
- @param rIn The input OUString
- @param c The character to be removed
-
- @return The resulting OUString
- */
-inline OUString remove(const OUString &rIn,
- sal_Unicode c)
-{ return rIn.replaceAll(OUString(c), ""); }
-
-/** Removes all occurrences of a character from within the source string
-
@param rIn The input OUStringBuffer
@param c The character to be removed