diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 09:34:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 22:09:56 +0200 |
commit | d573e2ae17d2ff589ec7adc0dddf6a78db4cc93a (patch) | |
tree | cefd09b6f39b3116f26193dc043bda1f49713ae9 /postprocess | |
parent | 41c04ceb3b1b14c3c99ede86524df8f3de4f5daa (diff) |
loplugin:ostr in various
Change-Id: I9f399b3752da9df930e0647536ffcd4e82beb1ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167856
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/qa/services.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/postprocess/qa/services.cxx b/postprocess/qa/services.cxx index c332402e390d..7e83206cc389 100644 --- a/postprocess/qa/services.cxx +++ b/postprocess/qa/services.cxx @@ -149,7 +149,7 @@ void Test::test() { m_xContext->getServiceManager(), css::uno::UNO_QUERY_THROW); css::uno::Reference<css::container::XHierarchicalNameAccess> typeMgr( m_xContext->getValueByName( - "/singletons/com.sun.star.reflection.theTypeDescriptionManager"), + u"/singletons/com.sun.star.reflection.theTypeDescriptionManager"_ustr), css::uno::UNO_QUERY_THROW); const css::uno::Sequence<OUString> serviceNames( m_xContext->getServiceManager()->getAvailableServiceNames()); @@ -346,7 +346,7 @@ void Test::createInstance( // Instantiating a ConfigurationProvider with no or empty args must // return theDefaultProvider: expImpl = "com.sun.star.comp.configuration.DefaultProvider"; - expServs = {"com.sun.star.configuration.DefaultProvider"}; + expServs = {u"com.sun.star.configuration.DefaultProvider"_ustr}; } else if (name == "com.sun.star.datatransfer.clipboard.SystemClipboard") { // SystemClipboard is a wrapper returning either a platform-specific or // the generic VCLGenericClipboard: @@ -356,19 +356,19 @@ void Test::createInstance( || name == "com.sun.star.datatransfer.dnd.XdndSupport") { expImpl = "com.sun.star.datatransfer.dnd.VclGenericDragSource"; - expServs = {"com.sun.star.datatransfer.dnd.GenericDragSource"}; + expServs = {u"com.sun.star.datatransfer.dnd.GenericDragSource"_ustr}; } else if (name == "com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1" || name == "com.sun.star.datatransfer.dnd.XdndDropTarget") { expImpl = "com.sun.star.datatransfer.dnd.VclGenericDropTarget"; - expServs = {"com.sun.star.datatransfer.dnd.GenericDropTarget"}; + expServs = {u"com.sun.star.datatransfer.dnd.GenericDropTarget"_ustr}; #endif } else if (name == "com.sun.star.ui.dialogs.FolderPicker") { // FolderPicker is a wrapper returning either a platform-specific or the // generic OfficeFolderPicker. In headless mode it is always the // generic one. expImpl = "com.sun.star.svtools.OfficeFolderPicker"; - expServs = {"com.sun.star.ui.dialogs.OfficeFolderPicker"}; + expServs = {u"com.sun.star.ui.dialogs.OfficeFolderPicker"_ustr}; } else if (expImpl == "com.sun.star.comp.Calc.SpreadsheetDocument") { expImpl = "ScModelObj"; } else if (expImpl == "com.sun.star.comp.Draw.DrawingDocument" |