summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-03 09:49:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-03 11:05:02 +0100
commit8a4bcae71053b2db33d80036a0707edbe1ddb270 (patch)
tree554b01fa57435fbe836e66d90012b10562680dfa /sd/inc
parent68cea95423818f6ae19b735e2029284c5fc9397b (diff)
loplugin:finalclasses
Change-Id: I80ac98249f8ef6b24939de59e32eda4fa2e79fba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124631 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/Annotation.hxx2
-rw-r--r--sd/inc/CustomAnimationEffect.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/inc/Annotation.hxx b/sd/inc/Annotation.hxx
index ca3ac088d0d0..707f2cdc8e78 100644
--- a/sd/inc/Annotation.hxx
+++ b/sd/inc/Annotation.hxx
@@ -73,7 +73,7 @@ struct SD_DLLPUBLIC CustomAnnotationMarker
std::vector<basegfx::B2DPolygon> maPolygons;
};
-class Annotation : private ::cppu::BaseMutex,
+class Annotation final : private ::cppu::BaseMutex,
public ::cppu::WeakComponentImplHelper<css::office::XAnnotation>,
public ::cppu::PropertySetMixin<css::office::XAnnotation>
{
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx
index eebda95f01b8..67445cf0d854 100644
--- a/sd/inc/CustomAnimationEffect.hxx
+++ b/sd/inc/CustomAnimationEffect.hxx
@@ -367,7 +367,7 @@ private:
typedef std::shared_ptr< InteractiveSequence > InteractiveSequencePtr;
typedef std::vector< InteractiveSequencePtr > InteractiveSequenceVector;
-class SAL_DLLPUBLIC_RTTI MainSequence : public EffectSequenceHelper, public ISequenceListener
+class SD_DLLPUBLIC MainSequence final : public EffectSequenceHelper, public ISequenceListener
{
friend class UndoAnimation;
friend class MainSequenceRebuildGuard;
@@ -407,7 +407,7 @@ public:
virtual sal_Int32 getOffsetFromEffect( const CustomAnimationEffectPtr& xEffect ) const override;
virtual CustomAnimationEffectPtr getEffectFromOffset( sal_Int32 nOffset ) const override;
-protected:
+private:
/** permits rebuilds until unlockRebuilds() is called. All rebuild calls during a locked sequence are
process after unlockRebuilds() call. lockRebuilds() and unlockRebuilds() calls can be nested. */
void lockRebuilds();