summaryrefslogtreecommitdiff
path: root/include/svx/svdocirc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-23 13:07:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 07:59:06 +0200
commitac45764b05385a51d469fda2e4bf9233904ca5a9 (patch)
tree94605a61e6933b3e8f1d0073b790645f04a51d5e /include/svx/svdocirc.hxx
parentfe22bdc3b537afa8ebcb5cb057542b762c770722 (diff)
loplugin:finalclasses in svx
Change-Id: I74296e2185902498cd569ecde83905f718a41e84 Reviewed-on: https://gerrit.libreoffice.org/43715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdocirc.hxx')
-rw-r--r--include/svx/svdocirc.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/svx/svdocirc.hxx b/include/svx/svdocirc.hxx
index 8385cd96ca97..d3bc9c2116f5 100644
--- a/include/svx/svdocirc.hxx
+++ b/include/svx/svdocirc.hxx
@@ -38,7 +38,7 @@ public:
// class SdrCircObj
-class SVX_DLLPUBLIC SdrCircObj : public SdrRectObj
+class SVX_DLLPUBLIC SdrCircObj final : public SdrRectObj
{
private:
// to allow sdr::properties::CircleProperties access to ImpSetAttrToCircInfo()
@@ -47,15 +47,14 @@ private:
// only for SdrCircleAttributes
SdrObjKind GetCircleKind() const { return meCircleKind; }
-protected:
virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() override;
virtual sdr::properties::BaseProperties* CreateObjectSpecificProperties() override;
SdrObjKind meCircleKind;
long nStartAngle;
long nEndAngle;
-private:
- SVX_DLLPRIVATE basegfx::B2DPolygon ImpCalcXPolyCirc(const SdrObjKind eKind, const tools::Rectangle& rRect1, long nStart, long nEnd) const;
+
+ SVX_DLLPRIVATE basegfx::B2DPolygon ImpCalcXPolyCirc(const SdrObjKind eKind, const tools::Rectangle& rRect1, long nStart, long nEnd) const;
SVX_DLLPRIVATE static void ImpSetCreateParams(SdrDragStat& rStat);
SVX_DLLPRIVATE void ImpSetAttrToCircInfo(); // copy values from pool
SVX_DLLPRIVATE void ImpSetCircInfoToAttr(); // copy values into pool
@@ -64,7 +63,6 @@ private:
SVX_DLLPRIVATE bool PaintNeedsXPolyCirc() const; // PaintNeedsXPoly-> PaintNeedsXPolyCirc
SVX_DLLPRIVATE virtual void RecalcXPoly() override;
-protected:
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override;
public:
@@ -115,7 +113,7 @@ public:
virtual void NbcShear (const Point& rRef, long nAngle, double tn, bool bVShear) override;
virtual SdrObject* DoConvertToPolyObj(bool bBezier, bool bAddText) const override;
-protected:
+private:
virtual SdrObjGeoData* NewGeoData() const override;
virtual void SaveGeoData(SdrObjGeoData& rGeo) const override;
virtual void RestGeoData(const SdrObjGeoData& rGeo) override;