diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-31 11:11:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-31 11:11:20 +0000 |
commit | 7f56b38a288a5d1d572f6d885c2a115debbbc8ea (patch) | |
tree | f73798c302c29eb44c4b29e3978289c152406efa /lingucomponent | |
parent | cppcheck: this can be const (diff) | |
download | core-7f56b38a288a5d1d572f6d885c2a115debbbc8ea.tar.gz core-7f56b38a288a5d1d572f6d885c2a115debbbc8ea.zip |
fix build error
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/lingutil/lingutil.hxx | 4 |
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(), \ |