From 0c01d578ea4bf1f662e424527559b728ee3fd010 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 12 Nov 2010 11:27:06 +0000 Subject: RTL_CONSTASCII_USTRINGPARAM used with nonarray --- desktop/source/so_comp/evaluation.cxx | 2 +- desktop/source/so_comp/oemjob.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/source/so_comp') diff --git a/desktop/source/so_comp/evaluation.cxx b/desktop/source/so_comp/evaluation.cxx index 40fc3e451c33..8f00343ce3a9 100644 --- a/desktop/source/so_comp/evaluation.cxx +++ b/desktop/source/so_comp/evaluation.cxx @@ -67,7 +67,7 @@ const char* SOEvaluation::serviceName = "com.sun.star.office.Evaluation"; OUString SOEvaluation::GetImplementationName() { - return OUString( RTL_CONSTASCII_USTRINGPARAM( implementationName)); + return OUString::createFromAscii(implementationName); } Sequence< OUString > SOEvaluation::GetSupportedServiceNames() diff --git a/desktop/source/so_comp/oemjob.cxx b/desktop/source/so_comp/oemjob.cxx index 321cc90c7296..1ff4c1e4c29c 100644 --- a/desktop/source/so_comp/oemjob.cxx +++ b/desktop/source/so_comp/oemjob.cxx @@ -68,7 +68,7 @@ const char* OEMPreloadJob::serviceName = "com.sun.star.office.OEMPreloadJob"; OUString OEMPreloadJob::GetImplementationName() { - return OUString( RTL_CONSTASCII_USTRINGPARAM( implementationName)); + return OUString::createFromAscii(implementationName); } Sequence< OUString > OEMPreloadJob::GetSupportedServiceNames() -- cgit