diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-04 12:21:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 08:41:46 +0200 |
commit | 44bc7fc5609a4930e7236b43cf445920a2a3bc77 (patch) | |
tree | d4656ca85645d82b1eadd9fe7e08137e078c66c6 /svx/inc | |
parent | 57f1934bdaa747f6e671419aa040e140d235f937 (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/inc')
-rw-r--r-- | svx/inc/GalleryControl.hxx | 6 | ||||
-rw-r--r-- | svx/inc/galbrws2.hxx | 10 | ||||
-rw-r--r-- | svx/inc/galobj.hxx | 6 | ||||
-rw-r--r-- | svx/inc/sdr/properties/emptyproperties.hxx | 3 |
4 files changed, 10 insertions, 15 deletions
diff --git a/svx/inc/GalleryControl.hxx b/svx/inc/GalleryControl.hxx index afd77c7dbc3d..2fa7040f56f3 100644 --- a/svx/inc/GalleryControl.hxx +++ b/svx/inc/GalleryControl.hxx @@ -39,11 +39,9 @@ namespace svx { namespace sidebar { class SVX_DLLPUBLIC GalleryControl : public vcl::Window { public: - GalleryControl ( - SfxBindings* pBindings, - vcl::Window* pParentWindow); + GalleryControl( vcl::Window* pParentWindow ); - bool GalleryKeyInput( const KeyEvent& rKEvt, vcl::Window* pWindow); + bool GalleryKeyInput( const KeyEvent& rKEvt ); private: Gallery* mpGallery; diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx index ab92f8adafc1..422a9c76cd25 100644 --- a/svx/inc/galbrws2.hxx +++ b/svx/inc/galbrws2.hxx @@ -152,11 +152,11 @@ public: INetURLObject GetURL() const; OUString GetFilterName() const; - sal_Int8 AcceptDrop( DropTargetHelper& rTarget, const AcceptDropEvent& rEvt ); - sal_Int8 ExecuteDrop( DropTargetHelper& rTarget, const ExecuteDropEvent& rEvt ); - void StartDrag( vcl::Window* pWindow, const Point* pDragPoint = nullptr ); - void TogglePreview( vcl::Window* pWindow, const Point* pPreviewPoint = nullptr ); - void ShowContextMenu( vcl::Window* pWindow, const Point* pContextPoint ); + sal_Int8 AcceptDrop( DropTargetHelper& rTarget ); + sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ); + void StartDrag( const Point* pDragPoint = nullptr ); + void TogglePreview(); + void ShowContextMenu( const Point* pContextPoint ); bool KeyInput( const KeyEvent& rEvt, vcl::Window* pWindow ); static css::uno::Reference< css::frame::XFrame > GetFrame(); diff --git a/svx/inc/galobj.hxx b/svx/inc/galobj.hxx index ba93c31d386f..aeeab93e1187 100644 --- a/svx/inc/galobj.hxx +++ b/svx/inc/galobj.hxx @@ -143,7 +143,7 @@ public: SgaObjectBmp(); SgaObjectBmp( const INetURLObject& rURL ); - SgaObjectBmp( const Graphic& rGraphic, const INetURLObject& rURL, const OUString& rFormat ); + SgaObjectBmp( const Graphic& rGraphic, const INetURLObject& rURL ); virtual SgaObjKind GetObjKind() const override { return SgaObjKind::Bitmap; } }; @@ -153,7 +153,7 @@ class SgaObjectAnim : public SgaObjectBmp public: SgaObjectAnim(); - SgaObjectAnim( const Graphic& rGraphic, const INetURLObject& rURL, const OUString& rFormatName ); + SgaObjectAnim( const Graphic& rGraphic, const INetURLObject& rURL ); virtual SgaObjKind GetObjKind() const override { return SgaObjKind::Animation; } }; @@ -163,7 +163,7 @@ class SgaObjectINet : public SgaObjectAnim public: SgaObjectINet(); - SgaObjectINet( const Graphic& rGraphic, const INetURLObject& rURL, const OUString& rFormatName ); + SgaObjectINet( const Graphic& rGraphic, const INetURLObject& rURL ); virtual SgaObjKind GetObjKind() const override { return SgaObjKind::Inet; } }; diff --git a/svx/inc/sdr/properties/emptyproperties.hxx b/svx/inc/sdr/properties/emptyproperties.hxx index d8c1f3e18499..dad630be6fe9 100644 --- a/svx/inc/sdr/properties/emptyproperties.hxx +++ b/svx/inc/sdr/properties/emptyproperties.hxx @@ -52,9 +52,6 @@ namespace sdr // basic constructor explicit EmptyProperties(SdrObject& rObj); - // constructor for copying, but using new object - EmptyProperties(const EmptyProperties& rProps, SdrObject& rObj); - // destructor virtual ~EmptyProperties() override; |