diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-10 21:53:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-11 10:05:39 +0100 |
commit | 69b5f0b6579c6574a8fe68ab2a64208ec767db55 (patch) | |
tree | 1fafea3a72e113d0a915a1f79a2f4b3406d695a0 /sfx2 | |
parent | 4015b22dbc10bc246a3ef704d8b75e8f8cdca519 (diff) |
loplugin:constparams
Change-Id: I5f184f93dbdb414514855c85c9dc1624e7ec8636
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 71f01cd76968..17edf97cc16d 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -1801,7 +1801,7 @@ boost::property_tree::ptree fillPopupMenu(Menu* pMenu) } -boost::property_tree::ptree SfxDispatcher::fillPopupMenu(css::uno::Reference<css::awt::XPopupMenu>& rPopupMenu) +boost::property_tree::ptree SfxDispatcher::fillPopupMenu(const css::uno::Reference<css::awt::XPopupMenu>& rPopupMenu) { VCLXMenu* pAwtMenu = comphelper::getFromUnoTunnel<VCLXMenu>(rPopupMenu); PopupMenu* pVCLMenu = static_cast<PopupMenu*>(pAwtMenu->GetMenu()); |