diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-03-20 08:14:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-03-20 10:52:09 +0100 |
commit | f3aac8a24148eda2c0f9dc52dd8701f037fb6ccf (patch) | |
tree | 1ea68d7189253103a28c2efa8117c916e29eb36b /svx/source/dialog | |
parent | 60cfd11276d6cef6f796f7b45ae1da8a29bbe430 (diff) |
loplugin:constparam in svx
Change-Id: Ibdac11b615ce28cf0cfbd3ad51ecbc56f5a73154
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183143
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/ThemeColorEditDialog.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/framelinkarray.cxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/ThemeColorEditDialog.cxx b/svx/source/dialog/ThemeColorEditDialog.cxx index 9ec24b8fa43d..b3845f162bd6 100644 --- a/svx/source/dialog/ThemeColorEditDialog.cxx +++ b/svx/source/dialog/ThemeColorEditDialog.cxx @@ -12,7 +12,7 @@ namespace svx { -ThemeColorEditDialog::ThemeColorEditDialog(weld::Window* pParent, model::ColorSet& rColorSet) +ThemeColorEditDialog::ThemeColorEditDialog(weld::Window* pParent, const model::ColorSet& rColorSet) : GenericDialogController(pParent, u"svx/ui/themecoloreditdialog.ui"_ustr, u"ThemeColorEditDialog"_ustr) , maColorSet(rColorSet) diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx index e1b420762f3b..4c2b5259c3d5 100644 --- a/svx/source/dialog/framelinkarray.cxx +++ b/svx/source/dialog/framelinkarray.cxx @@ -285,7 +285,7 @@ namespace { struct RegisteredCellHash { - size_t operator()(Cell* const pCell) const + size_t operator()(const Cell* pCell) const { return pCell->hashCode(); } @@ -293,7 +293,7 @@ struct RegisteredCellHash struct RegisteredCellEquals { - bool operator()(Cell* const pCell1, Cell* const pCell2) const + bool operator()(const Cell* pCell1, const Cell* pCell2) const { return *pCell1 == *pCell2; } diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 6d9d597e90d1..8e819010226a 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -2354,7 +2354,7 @@ SfxChildWinInfo SvxSearchDialogWrapper::GetInfo() const return aInfo; } -static void lcl_SetSearchLabelWindow(const OUString& rStr, SfxViewFrame& rViewFrame) +static void lcl_SetSearchLabelWindow(const OUString& rStr, const SfxViewFrame& rViewFrame) { css::uno::Reference< css::beans::XPropertySet > xPropSet( rViewFrame.GetFrame().GetFrameInterface(), css::uno::UNO_QUERY_THROW); |