summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 11:39:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 13:13:17 +0200
commitd5630adf33cc7d30a657e789e2bf0978028e0c1f (patch)
tree881a26b1980a617793f030028b0c8a69a8e672df /vcl/unx/gtk3
parent70d0425dd4fffd51170ccf0ca12a28870b0b7b1a (diff)
loplugin:checkunusedparams in various
Change-Id: I4f54940a9ebdcd47776b2a5f7bae6e49b633ee44 Reviewed-on: https://gerrit.libreoffice.org/40706 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/gtk3')
-rw-r--r--vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 459fab2732a0..f0d57e34069b 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -1197,8 +1197,7 @@ tools::Rectangle GtkSalGraphics::NWGetComboBoxButtonRect(
void GtkSalGraphics::PaintCombobox( GtkStateFlags flags, cairo_t *cr,
const tools::Rectangle& rControlRectangle,
ControlType nType,
- ControlPart nPart,
- const ImplControlValue& /*rValue*/ )
+ ControlPart nPart )
{
tools::Rectangle areaRect;
tools::Rectangle buttonRect;
@@ -2487,7 +2486,7 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
PaintSpinButton(flags, cr, rControlRegion, nPart, rValue);
break;
case RenderType::Combobox:
- PaintCombobox(flags, cr, rControlRegion, nType, nPart, rValue);
+ PaintCombobox(flags, cr, rControlRegion, nType, nPart);
break;
case RenderType::Icon:
gtk_render_icon(context, cr, pixbuf, nX, nY);