diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-10 13:18:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-11 12:41:09 +0200 |
commit | bc91cc47505c448ded7297074ccff809b59e8ed1 (patch) | |
tree | ddd3d33ff41ae6021738a0dcda4f9dbb5c177dea /include | |
parent | 28a43d53b25c183a7997cc18819d6ee0c675df19 (diff) |
loplugin:ostr in svx
Change-Id: Ia765a03e033acb82e367873380d289587ea87d6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167449
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/ClassificationField.hxx | 2 | ||||
-rw-r--r-- | include/svx/hdft.hxx | 8 | ||||
-rw-r--r-- | include/svx/svxdlg.hxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/ClassificationField.hxx b/include/svx/ClassificationField.hxx index e2b5a71ab775..4e2633d0392b 100644 --- a/include/svx/ClassificationField.hxx +++ b/include/svx/ClassificationField.hxx @@ -36,7 +36,7 @@ public: OUString msIdentifier; //< The identifier of this entry (from example.xml). ClassificationResult(ClassificationType eType, OUString sName, - OUString sAbbreviatedName, OUString sIdentifier = "") + OUString sAbbreviatedName, OUString sIdentifier = u""_ustr) : meType(eType) , msName(std::move(sName)) , msAbbreviatedName(std::move(sAbbreviatedName)) diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx index 8eadfa366e66..6890e23fc78b 100644 --- a/include/svx/hdft.hxx +++ b/include/svx/hdft.hxx @@ -113,8 +113,8 @@ class SVX_DLLPUBLIC DeleteHeaderDialog final : public weld::MessageDialogControl { public: DeleteHeaderDialog(weld::Widget* pParent) - : MessageDialogController(pParent, "svx/ui/deleteheaderdialog.ui", - "DeleteHeaderDialog") + : MessageDialogController(pParent, u"svx/ui/deleteheaderdialog.ui"_ustr, + u"DeleteHeaderDialog"_ustr) { } }; @@ -123,8 +123,8 @@ class SVX_DLLPUBLIC DeleteFooterDialog final : public weld::MessageDialogControl { public: DeleteFooterDialog(weld::Widget* pParent) - : MessageDialogController(pParent, "svx/ui/deletefooterdialog.ui", - "DeleteFooterDialog") + : MessageDialogController(pParent, u"svx/ui/deletefooterdialog.ui"_ustr, + u"DeleteFooterDialog"_ustr) { } }; diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx index f775c1099917..aa73fb57e5c2 100644 --- a/include/svx/svxdlg.hxx +++ b/include/svx/svxdlg.hxx @@ -377,7 +377,7 @@ public: virtual VclPtr<AbstractSvxNewDictionaryDialog> CreateSvxNewDictionaryDialog(weld::Window* pParent) = 0; virtual VclPtr<VclAbstractDialog> CreateSvxEditDictionaryDialog(weld::Window* pParent, const OUString& rName) = 0; virtual VclPtr<AbstractSvxNameDialog> CreateSvxNameDialog(weld::Window* pParent, - const OUString& rName, const OUString& rDesc, const OUString& rTitle = "" ) = 0; + const OUString& rName, const OUString& rDesc, const OUString& rTitle = u""_ustr ) = 0; // #i68101# virtual VclPtr<AbstractSvxObjectNameDialog> CreateSvxObjectNameDialog(weld::Window* pParent, const OUString& rName) = 0; |