diff options
author | Arnaud VERSINI <arnaud.versini@pm.me> | 2024-03-03 16:30:39 +0100 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@pm.me> | 2024-03-11 08:32:32 +0100 |
commit | 68b73e7a290a340be48c8b9ed4d9f970d9a56204 (patch) | |
tree | f28726a1700095b997b904f5a2802074fc9a0b46 /basic | |
parent | ae351d9d5fc4fc3c0e02853e0a974791e41786fe (diff) |
basic : use OUstring literal for XServiceInfo implementation
Change-Id: Ic4501ec887bb3f1249ab4a8da1eae07f6b2a22ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164305
Tested-by: Jenkins
Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/uno/dlgcont.cxx | 6 | ||||
-rw-r--r-- | basic/source/uno/scriptcont.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx index 666b6d355a00..170a5c0c01cd 100644 --- a/basic/source/uno/dlgcont.cxx +++ b/basic/source/uno/dlgcont.cxx @@ -471,13 +471,13 @@ SfxDialogLibraryContainer:: HasExecutableCode( const OUString& /*Library*/ ) OUString SAL_CALL SfxDialogLibraryContainer::getImplementationName( ) { - return "com.sun.star.comp.sfx2.DialogLibraryContainer"; + return u"com.sun.star.comp.sfx2.DialogLibraryContainer"_ustr; } Sequence< OUString > SAL_CALL SfxDialogLibraryContainer::getSupportedServiceNames( ) { - return {"com.sun.star.script.DocumentDialogLibraryContainer", - "com.sun.star.script.DialogLibraryContainer"}; // for compatibility + return {u"com.sun.star.script.DocumentDialogLibraryContainer"_ustr, + u"com.sun.star.script.DialogLibraryContainer"_ustr}; // for compatibility } // Implementation class SfxDialogLibrary diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index 2a5a1249a017..2f5cb5f15198 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -1113,13 +1113,13 @@ sal_Bool SAL_CALL SfxScriptLibraryContainer:: HasExecutableCode( const OUString& // Service OUString SAL_CALL SfxScriptLibraryContainer::getImplementationName( ) { - return "com.sun.star.comp.sfx2.ScriptLibraryContainer"; + return u"com.sun.star.comp.sfx2.ScriptLibraryContainer"_ustr; } Sequence< OUString > SAL_CALL SfxScriptLibraryContainer::getSupportedServiceNames( ) { - return {"com.sun.star.script.DocumentScriptLibraryContainer", - "com.sun.star.script.ScriptLibraryContainer"}; // for compatibility + return {u"com.sun.star.script.DocumentScriptLibraryContainer"_ustr, + u"com.sun.star.script.ScriptLibraryContainer"_ustr}; // for compatibility } // Implementation class SfxScriptLibrary |