summaryrefslogtreecommitdiffstats
path: root/sc/inc/miscuno.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:14:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:14:25 +0100
commitac97f3388dadfe0127ee2b5c97ccadfb9dd64f39 (patch)
tree22bb2161b60a5b5b58d0d926f76cc657cd858010 /sc/inc/miscuno.hxx
parentreportdesign: Use appropriate OUString functions on string constants (diff)
downloadcore-ac97f3388dadfe0127ee2b5c97ccadfb9dd64f39.tar.gz
core-ac97f3388dadfe0127ee2b5c97ccadfb9dd64f39.zip
sc: Use appropriate OUString functions on string constants
Change-Id: Ib4c0df8d7637bff7d7a45d24482fff4342169fae
Diffstat (limited to 'sc/inc/miscuno.hxx')
-rw-r--r--sc/inc/miscuno.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx
index e1fd07c32acf..38e57f190634 100644
--- a/sc/inc/miscuno.hxx
+++ b/sc/inc/miscuno.hxx
@@ -34,7 +34,7 @@
OUString SAL_CALL ClassName::getImplementationName() \
throw(::com::sun::star::uno::RuntimeException, std::exception) \
{ \
- return OUString::createFromAscii(ClassNameAscii); \
+ return OUString(ClassNameAscii); \
} \
sal_Bool SAL_CALL ClassName::supportsService( const OUString& ServiceName ) \
throw(::com::sun::star::uno::RuntimeException, std::exception) \
@@ -47,7 +47,7 @@ sal_Bool SAL_CALL ClassName::supportsService( const OUString& ServiceName ) \
{ \
::com::sun::star::uno::Sequence< OUString > aRet(1); \
OUString* pArray = aRet.getArray(); \
- pArray[0] = OUString::createFromAscii(ServiceAscii); \
+ pArray[0] = ServiceAscii; \
return aRet; \
}