summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/string.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/string.cxx')
-rw-r--r--comphelper/source/misc/string.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/comphelper/source/misc/string.cxx b/comphelper/source/misc/string.cxx
index 08aa392dcd82..84a5c9c86c19 100644
--- a/comphelper/source/misc/string.cxx
+++ b/comphelper/source/misc/string.cxx
@@ -246,18 +246,6 @@ sal_uInt32 decimalStringToNumber(
return result;
}
-rtl::OUString removeTrailingChars(const rtl::OUString& rStr, sal_Unicode cChar)
-{
- sal_Int32 n = rStr.getLength();
- const sal_Unicode* p = &rStr.getStr()[n-1]; // last char
- while (n > 0 && *p == cChar)
- {
- --p;
- --n;
- }
- return rStr.copy(0, n);
-}
-
using namespace ::com::sun::star;
// convert between sequence of string and comma separated string