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
);
19 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */