diff options
author | serval <serval2412@yahoo.fr> | 2010-12-22 16:20:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-22 16:46:41 +0000 |
commit | 5365b69ea421923ba2349e6c31946f515d240e82 (patch) | |
tree | 7354ff8b5a65ea0f28e3897c051aa5a3add1bb71 /unotools/source/config/fltrcfg.cxx | |
parent | abc856e6cad183d770f2826343d536f932e7bd9b (diff) |
RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'unotools/source/config/fltrcfg.cxx')
-rw-r--r-- | unotools/source/config/fltrcfg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx index 8e2f5ea2900f..d35723c5b18e 100644 --- a/unotools/source/config/fltrcfg.cxx +++ b/unotools/source/config/fltrcfg.cxx @@ -40,7 +40,7 @@ using namespace utl; using namespace rtl; using namespace com::sun::star::uno; -#define C2U(cChar) OUString::createFromAscii(cChar) +#define C2U(cChar) OUString(RTL_CONSTASCII_USTRINGPARAM(cChar)) // ----------------------------------------------------------------------- #define FILTERCFG_WORD_CODE 0x0001 @@ -350,7 +350,7 @@ const Sequence<OUString>& SvtFilterOptions::GetPropertyNames() }; OUString* pNames = aNames.getArray(); for(int i = 0; i < nCount; i++) - pNames[i] = C2U(aPropNames[i]); + pNames[i] = OUString::createFromAscii(aPropNames[i]); } return aNames; } |