Bump for 3.6-28
[LibreOffice.git] / sal / qa / inc / stringhelper.hxx
blob93da3ef9b9da6431349b835c94c5903ed0529304
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 #ifndef STRINGHELPER_HXX
3 #define STRINGHELPER_HXX
5 #include <rtl/ustring.hxx>
6 #include <rtl/string.hxx>
8 inline void operator <<= (rtl::OString& _rAsciiString, rtl::OUString const & _rUnicodeString)
10 _rAsciiString = rtl::OUStringToOString(_rUnicodeString,RTL_TEXTENCODING_ASCII_US);
12 inline void operator <<= (rtl::OUString& _rUnicodeString, rtl::OString const & _rAsciiString )
14 _rUnicodeString = rtl::OStringToOUString(_rAsciiString, RTL_TEXTENCODING_ASCII_US);
17 #endif
19 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */