summaryrefslogtreecommitdiff
path: root/include/editeng
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 /include/editeng
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 'include/editeng')
-rw-r--r--include/editeng/brushitem.hxx2
-rw-r--r--include/editeng/charrotateitem.hxx2
-rw-r--r--include/editeng/fhgtitem.hxx2
-rw-r--r--include/editeng/fontitem.hxx2
-rw-r--r--include/editeng/lrspitem.hxx2
-rw-r--r--include/editeng/postitem.hxx2
-rw-r--r--include/editeng/protitem.hxx2
-rw-r--r--include/editeng/rsiditem.hxx2
-rw-r--r--include/editeng/shaditem.hxx2
-rw-r--r--include/editeng/ulspitem.hxx2
-rw-r--r--include/editeng/wghtitem.hxx2
11 files changed, 11 insertions, 11 deletions
diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx
index 16dc38de410c..9a7bb0f6bedd 100644
--- a/include/editeng/brushitem.hxx
+++ b/include/editeng/brushitem.hxx
@@ -128,7 +128,7 @@ public:
static WallpaperStyle GraphicPos2WallpaperStyle( SvxGraphicPosition ePos );
static sal_Int8 TransparencyToPercent(sal_Int32 nTrans);
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
#endif // INCLUDED_EDITENG_BRUSHITEM_HXX
diff --git a/include/editeng/charrotateitem.hxx b/include/editeng/charrotateitem.hxx
index c78cfc69670d..6a88c76c25f0 100644
--- a/include/editeng/charrotateitem.hxx
+++ b/include/editeng/charrotateitem.hxx
@@ -75,7 +75,7 @@ public:
bool IsFitToLine() const { return bFitToLine; }
void SetFitToLine( bool b ) { bFitToLine = b; }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
#endif
diff --git a/include/editeng/fhgtitem.hxx b/include/editeng/fhgtitem.hxx
index 7034dcfdf079..ac3cde46a02f 100644
--- a/include/editeng/fhgtitem.hxx
+++ b/include/editeng/fhgtitem.hxx
@@ -92,7 +92,7 @@ public:
SfxMapUnit GetPropUnit() const { return ePropUnit; } // Percent, Twip, ...
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
#endif
diff --git a/include/editeng/fontitem.hxx b/include/editeng/fontitem.hxx
index 6a2cb8a5dba1..38e7d416152b 100644
--- a/include/editeng/fontitem.hxx
+++ b/include/editeng/fontitem.hxx
@@ -87,7 +87,7 @@ public:
static void EnableStoreUnicodeNames( bool bEnable );
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
EDITENG_DLLPUBLIC void GetDefaultFonts( SvxFontItem& rLatin, SvxFontItem& rAsian,
diff --git a/include/editeng/lrspitem.hxx b/include/editeng/lrspitem.hxx
index ef5d73798bd2..123264e9cd89 100644
--- a/include/editeng/lrspitem.hxx
+++ b/include/editeng/lrspitem.hxx
@@ -126,7 +126,7 @@ public:
{ return nPropFirstLineOfst; }
inline void SetTxtFirstLineOfstValue( const short nValue )
{ nFirstLineOfst = nValue; }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
inline SvxLRSpaceItem &SvxLRSpaceItem::operator=( const SvxLRSpaceItem &rCpy )
diff --git a/include/editeng/postitem.hxx b/include/editeng/postitem.hxx
index 2651415b7586..d8a2b42c6360 100644
--- a/include/editeng/postitem.hxx
+++ b/include/editeng/postitem.hxx
@@ -70,7 +70,7 @@ public:
void SetPosture( FontItalic eNew )
{ SetValue( (sal_uInt16)eNew ); }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
#endif // INCLUDED_EDITENG_POSTITEM_HXX
diff --git a/include/editeng/protitem.hxx b/include/editeng/protitem.hxx
index a21bb6b785a8..66fa1a30d1ca 100644
--- a/include/editeng/protitem.hxx
+++ b/include/editeng/protitem.hxx
@@ -66,7 +66,7 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
inline SvxProtectItem::SvxProtectItem( const sal_uInt16 nId )
diff --git a/include/editeng/rsiditem.hxx b/include/editeng/rsiditem.hxx
index cda36484f8f5..43ba37eaede4 100644
--- a/include/editeng/rsiditem.hxx
+++ b/include/editeng/rsiditem.hxx
@@ -30,7 +30,7 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
#endif // INCLUDED_EDITENG_RSIDITEM_HXX
diff --git a/include/editeng/shaditem.hxx b/include/editeng/shaditem.hxx
index c7761fcae9cb..1e9209b87ae3 100644
--- a/include/editeng/shaditem.hxx
+++ b/include/editeng/shaditem.hxx
@@ -83,7 +83,7 @@ public:
virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const SAL_OVERRIDE;
virtual sal_uInt16 GetEnumValue() const SAL_OVERRIDE;
virtual void SetEnumValue( sal_uInt16 nNewVal ) SAL_OVERRIDE;
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
inline SvxShadowItem &SvxShadowItem::operator=( const SvxShadowItem& rFmtShadow )
diff --git a/include/editeng/ulspitem.hxx b/include/editeng/ulspitem.hxx
index 58aade9613c3..3fd40f0dca03 100644
--- a/include/editeng/ulspitem.hxx
+++ b/include/editeng/ulspitem.hxx
@@ -78,7 +78,7 @@ public:
bool GetContext() const { return bContext; }
sal_uInt16 GetPropUpper() const { return nPropUpper; }
sal_uInt16 GetPropLower() const { return nPropLower; }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
inline SvxULSpaceItem &SvxULSpaceItem::operator=( const SvxULSpaceItem &rCpy )
diff --git a/include/editeng/wghtitem.hxx b/include/editeng/wghtitem.hxx
index 4f0c7956b041..834052674189 100644
--- a/include/editeng/wghtitem.hxx
+++ b/include/editeng/wghtitem.hxx
@@ -70,7 +70,7 @@ public:
void SetWeight( FontWeight eNew )
{ SetValue( (sal_uInt16)eNew ); }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
#endif // INCLUDED_EDITENG_WGHTITEM_HXX