summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 13:33:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 13:00:53 +0000
commit0a3eaf9f67f5e66ca0ae0c38cc4d85e07795b9f4 (patch)
treeeade6a8506dd5d09ad336d8b168496ed189aff85 /sd/inc
parent19dc288ce4a5ad7a386ff2b4208b7284d8731067 (diff)
loplugin:unnecessaryvirtual in sd..sdext
Change-Id: Id0bc82210fadc138b55d1abe4e06b1d2ed564df3 Reviewed-on: https://gerrit.libreoffice.org/30659 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/CustomAnimationEffect.hxx4
-rw-r--r--sd/inc/CustomAnimationPreset.hxx4
-rw-r--r--sd/inc/cusshow.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx
index bc6adda756a6..952582b8706b 100644
--- a/sd/inc/CustomAnimationEffect.hxx
+++ b/sd/inc/CustomAnimationEffect.hxx
@@ -51,14 +51,14 @@ typedef std::list< CustomAnimationEffectPtr > EffectSequence;
class EffectSequenceHelper;
-class SD_DLLPUBLIC CustomAnimationEffect
+class SD_DLLPUBLIC CustomAnimationEffect final
{
friend class MainSequence;
friend class EffectSequenceHelper;
public:
CustomAnimationEffect( const css::uno::Reference< css::animations::XAnimationNode >& xNode );
- virtual ~CustomAnimationEffect();
+ ~CustomAnimationEffect();
SAL_DLLPRIVATE const css::uno::Reference< css::animations::XAnimationNode >& getNode() const { return mxNode; }
SAL_DLLPRIVATE void setNode( const css::uno::Reference< css::animations::XAnimationNode >& xNode );
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx
index c519d3cf9f1b..7f8252fbc330 100644
--- a/sd/inc/CustomAnimationPreset.hxx
+++ b/sd/inc/CustomAnimationPreset.hxx
@@ -86,11 +86,11 @@ struct PresetCategory
typedef std::shared_ptr< PresetCategory > PresetCategoryPtr;
typedef std::vector< PresetCategoryPtr > PresetCategoryList;
-class SD_DLLPUBLIC CustomAnimationPresets
+class SD_DLLPUBLIC CustomAnimationPresets final
{
public:
SAL_DLLPRIVATE CustomAnimationPresets();
- SAL_DLLPRIVATE virtual ~CustomAnimationPresets();
+ SAL_DLLPRIVATE ~CustomAnimationPresets();
static const CustomAnimationPresets& getCustomAnimationPresets();
diff --git a/sd/inc/cusshow.hxx b/sd/inc/cusshow.hxx
index a6edd3005d88..d0509ad04881 100644
--- a/sd/inc/cusshow.hxx
+++ b/sd/inc/cusshow.hxx
@@ -27,7 +27,7 @@
class SdDrawDocument;
class SdPage;
-class SD_DLLPUBLIC SdCustomShow
+class SD_DLLPUBLIC SdCustomShow final
{
public:
typedef ::std::vector<const SdPage*> PageVec;
@@ -47,7 +47,7 @@ public:
explicit SdCustomShow(SdDrawDocument* pDrawDoc);
SdCustomShow(SdDrawDocument* pDrawDoc, css::uno::Reference< css::uno::XInterface > const & xShow );
- virtual ~SdCustomShow();
+ ~SdCustomShow();
// @@@ copy ctor, but no copy assignment? @@@
SdCustomShow( const SdCustomShow& rShow );