[Libreoffice-commits] .: lingucomponent/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Dec 31 03:11:28 PST 2010
lingucomponent/source/lingutil/lingutil.hxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 2705d571e822eb347ba1fdec0f2993888eefcd5b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 31 11:11:20 2010 +0000
fix build error
diff --git a/lingucomponent/source/lingutil/lingutil.hxx b/lingucomponent/source/lingutil/lingutil.hxx
index f0fb20d..7ddb50b 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(), \
More information about the Libreoffice-commits
mailing list