diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/codemaker/typemanager.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/codemaker/typemanager.hxx b/include/codemaker/typemanager.hxx index fcef7b59ac3e..3227393edb6e 100644 --- a/include/codemaker/typemanager.hxx +++ b/include/codemaker/typemanager.hxx @@ -62,6 +62,15 @@ private: std::vector< rtl::Reference< unoidl::Provider > > primaryProviders_; }; + +inline OString u2b(OUString const & s) { + return OUStringToOString(s, RTL_TEXTENCODING_UTF8); +} + +inline OUString b2u(OString const & s) { + return OStringToOUString(s, RTL_TEXTENCODING_UTF8); +} + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |