diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-15 10:14:25 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-15 10:14:25 +0100 |
commit | ac97f3388dadfe0127ee2b5c97ccadfb9dd64f39 (patch) | |
tree | 22bb2161b60a5b5b58d0d926f76cc657cd858010 /sc/inc/miscuno.hxx | |
parent | reportdesign: Use appropriate OUString functions on string constants (diff) | |
download | core-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.hxx | 4 |
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; \ } |