diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-07 08:51:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-07 12:20:06 +0200 |
commit | ecf6f6f25663e81ebf18589b895a22bc5b6ffbab (patch) | |
tree | 578b7ec831d287e89500e59a28580b643f96ecbb /cui/source/factory | |
parent | 00b3bcc64fc32165d19e78b99cc6f78317824806 (diff) |
loplugin:ostr in cui
Change-Id: I593eb3c02768423fc8cea8d93c112655860228d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167258
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/factory')
-rw-r--r-- | cui/source/factory/cuiexp.cxx | 4 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 4 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/factory/cuiexp.cxx b/cui/source/factory/cuiexp.cxx index 28b83f6a8780..788304de2e3e 100644 --- a/cui/source/factory/cuiexp.cxx +++ b/cui/source/factory/cuiexp.cxx @@ -32,7 +32,7 @@ public: // css::lang::XServiceInfo: virtual OUString SAL_CALL getImplementationName() override { - return "com.sun.star.cui.GetCreateDialogFactoryService"; + return u"com.sun.star.cui.GetCreateDialogFactoryService"_ustr; } virtual sal_Bool SAL_CALL supportsService(const OUString& serviceName) override { @@ -40,7 +40,7 @@ public: } virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override { - return { "com.sun.star.cui.GetCreateDialogFactoryService" }; + return { u"com.sun.star.cui.GetCreateDialogFactoryService"_ustr }; } // XUnoTunnel diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 9c422c4f71a6..afd9f41b1616 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1077,8 +1077,8 @@ VclPtr<SfxAbstractTabDialog> AbstractDialogFactory_Impl::CreateSchTransformTabDi { auto pDlg = std::make_shared<SvxTransformTabDialog>(pParent, pAttr, pSdrView, bSizeTabPage ? SvxAnchorIds::NoProtect : SvxAnchorIds::NoProtect|SvxAnchorIds::NoResize); - pDlg->RemoveTabPage( "RID_SVXPAGE_ANGLE" ); - pDlg->RemoveTabPage( "RID_SVXPAGE_SLANT" ); + pDlg->RemoveTabPage( u"RID_SVXPAGE_ANGLE"_ustr ); + pDlg->RemoveTabPage( u"RID_SVXPAGE_SLANT"_ustr ); return VclPtr<CuiAbstractTabController_Impl>::Create(std::move(pDlg)); } diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 6b4a548fe3fc..a10837f6cd48 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -528,7 +528,7 @@ public: virtual VclPtr<AbstractSvxNewDictionaryDialog> CreateSvxNewDictionaryDialog(weld::Window* pParent) override; virtual VclPtr<VclAbstractDialog> CreateSvxEditDictionaryDialog(weld::Window* pParent, const OUString& rName) override; virtual VclPtr<AbstractSvxNameDialog> CreateSvxNameDialog(weld::Window* pParent, - const OUString& rName, const OUString& rDesc, const OUString& rTitle = "") override; + const OUString& rName, const OUString& rDesc, const OUString& rTitle = u""_ustr) override; // #i68101# virtual VclPtr<AbstractSvxObjectNameDialog> CreateSvxObjectNameDialog(weld::Window* pParent, const OUString& rName) override; virtual VclPtr<AbstractSvxObjectTitleDescDialog> CreateSvxObjectTitleDescDialog(weld::Window* pParent, const OUString& rTitle, const OUString& rDescription, bool isDecorative) override; |