summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxexportfilter.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-03 20:39:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-03 20:39:57 +0000
commitadfc2bac7a06d7c5cf568a40f85505530203fdc8 (patch)
tree509c7ee917d019c85b31d2f2af043403d221edc5 /sw/source/filter/ww8/docxexportfilter.cxx
parent273411d3ac2482c802e7838e9ed1e984dd9976f4 (diff)
use RTL_CONSTASCII_USTRINGPARAM macro
Diffstat (limited to 'sw/source/filter/ww8/docxexportfilter.cxx')
-rw-r--r--sw/source/filter/ww8/docxexportfilter.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/docxexportfilter.cxx b/sw/source/filter/ww8/docxexportfilter.cxx
index 771e495f4aab..ed3d29a08c72 100644
--- a/sw/source/filter/ww8/docxexportfilter.cxx
+++ b/sw/source/filter/ww8/docxexportfilter.cxx
@@ -154,7 +154,7 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void* /* pServiceMan
{
uno::Reference< registry::XRegistryKey > xNewKey1(
static_cast< registry::XRegistryKey* >( pRegistryKey )->createKey(
- OUString::createFromAscii( IMPL_NAME_RTFEXPORT "/UNO/SERVICES/" ) ) );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( IMPL_NAME_RTFEXPORT "/UNO/SERVICES/" )) ) );
xNewKey1->createKey( RtfExport_getSupportedServiceNames().getConstArray()[0] );
bRet = sal_True;
@@ -168,7 +168,7 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void* /* pServiceMan
{
uno::Reference< registry::XRegistryKey > xNewKey1(
static_cast< registry::XRegistryKey* >( pRegistryKey )->createKey(
- OUString::createFromAscii( IMPL_NAME_RTFIMPORT "/UNO/SERVICES/" ) ) );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( IMPL_NAME_RTFIMPORT "/UNO/SERVICES/" )) ) );
xNewKey1->createKey( RtfExport_getSupportedServiceNames().getConstArray()[0] );
bRet = sal_True;
@@ -202,7 +202,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplN
DocxExport_createInstance,
DocxExport_getSupportedServiceNames() ) );
} else if ( rtl_str_compare( pImplName, IMPL_NAME_RTFEXPORT ) == 0 ) {
- const OUString aServiceName( OUString::createFromAscii( IMPL_NAME_RTFEXPORT ) );
+ const OUString aServiceName(RTL_CONSTASCII_USTRINGPARAM( IMPL_NAME_RTFEXPORT));
xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory(
reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),
@@ -210,7 +210,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplN
RtfExport_createInstance,
RtfExport_getSupportedServiceNames() ) );
} else if ( rtl_str_compare( pImplName, IMPL_NAME_RTFIMPORT ) == 0 ) {
- const OUString aServiceName( OUString::createFromAscii( IMPL_NAME_RTFIMPORT ) );
+ const OUString aServiceName( OUString(RTL_CONSTASCII_USTRINGPARAM( IMPL_NAME_RTFIMPORT )) );
xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory(
reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),