summaryrefslogtreecommitdiff
path: root/lingucomponent/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-31 11:11:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-31 11:11:20 +0000
commit7f56b38a288a5d1d572f6d885c2a115debbbc8ea (patch)
treef73798c302c29eb44c4b29e3978289c152406efa /lingucomponent/source
parent5ef4ae729009a459b0e23d2ef9ee55bde16a2f99 (diff)
fix build error
Diffstat (limited to 'lingucomponent/source')
-rw-r--r--lingucomponent/source/lingutil/lingutil.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/lingucomponent/source/lingutil/lingutil.hxx b/lingucomponent/source/lingutil/lingutil.hxx
index 7b0299c58267..d2e9c5cac995 100644
--- a/lingucomponent/source/lingutil/lingutil.hxx
+++ b/lingucomponent/source/lingutil/lingutil.hxx
@@ -39,7 +39,9 @@
#include <list>
-#define A2OU(x) ::rtl::OUString::createFromAscii( x )
+#ifndef A2OU
+# define A2OU(x) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( x ))
+#endif
#define OU2A(rtlOUString) \
::rtl::OString((rtlOUString).getStr(), (rtlOUString).getLength(), \