summaryrefslogtreecommitdiff
path: root/writerfilter/unocomponent/debugservices/ooxml
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-12-10 18:08:43 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-12-10 18:08:43 +0100
commit5d41e651aaa15bb6cb9e9eec449f0828d42b23b3 (patch)
tree384f4eca3f3f9077053070ea1f2fb2a766ff1c22 /writerfilter/unocomponent/debugservices/ooxml
parent0cdda035aa98f4e6368fc5549722268a4a976484 (diff)
RTL_CONSTASCII_USTRINGPARAM in filters 24
Diffstat (limited to 'writerfilter/unocomponent/debugservices/ooxml')
-rw-r--r--writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx6
-rw-r--r--writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
index cb48b78bf7fb..f67d894a329c 100644
--- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
+++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
@@ -269,18 +269,18 @@ sal_Int32 SAL_CALL AnalyzeService::run
::rtl::OUString AnalyzeService_getImplementationName ()
{
- return rtl::OUString::createFromAscii ( AnalyzeService::IMPLEMENTATION_NAME );
+ return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ( AnalyzeService::IMPLEMENTATION_NAME ));
}
sal_Bool SAL_CALL AnalyzeService_supportsService( const ::rtl::OUString& ServiceName )
{
- return ServiceName.equals( rtl::OUString::createFromAscii( AnalyzeService::SERVICE_NAME ) );
+ return ServiceName.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( AnalyzeService::SERVICE_NAME )) );
}
uno::Sequence< rtl::OUString > SAL_CALL AnalyzeService_getSupportedServiceNames( ) throw (uno::RuntimeException)
{
uno::Sequence < rtl::OUString > aRet(1);
rtl::OUString* pArray = aRet.getArray();
- pArray[0] = rtl::OUString::createFromAscii ( AnalyzeService::SERVICE_NAME );
+ pArray[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ( AnalyzeService::SERVICE_NAME ));
return aRet;
}
diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
index b982348f5487..b898766bc1b4 100644
--- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
+++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
@@ -160,18 +160,18 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< rtl::OUString >
::rtl::OUString ScannerTestService_getImplementationName ()
{
- return rtl::OUString::createFromAscii ( ScannerTestService::IMPLEMENTATION_NAME );
+ return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ( ScannerTestService::IMPLEMENTATION_NAME ));
}
sal_Bool SAL_CALL ScannerTestService_supportsService( const ::rtl::OUString& ServiceName )
{
- return ServiceName.equals( rtl::OUString::createFromAscii( ScannerTestService::SERVICE_NAME ) );
+ return ServiceName.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( ScannerTestService::SERVICE_NAME )) );
}
uno::Sequence< rtl::OUString > SAL_CALL ScannerTestService_getSupportedServiceNames( ) throw (uno::RuntimeException)
{
uno::Sequence < rtl::OUString > aRet(1);
rtl::OUString* pArray = aRet.getArray();
- pArray[0] = rtl::OUString::createFromAscii ( ScannerTestService::SERVICE_NAME );
+ pArray[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ( ScannerTestService::SERVICE_NAME ));
return aRet;
}