diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-02 14:32:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-03 07:54:12 +0100 |
commit | 6299c8cae923198c55d47320fa8a89bbcd5b0f2b (patch) | |
tree | 019ed8f1d754f92fb72c9ae4639ab671bae97018 /svtools | |
parent | de39e35b21134e9a0f946aabe4859b16a62b248d (diff) |
loplugin:constparams
Change-Id: Iebeb531fad5cc819b536788925cf8508737198b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124599
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/toolbarmenu.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/valueset.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index 3c95a6410d64..86edb4613c2d 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -35,7 +35,7 @@ using namespace ::com::sun::star::accessibility; namespace { -SystemWindow* GetTopMostParentSystemWindow(vcl::Window& rWindow) +SystemWindow* GetTopMostParentSystemWindow(const vcl::Window& rWindow) { // ->manually search topmost system window // required because their might be another system window between this and the top window diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index f8b0267316aa..b3bd235ef249 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1233,7 +1233,7 @@ ValueSetItem* ValueSet::ImplGetDrawSelectItem(sal_uInt16 nItemId, const bool bFo } void ValueSet::ImplDrawSelect(vcl::RenderContext& rRenderContext, - const tools::Rectangle& rRect, ValueSetItem* pItem, + const tools::Rectangle& rRect, const ValueSetItem* pItem, const bool bFocus, const bool bDrawSel, const bool bSelected, const bool bHover) { |