summaryrefslogtreecommitdiff
path: root/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx')
-rw-r--r--writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
index 229ef036ed8a..44c106bc6b5a 100644
--- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
+++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
@@ -97,8 +97,8 @@ public:
xContext), uno::UNO_QUERY_THROW);
xInputStream = xFileAccess->openFileRead(absFileUrl) ;
- mLF = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\n"));
- mCRLF = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\r\n"));
+ mLF = rtl::OUString("\n");
+ mCRLF = rtl::OUString("\r\n");
}
rtl::OUString getURL()
@@ -155,9 +155,8 @@ sal_Int32 SAL_CALL AnalyzeService::run
throw (uno::RuntimeException)
{
uno::Sequence<uno::Any> aUcbInitSequence(2);
- aUcbInitSequence[0] <<= rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Local"));
- aUcbInitSequence[1] <<=
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Office"));
+ aUcbInitSequence[0] <<= rtl::OUString("Local");
+ aUcbInitSequence[1] <<= rtl::OUString("Office");
uno::Reference<lang::XMultiServiceFactory>
xServiceFactory(xContext->getServiceManager(), uno::UNO_QUERY_THROW);
uno::Reference<lang::XMultiComponentFactory>
@@ -265,7 +264,7 @@ sal_Int32 SAL_CALL AnalyzeService::run
::rtl::OUString AnalyzeService_getImplementationName ()
{
- return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ( AnalyzeService::IMPLEMENTATION_NAME ));
+ return rtl::OUString(AnalyzeService::IMPLEMENTATION_NAME );
}
sal_Bool SAL_CALL AnalyzeService_supportsService( const ::rtl::OUString& ServiceName )
@@ -276,7 +275,7 @@ uno::Sequence< rtl::OUString > SAL_CALL AnalyzeService_getSupportedServiceNames(
{
uno::Sequence < rtl::OUString > aRet(1);
rtl::OUString* pArray = aRet.getArray();
- pArray[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ( AnalyzeService::SERVICE_NAME ));
+ pArray[0] = rtl::OUString(AnalyzeService::SERVICE_NAME );
return aRet;
}