diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-06 14:35:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-06 14:38:42 +0100 |
commit | e2cd6a77ea0e8a1abd8f4d3570ba4f5fdefff3e1 (patch) | |
tree | a345e3aae24a7f41209b40e370aa89787686979e /comphelper/inc/comphelper/string.hxx | |
parent | 5662854bc29acb45c1c449c05d1e92f96a4b335a (diff) |
drop String::Reverse
Change-Id: Ie06635dc1f242241d48f9d6de4f592898e605bf2
Diffstat (limited to 'comphelper/inc/comphelper/string.hxx')
-rw-r--r-- | comphelper/inc/comphelper/string.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/comphelper/inc/comphelper/string.hxx b/comphelper/inc/comphelper/string.hxx index dc3620d67307..499e8504dd09 100644 --- a/comphelper/inc/comphelper/string.hxx +++ b/comphelper/inc/comphelper/string.hxx @@ -226,6 +226,21 @@ COMPHELPER_DLLPUBLIC sal_Int32 getTokenCount(const rtl::OString &rIn, sal_Char c */ COMPHELPER_DLLPUBLIC sal_Int32 getTokenCount(const rtl::OUString &rIn, sal_Unicode cTok); +/** Reverse an OUString + + @param rIn the input OUString + @return the reversed input +*/ +COMPHELPER_DLLPUBLIC rtl::OUString reverseString(const rtl::OUString &rStr); + +/** Reverse an OString + + @param rIn the input OString + @return the reversed input +*/ +COMPHELPER_DLLPUBLIC rtl::OString reverseString(const rtl::OString &rStr); + + namespace detail { template<typename B> B& truncateToLength(B& rBuffer, sal_Int32 nLen) |