update dev300-m58
[ooovba.git] / sal / qa / inc / stringhelper.hxx
blobb284d1c0c06ce727f5db624a6f0259b1ef250f0f
1 #ifndef STRINGHELPER_HXX
2 #define STRINGHELPER_HXX
4 #include <rtl/ustring.hxx>
5 #include <rtl/string.hxx>
7 inline void operator <<= (rtl::OString& _rAsciiString, rtl::OUString const & _rUnicodeString)
9 _rAsciiString = rtl::OUStringToOString(_rUnicodeString,RTL_TEXTENCODING_ASCII_US);
11 inline void operator <<= (rtl::OUString& _rUnicodeString, rtl::OString const & _rAsciiString )
13 _rUnicodeString = rtl::OStringToOUString(_rAsciiString, RTL_TEXTENCODING_ASCII_US);
16 #endif