summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxexportfilter.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-27 11:38:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-27 16:05:02 +0100
commit5bd92787713263456680d3bc984ae4fed80e1d3a (patch)
tree5e5d57b0084fd89e30eb2931122ac25502f16de8 /sw/source/filter/ww8/docxexportfilter.cxx
parent1af4026d3fbb205044059d4024527c217bd24d82 (diff)
micro optimizations
Diffstat (limited to 'sw/source/filter/ww8/docxexportfilter.cxx')
-rw-r--r--sw/source/filter/ww8/docxexportfilter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxexportfilter.cxx b/sw/source/filter/ww8/docxexportfilter.cxx
index bf67dd9be99e..0bd0e160159f 100644
--- a/sw/source/filter/ww8/docxexportfilter.cxx
+++ b/sw/source/filter/ww8/docxexportfilter.cxx
@@ -140,7 +140,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 "/UNO/SERVICES/" ) ) );
+ OUString(RTL_CONSTASCII_USTRINGPARAM(IMPL_NAME "/UNO/SERVICES/" ))) );
xNewKey1->createKey( DocxExport_getSupportedServiceNames().getConstArray()[0] );
bRet = sal_True;
@@ -194,7 +194,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplN
if ( rtl_str_compare( pImplName, IMPL_NAME ) == 0 )
{
- const OUString aServiceName( OUString::createFromAscii( IMPL_NAME ) );
+ const OUString aServiceName( OUString(RTL_CONSTASCII_USTRINGPARAM(IMPL_NAME)) );
xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory(
reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),