summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2016-12-19 05:38:09 +0100
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-12-22 23:54:22 +0000
commit7a1add76d542e9929c1feab9e06949990e236616 (patch)
tree86ff92bc1e55b44a53da02dc5db9185483ea581e /sw
parent14aeace3a192219b2aba1586c09806a482d89ee0 (diff)
IsDraw() isnt called anymore
Change-Id: I6b2fc84886f7812e4f84cd994b1335dcf37576c1 Reviewed-on: https://gerrit.libreoffice.org/32150 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/porfly.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx
index 0e3d6fdf7a9f..fdedd26d7123 100644
--- a/sw/source/core/text/porfly.hxx
+++ b/sw/source/core/text/porfly.hxx
@@ -62,7 +62,6 @@ public:
void SetBase(const SwTextFrame& rFrame, const Point& rBase, long nLnAscent, long nLnDescent, long nFlyAscent, long nFlyDescent, AsCharFlags nFlags);
virtual bool Format(SwTextFormatInfo& rInf) override;
OUTPUT_OPERATOR_OVERRIDE
- virtual bool IsDraw() const =0;
virtual ~SwFlyCntPortion() override {};
};
@@ -78,7 +77,6 @@ namespace sw
inline SwFlyInContentFrame *GetFlyFrame() { return m_pFly; }
inline const SwFlyInContentFrame *GetFlyFrame() const { return m_pFly; }
void GetFlyCursorOfst(Point& rPoint, SwPosition& rPos, SwCursorMoveState* pCMS) const { m_pFly->GetCursorOfst(&rPos, rPoint, pCMS); };
- virtual bool IsDraw() const override { return false; }
virtual void Paint(const SwTextPaintInfo& rInf) const override;
virtual ~FlyContentPortion() override;
};
@@ -91,7 +89,6 @@ namespace sw
static DrawFlyCntPortion* Create(const SwTextFrame& rFrame, SwDrawContact* pDrawContact, const Point& rBase, long nAsc, long nDescent, long nFlyAsc, long nFlyDesc, AsCharFlags nFlags);
inline SwDrawContact* GetDrawContact() { return m_pContact; }
inline const SwDrawContact* GetDrawContact() const { return m_pContact; }
- virtual bool IsDraw() const override { return true; }
virtual void Paint(const SwTextPaintInfo& rInf) const override;
virtual ~DrawFlyCntPortion() override;
};