summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/comphelper/string.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx
index a0c68ae1bbe5..181ca8b92a6e 100644
--- a/include/comphelper/string.hxx
+++ b/include/comphelper/string.hxx
@@ -308,14 +308,6 @@ COMPHELPER_DLLPUBLIC inline OUStringBuffer& padToLength(
return detail::padToLength(rBuffer, nLength, cFill);
}
-COMPHELPER_DLLPUBLIC inline OUString duplicate(const OUString& rString, int nCopies)
-{
- if (nCopies <= 0)
- return OUString("");
- else
- return rString + duplicate(rString, nCopies-1);
-}
-
/** Replace a token in a string
@param rIn OUString in which the token is to be replaced
@param nToken which nToken to replace