diff options
author | Kurt Zenker <kz@openoffice.org> | 2003-11-18 15:37:37 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2003-11-18 15:37:37 +0000 |
commit | 0dd4c0950bcf033c195df65a5cf5b63e8f9d49fd (patch) | |
tree | cf4dd5615efa60c72c93c7a70c791f1515ade3ee /sal/qa/inc | |
parent | bc42511d2553896ffd2598bfa00ec6a69bf113fa (diff) |
INTEGRATION: CWS qadev13 (1.1.2); FILE ADDED
2003/10/14 11:15:19 lla 1.1.2.1: #112598# additional helper functions
Diffstat (limited to 'sal/qa/inc')
-rw-r--r-- | sal/qa/inc/stringhelper.hxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sal/qa/inc/stringhelper.hxx b/sal/qa/inc/stringhelper.hxx new file mode 100644 index 000000000000..bb43de094a95 --- /dev/null +++ b/sal/qa/inc/stringhelper.hxx @@ -0,0 +1,17 @@ +#ifndef STRINGHELPER_HXX +#define STRINGHELPER_HXX + +#ifndef _RTL_USTRING_HXX_ +#include <rtl/ustring.hxx> +#endif + +#ifndef _RTL_STRING_HXX_ +#include <rtl/string.hxx> +#endif + +inline void operator <<= (rtl::OString& _rAsciiString, const rtl::OUString& _rUnicodeString) +{ + _rAsciiString = rtl::OUStringToOString(_rUnicodeString,RTL_TEXTENCODING_ASCII_US); +} + +#endif |