From 185ed3ddb8c01ee4465ce559e37113824f57b5c7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 May 2017 13:03:43 +0200 Subject: teach loplugin:constantparam about simple constructor calls Change-Id: I7d2a28ab5951fbdb5a427c84e9ac4c1e32ecf9f9 Reviewed-on: https://gerrit.libreoffice.org/37280 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/control/toolbarmenu.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools/source/control') diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index 92d23b77f701..17c666288fc6 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -525,7 +525,7 @@ static long ImplGetNativeCheckAndRadioSize(vcl::RenderContext& rRenderContext, l if (rRenderContext.IsNativeControlSupported(ControlType::MenuPopup, ControlPart::MenuItemCheckMark)) { if (rRenderContext.GetNativeControlRegion(ControlType::MenuPopup, ControlPart::MenuItemCheckMark, - aCtrlRegion, ControlState::ENABLED, aVal, OUString(), + aCtrlRegion, ControlState::ENABLED, aVal, aNativeBounds, aNativeContent) ) { @@ -536,7 +536,7 @@ static long ImplGetNativeCheckAndRadioSize(vcl::RenderContext& rRenderContext, l if (rRenderContext.IsNativeControlSupported(ControlType::MenuPopup, ControlPart::MenuItemRadioMark)) { if (rRenderContext.GetNativeControlRegion(ControlType::MenuPopup, ControlPart::MenuItemRadioMark, - aCtrlRegion, ControlState::ENABLED, aVal, OUString(), + aCtrlRegion, ControlState::ENABLED, aVal, aNativeBounds, aNativeContent) ) { -- cgit