diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-14 10:39:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-14 09:48:46 +0000 |
commit | fdf56e4b50b396884f67b841b82bca2ae8def848 (patch) | |
tree | 7b13a4c6370cb97ab04a327a6839302e010cac88 /include/svx | |
parent | 2cee32bd4f90cc70a44755f9a8e4a6e9c6c6f2d9 (diff) |
loplugin:unusedmethods
Checked a couple of them:
StandardCheckVisisbilityRedirector is unused since
commit b1f8cf37828d5f37527e54774aa4935610aa6325
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Wed Nov 2 10:57:21 2016 +0200
loplugin:singlevalfields
SfxQueryStatus is unused since
commit 64a708cba9b954afe3331f63c58218eb53b3d0ce
Author: Caolán McNamara <caolanm@redhat.com>
Date: Sat Nov 5 20:28:27 2016 +0000
Revert "Reverts a commit series that cripple windows ci."
Change-Id: If1c9fe26c3ebc573d8c53c8f060b05c27f2711e5
Reviewed-on: https://gerrit.libreoffice.org/30840
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/ofaitem.hxx | 6 | ||||
-rw-r--r-- | include/svx/svdpage.hxx | 16 |
2 files changed, 1 insertions, 21 deletions
diff --git a/include/svx/ofaitem.hxx b/include/svx/ofaitem.hxx index d05e768f1c11..49df180d86a2 100644 --- a/include/svx/ofaitem.hxx +++ b/include/svx/ofaitem.hxx @@ -58,14 +58,10 @@ public: { return mxRef == static_cast<OfaRefItem<reference_type> const &>(rItem).mxRef; } - virtual SfxPoolItem*Clone( SfxItemPool* /*pPool = 0*/ ) const override + virtual SfxPoolItem* Clone( SfxItemPool* /*pPool = 0*/ ) const override { return new OfaRefItem( *this ); } - inline rtl::Reference<reference_type> GetValue() const - { - return mxRef; - } }; #endif diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx index 8067adda06c9..b60f12a57f45 100644 --- a/include/svx/svdpage.hxx +++ b/include/svx/svdpage.hxx @@ -535,22 +535,6 @@ private: typedef tools::WeakReference< SdrPage > SdrPageWeakRef; -// use new redirector instead of pPaintProc - -class SVX_DLLPUBLIC StandardCheckVisisbilityRedirector : public sdr::contact::ViewObjectContactRedirector -{ -public: - StandardCheckVisisbilityRedirector(); - virtual ~StandardCheckVisisbilityRedirector() override; - - // all default implementations just call the same methods at the original. To do something - // different, override the method and at least do what the method does. - virtual drawinglayer::primitive2d::Primitive2DContainer createRedirectedPrimitive2DSequence( - const sdr::contact::ViewObjectContact& rOriginal, - const sdr::contact::DisplayInfo& rDisplayInfo) override; -}; - - #endif // INCLUDED_SVX_SVDPAGE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |