diff options
Diffstat (limited to 'include/rtl/stringconcat.hxx')
-rw-r--r-- | include/rtl/stringconcat.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/rtl/stringconcat.hxx b/include/rtl/stringconcat.hxx index 5a32bf930019..ff8ad95f93c2 100644 --- a/include/rtl/stringconcat.hxx +++ b/include/rtl/stringconcat.hxx @@ -150,13 +150,11 @@ template<std::size_t N> struct ToStringHelper<sal_Unicode const[N]> { static bool const allowOUStringConcat = true; }; -template<char C> struct ToStringHelper<OUStringLiteral1_<C>> { +template<sal_Unicode C> struct ToStringHelper<OUStringLiteral1_<C>> { static int length(OUStringLiteral1_<C>) { return 1; } - static char * addData(char * buffer, OUStringLiteral1_<C> literal) - { return addDataHelper(buffer, &literal.c, 1); } static sal_Unicode * addData( sal_Unicode * buffer, OUStringLiteral1_<C> literal) - { return addDataLiteral(buffer, &literal.c, 1); } + { return addDataHelper(buffer, &literal.c, 1); } static bool const allowOStringConcat = false; static bool const allowOUStringConcat = true; }; |