summaryrefslogtreecommitdiff
path: root/sal/qa/inc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-11-18 15:37:37 +0000
committerKurt Zenker <kz@openoffice.org>2003-11-18 15:37:37 +0000
commit0dd4c0950bcf033c195df65a5cf5b63e8f9d49fd (patch)
treecf4dd5615efa60c72c93c7a70c791f1515ade3ee /sal/qa/inc
parentbc42511d2553896ffd2598bfa00ec6a69bf113fa (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.hxx17
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