summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-08 11:58:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-08 17:18:51 +0200
commit4f5f24a4a3dac22e0f2c0d4832e0cbdd566263b9 (patch)
tree9a6078551b0d89df314cc384336d94178b8c459f /framework/inc
parent22dd422f7ccf7a1ce4dc7fe5b274263a55e464c7 (diff)
loplugin:ostr in framework
Change-Id: I2fdc32aa5de6a1315fe69997f9b531259aa78605 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167339 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/helper/statusindicatorfactory.hxx4
-rw-r--r--framework/inc/services/layoutmanager.hxx4
-rw-r--r--framework/inc/uiconfiguration/imagemanager.hxx4
-rw-r--r--framework/inc/uielement/uicommanddescription.hxx4
-rw-r--r--framework/inc/uifactory/menubarfactory.hxx4
5 files changed, 10 insertions, 10 deletions
diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx
index c492a645f5bc..007607e1d543 100644
--- a/framework/inc/helper/statusindicatorfactory.hxx
+++ b/framework/inc/helper/statusindicatorfactory.hxx
@@ -174,7 +174,7 @@ class StatusIndicatorFactory final : public ::cppu::WeakImplHelper<
virtual OUString SAL_CALL getImplementationName() override
{
- return "com.sun.star.comp.framework.StatusIndicatorFactory";
+ return u"com.sun.star.comp.framework.StatusIndicatorFactory"_ustr;
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
@@ -184,7 +184,7 @@ class StatusIndicatorFactory final : public ::cppu::WeakImplHelper<
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
- return { "com.sun.star.task.StatusIndicatorFactory" };
+ return { u"com.sun.star.task.StatusIndicatorFactory"_ustr };
}
// XInitialization
diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx
index f2f32a53a12f..3b0b57e39132 100644
--- a/framework/inc/services/layoutmanager.hxx
+++ b/framework/inc/services/layoutmanager.hxx
@@ -72,7 +72,7 @@ namespace framework
DECLARE_XTYPEPROVIDER()
virtual OUString SAL_CALL getImplementationName() override
{
- return "com.sun.star.comp.framework.LayoutManager";
+ return u"com.sun.star.comp.framework.LayoutManager"_ustr;
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
@@ -82,7 +82,7 @@ namespace framework
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
- css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.LayoutManager" };
+ css::uno::Sequence< OUString > aSeq { u"com.sun.star.frame.LayoutManager"_ustr };
return aSeq;
}
diff --git a/framework/inc/uiconfiguration/imagemanager.hxx b/framework/inc/uiconfiguration/imagemanager.hxx
index aacc8bbd3c72..a78fb675ed28 100644
--- a/framework/inc/uiconfiguration/imagemanager.hxx
+++ b/framework/inc/uiconfiguration/imagemanager.hxx
@@ -40,7 +40,7 @@ namespace framework
virtual OUString SAL_CALL getImplementationName() override
{
- return "com.sun.star.comp.framework.ImageManager";
+ return u"com.sun.star.comp.framework.ImageManager"_ustr;
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
@@ -50,7 +50,7 @@ namespace framework
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
- css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.ImageManager" };
+ css::uno::Sequence< OUString > aSeq { u"com.sun.star.ui.ImageManager"_ustr };
return aSeq;
}
diff --git a/framework/inc/uielement/uicommanddescription.hxx b/framework/inc/uielement/uicommanddescription.hxx
index aeeb1f9aa216..3b54e6de55a8 100644
--- a/framework/inc/uielement/uicommanddescription.hxx
+++ b/framework/inc/uielement/uicommanddescription.hxx
@@ -44,7 +44,7 @@ class UICommandDescription : public UICommandDescription_BASE
virtual OUString SAL_CALL getImplementationName() override
{
- return "com.sun.star.comp.framework.UICommandDescription";
+ return u"com.sun.star.comp.framework.UICommandDescription"_ustr;
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
@@ -54,7 +54,7 @@ class UICommandDescription : public UICommandDescription_BASE
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
- css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.UICommandDescription" };
+ css::uno::Sequence< OUString > aSeq { u"com.sun.star.frame.UICommandDescription"_ustr };
return aSeq;
}
diff --git a/framework/inc/uifactory/menubarfactory.hxx b/framework/inc/uifactory/menubarfactory.hxx
index a3ec76daa143..9a549026f5a2 100644
--- a/framework/inc/uifactory/menubarfactory.hxx
+++ b/framework/inc/uifactory/menubarfactory.hxx
@@ -42,7 +42,7 @@ typedef ::cppu::WeakImplHelper<
virtual OUString SAL_CALL getImplementationName() override
{
- return "com.sun.star.comp.framework.MenuBarFactory";
+ return u"com.sun.star.comp.framework.MenuBarFactory"_ustr;
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
@@ -52,7 +52,7 @@ typedef ::cppu::WeakImplHelper<
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
- css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.UIElementFactory" };
+ css::uno::Sequence< OUString > aSeq { u"com.sun.star.ui.UIElementFactory"_ustr };
return aSeq;
}