summaryrefslogtreecommitdiff
path: root/sw/inc/fmtornt.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-01-23 09:08:09 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-01-23 09:09:27 +0100
commitea1d8c5ab3183f67c27683133d286725b4fa98bc (patch)
tree6023823a3e188ef2b5acf8ec9f2a39e7ecae9daa /sw/inc/fmtornt.hxx
parent5d47b83cef0b2d0486162989722b23e53eb0cdb1 (diff)
Factor out SfxPoolItem::dumpAsXml() from sw
The primary benefit of this is that it's no longer necessary to manually downcast to each and every subclass in sw. Change-Id: I5742d5744836eef192eef2d4f7ad180da67eb914
Diffstat (limited to 'sw/inc/fmtornt.hxx')
-rw-r--r--sw/inc/fmtornt.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/fmtornt.hxx b/sw/inc/fmtornt.hxx
index 53049313986d..150f61a70f45 100644
--- a/sw/inc/fmtornt.hxx
+++ b/sw/inc/fmtornt.hxx
@@ -63,7 +63,7 @@ public:
SwTwips GetPos() const { return m_nYPos; }
void SetPos( SwTwips nNew ) { m_nYPos = nNew; }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
class SW_DLLPUBLIC SwFmtHoriOrient: public SfxPoolItem
@@ -100,7 +100,7 @@ public:
bool IsPosToggle() const { return bPosToggle; }
void SetPosToggle( bool bNew ) { bPosToggle = bNew; }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
inline SwFmtVertOrient &SwFmtVertOrient::operator=( const SwFmtVertOrient &rCpy )