From b32ead5dd27c6f2b760e4196ebe0378fb8ec1a69 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 27 Jul 2017 12:52:01 +0200 Subject: loplugin:checkunusedparams more part1 seems I got one of the checks wrong, and was missing a bunch of stuff Change-Id: I2c662fc4e735f8d6cbe56c6f82906a60a580331b Reviewed-on: https://gerrit.libreoffice.org/40481 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/builder.hxx | 10 +++++----- include/vcl/canvastools.hxx | 3 +-- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'include/vcl') diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index a446405d544c..a098ff15d31f 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -362,7 +362,7 @@ private: static std::vector handleStyle(xmlreader::XmlReader &reader, int &nPriority); static OString getStyleClass(xmlreader::XmlReader &reader); void applyPackingProperty(vcl::Window *pCurrent, vcl::Window *pParent, xmlreader::XmlReader &reader); - void collectProperty(xmlreader::XmlReader &reader, const OString &rID, stringmap &rVec); + void collectProperty(xmlreader::XmlReader &reader, stringmap &rVec); static void collectPangoAttribute(xmlreader::XmlReader &reader, stringmap &rMap); static void collectAtkAttribute(xmlreader::XmlReader &reader, stringmap &rMap); static void collectAccelerator(xmlreader::XmlReader &reader, accelmap &rMap); @@ -379,14 +379,14 @@ private: void handleMenuObject(PopupMenu *pParent, xmlreader::XmlReader &reader); void handleListStore(xmlreader::XmlReader &reader, const OString &rID); - void handleRow(xmlreader::XmlReader &reader, const OString &rID, sal_Int32 nRowIndex); + void handleRow(xmlreader::XmlReader &reader, const OString &rID); void handleTabChild(vcl::Window *pParent, xmlreader::XmlReader &reader); void handleMenu(xmlreader::XmlReader &reader, const OString &rID); - std::vector handleItems(xmlreader::XmlReader &reader, const OString &rID); + std::vector handleItems(xmlreader::XmlReader &reader); - void handleSizeGroup(xmlreader::XmlReader &reader, const OString &rID); + void handleSizeGroup(xmlreader::XmlReader &reader); - void handleAtkObject(xmlreader::XmlReader &reader, const OString &rID, vcl::Window *pWindow); + void handleAtkObject(xmlreader::XmlReader &reader, vcl::Window *pWindow); void handleActionWidget(xmlreader::XmlReader &reader); diff --git a/include/vcl/canvastools.hxx b/include/vcl/canvastools.hxx index e2abfb32bbe1..915e4e218cd3 100644 --- a/include/vcl/canvastools.hxx +++ b/include/vcl/canvastools.hxx @@ -74,8 +74,7 @@ namespace vcl /** Create an XBitmap from VCL BitmapEx */ css::uno::Reference< css::rendering::XBitmap > - VCL_DLLPUBLIC xBitmapFromBitmapEx( const css::uno::Reference< css::rendering::XGraphicDevice >& xGraphicDevice, - const ::BitmapEx& inputBitmap ); + VCL_DLLPUBLIC xBitmapFromBitmapEx( const ::BitmapEx& inputBitmap ); /** Create a BitmapEx from an XBitmap */ -- cgit v1.2.3