summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/GalleryControl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 12:21:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-05 08:41:46 +0200
commit44bc7fc5609a4930e7236b43cf445920a2a3bc77 (patch)
treed4656ca85645d82b1eadd9fe7e08137e078c66c6 /svx/source/gallery2/GalleryControl.cxx
parent57f1934bdaa747f6e671419aa040e140d235f937 (diff)
loplugin:checkunusedparams in svx(part2)
Change-Id: I608d504b64336e1cb2fc32a46908bef0cffed3bd Reviewed-on: https://gerrit.libreoffice.org/37229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/gallery2/GalleryControl.cxx')
-rw-r--r--svx/source/gallery2/GalleryControl.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svx/source/gallery2/GalleryControl.cxx b/svx/source/gallery2/GalleryControl.cxx
index 0857cdb57431..8228852dba7d 100644
--- a/svx/source/gallery2/GalleryControl.cxx
+++ b/svx/source/gallery2/GalleryControl.cxx
@@ -34,7 +34,6 @@ namespace svx { namespace sidebar {
static const sal_Int32 gnInitialVerticalSplitPosition (150);
GalleryControl::GalleryControl (
- SfxBindings* /*pBindings*/,
vcl::Window* pParentWindow)
: Window(pParentWindow, WB_SIZEABLE|WB_MOVEABLE|WB_CLOSEABLE|WB_HIDE),
mpGallery (Gallery::GetGalleryInstance()),
@@ -45,8 +44,8 @@ GalleryControl::GalleryControl (
mpBrowser1(VclPtr<GalleryBrowser1>::Create(
this,
mpGallery,
- [this] (KeyEvent const& rEvent, vcl::Window *const pWindow)
- { return this->GalleryKeyInput(rEvent, pWindow); },
+ [this] (KeyEvent const& rEvent, vcl::Window *const /*pWindow*/)
+ { return this->GalleryKeyInput(rEvent); },
[this] ()
{ return mpBrowser2->SelectTheme(mpBrowser1->GetSelectedTheme()); })),
mpBrowser2(VclPtr<GalleryBrowser2>::Create(this, mpGallery)),
@@ -177,7 +176,7 @@ void GalleryControl::Resize()
maLastSize = aNewSize;
}
-bool GalleryControl::GalleryKeyInput( const KeyEvent& rKEvt, vcl::Window* )
+bool GalleryControl::GalleryKeyInput( const KeyEvent& rKEvt )
{
const sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();
bool bRet = ( !rKEvt.GetKeyCode().IsMod1() &&