diff options
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/inc/stringhelper.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sal/qa/inc/stringhelper.hxx b/sal/qa/inc/stringhelper.hxx index bb43de094a95..08c7a62e4cba 100644 --- a/sal/qa/inc/stringhelper.hxx +++ b/sal/qa/inc/stringhelper.hxx @@ -9,9 +9,13 @@ #include <rtl/string.hxx> #endif -inline void operator <<= (rtl::OString& _rAsciiString, const rtl::OUString& _rUnicodeString) +inline void operator <<= (rtl::OString& _rAsciiString, rtl::OUString const & _rUnicodeString) { _rAsciiString = rtl::OUStringToOString(_rUnicodeString,RTL_TEXTENCODING_ASCII_US); } +inline void operator <<= (rtl::OUString& _rUnicodeString, rtl::OString const & _rAsciiString ) +{ + _rUnicodeString = rtl::OStringToOUString(_rAsciiString, RTL_TEXTENCODING_ASCII_US); +} #endif |