summaryrefslogtreecommitdiff
path: root/include/svx/sdr
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-29 16:32:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-30 07:32:40 +0100
commitfa79e8df02a082cd4967bf7a1c61aa925dc7b101 (patch)
tree925752fb10602968d15f4057374ee8f305a7fbbc /include/svx/sdr
parentf90d0de7b20b52c1910eb0ceac9d31f38a648613 (diff)
loplugin:finalclasses svx
Change-Id: If55e51b8627083ba3ece2b3270adb47668b25e9d Reviewed-on: https://gerrit.libreoffice.org/81705 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/sdr')
-rw-r--r--include/svx/sdr/animation/objectanimator.hxx2
-rw-r--r--include/svx/sdr/contact/viewcontactofpageobj.hxx3
-rw-r--r--include/svx/sdr/contact/viewobjectcontactofpageobj.hxx3
-rw-r--r--include/svx/sdr/overlay/overlayobjectcell.hxx2
-rw-r--r--include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx3
5 files changed, 5 insertions, 8 deletions
diff --git a/include/svx/sdr/animation/objectanimator.hxx b/include/svx/sdr/animation/objectanimator.hxx
index f8cb8ce8c5b1..aaa0e99c72d5 100644
--- a/include/svx/sdr/animation/objectanimator.hxx
+++ b/include/svx/sdr/animation/objectanimator.hxx
@@ -27,7 +27,7 @@ namespace sdr
{
namespace animation
{
- class primitiveAnimator : public Scheduler
+ class primitiveAnimator final : public Scheduler
{
public:
// basic constructor and destructor
diff --git a/include/svx/sdr/contact/viewcontactofpageobj.hxx b/include/svx/sdr/contact/viewcontactofpageobj.hxx
index 6750d8f5a4fa..bb87ae187007 100644
--- a/include/svx/sdr/contact/viewcontactofpageobj.hxx
+++ b/include/svx/sdr/contact/viewcontactofpageobj.hxx
@@ -28,9 +28,8 @@ class SdrPage;
namespace sdr { namespace contact {
-class SVX_DLLPUBLIC ViewContactOfPageObj : public ViewContactOfSdrObj
+class SVX_DLLPUBLIC ViewContactOfPageObj final : public ViewContactOfSdrObj
{
-protected:
// Create an Object-Specific ViewObjectContact, set ViewContact and
// ObjectContact. Always needs to return something.
virtual ViewObjectContact& CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) override;
diff --git a/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx b/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx
index ace62f1941c0..68559a1e2b8e 100644
--- a/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx
+++ b/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx
@@ -29,13 +29,12 @@ namespace sdr { namespace contact {
class PagePrimitiveExtractor;
-class SVX_DLLPUBLIC ViewObjectContactOfPageObj : public ViewObjectContactOfSdrObj
+class SVX_DLLPUBLIC ViewObjectContactOfPageObj final : public ViewObjectContactOfSdrObj
{
private:
// the page painter helper
std::unique_ptr<PagePrimitiveExtractor> mpExtractor;
-protected:
// This method is responsible for creating the graphical visualisation data which is
// stored/cached in the local primitive.
// This method will not handle included hierarchies and not check geometric visibility.
diff --git a/include/svx/sdr/overlay/overlayobjectcell.hxx b/include/svx/sdr/overlay/overlayobjectcell.hxx
index 751b67bdf43f..711cc8bcfabc 100644
--- a/include/svx/sdr/overlay/overlayobjectcell.hxx
+++ b/include/svx/sdr/overlay/overlayobjectcell.hxx
@@ -31,7 +31,7 @@ namespace sdr
{
// OverlayObjectCell - used for cell cursor, selection and AutoFill handle
- class SVX_DLLPUBLIC OverlayObjectCell : public OverlayObject
+ class SVX_DLLPUBLIC OverlayObjectCell final : public OverlayObject
{
public:
typedef ::std::vector< basegfx::B2DRange > RangeVector;
diff --git a/include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx b/include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx
index 58f3b94cfd01..c7355a296b72 100644
--- a/include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx
+++ b/include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx
@@ -88,7 +88,7 @@ namespace drawinglayer
{
namespace primitive2d
{
- class SVX_DLLPUBLIC SdrFrameBorderPrimitive2D : public BufferedDecompositionPrimitive2D
+ class SVX_DLLPUBLIC SdrFrameBorderPrimitive2D final : public BufferedDecompositionPrimitive2D
{
private:
std::shared_ptr<SdrFrameBorderDataVector> maFrameBorders;
@@ -97,7 +97,6 @@ namespace drawinglayer
bool mbMergeResult;
bool mbForceToSingleDiscreteUnit;
- protected:
// local decomposition.
virtual void create2DDecomposition(
Primitive2DContainer& rContainer,