From 3b8e53f66ffd4d631a850fe76250124dc4a195c3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 30 Sep 2021 09:40:29 +0200 Subject: loplugin:constparams improve handling of pointer params Change-Id: I4c0002e72703eded435bfe4985f5b0121bf8524b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122843 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/app/weldutils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/app/weldutils.cxx') diff --git a/vcl/source/app/weldutils.cxx b/vcl/source/app/weldutils.cxx index 12a8c6547199..4c160cfd6930 100644 --- a/vcl/source/app/weldutils.cxx +++ b/vcl/source/app/weldutils.cxx @@ -115,7 +115,7 @@ void TriStateEnabled::ButtonToggled(weld::Toggleable& rToggle) eState = rToggle.get_state(); } -void RemoveParentKeepChildren(weld::TreeView& rTreeView, weld::TreeIter& rParent) +void RemoveParentKeepChildren(weld::TreeView& rTreeView, const weld::TreeIter& rParent) { if (rTreeView.iter_has_child(rParent)) { -- cgit