summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-28 10:17:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-28 21:01:20 +0100
commitf23738139429358c11fa62708fbdf5bb0c43d199 (patch)
tree2189f9c923cf2f1299f2e6aa3c55a5207951578e /include/editeng
parentf4fbb127897ea6afe27055d3b6cfcb0441080902 (diff)
use the xmlTextWriterPtr typedef consistently
this is the single biggest chunk of stuff my upcoming paramtypedef loplugin will warn about, so do it separately Change-Id: I412e69e76406d6d947101885d4cd92c65e021508 Reviewed-on: https://gerrit.libreoffice.org/68486 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/brushitem.hxx2
-rw-r--r--include/editeng/charrotateitem.hxx4
-rw-r--r--include/editeng/colritem.hxx2
-rw-r--r--include/editeng/editeng.hxx2
-rw-r--r--include/editeng/editobj.hxx2
-rw-r--r--include/editeng/fhgtitem.hxx2
-rw-r--r--include/editeng/fontitem.hxx2
-rw-r--r--include/editeng/frmdiritem.hxx2
-rw-r--r--include/editeng/lrspitem.hxx2
-rw-r--r--include/editeng/numitem.hxx4
-rw-r--r--include/editeng/outliner.hxx4
-rw-r--r--include/editeng/outlobj.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/tstpitem.hxx4
-rw-r--r--include/editeng/ulspitem.hxx2
-rw-r--r--include/editeng/wghtitem.hxx2
19 files changed, 23 insertions, 23 deletions
diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx
index 2275ed31d68a..10cbc541bf39 100644
--- a/include/editeng/brushitem.hxx
+++ b/include/editeng/brushitem.hxx
@@ -123,7 +123,7 @@ public:
static sal_Int8 TransparencyToPercent(sal_Int32 nTrans);
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
#endif // INCLUDED_EDITENG_BRUSHITEM_HXX
diff --git a/include/editeng/charrotateitem.hxx b/include/editeng/charrotateitem.hxx
index 1c0b82ffc8b8..794ef447c2e9 100644
--- a/include/editeng/charrotateitem.hxx
+++ b/include/editeng/charrotateitem.hxx
@@ -57,7 +57,7 @@ public:
bool IsBottomToTop() const { return 900 == GetValue(); }
bool IsVertical() const { return IsTopToBottom() || IsBottomToTop(); }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
@@ -99,7 +99,7 @@ public:
bool IsFitToLine() const { return bFitToLine; }
void SetFitToLine( bool b ) { bFitToLine = b; }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
#endif
diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx
index 2fb55666e639..9821015d9a49 100644
--- a/include/editeng/colritem.hxx
+++ b/include/editeng/colritem.hxx
@@ -69,7 +69,7 @@ public:
}
void SetValue(const Color& rNewColor);
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
// XXX: to be moved in a separate header.
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index d8144cb41928..96ee1da89532 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -544,7 +544,7 @@ public:
EditDoc& GetEditDoc();
const EditDoc& GetEditDoc() const;
- void dumpAsXmlEditDoc(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXmlEditDoc(xmlTextWriterPtr pWriter) const;
ParaPortionList& GetParaPortions();
const ParaPortionList& GetParaPortions() const;
diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx
index 48d6bcb32415..e9e30bb195f8 100644
--- a/include/editeng/editobj.hxx
+++ b/include/editeng/editobj.hxx
@@ -141,7 +141,7 @@ public:
#if DEBUG_EDIT_ENGINE
void Dump() const;
#endif
- void dumpAsXml(struct _xmlTextWriter * pWriter) const;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
#endif // INCLUDED_EDITENG_EDITOBJ_HXX
diff --git a/include/editeng/fhgtitem.hxx b/include/editeng/fhgtitem.hxx
index c61bd2eaccef..c9e5ae92756f 100644
--- a/include/editeng/fhgtitem.hxx
+++ b/include/editeng/fhgtitem.hxx
@@ -95,7 +95,7 @@ public:
MapUnit GetPropUnit() const { return ePropUnit; } // Percent, Twip, ...
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
#endif
diff --git a/include/editeng/fontitem.hxx b/include/editeng/fontitem.hxx
index 3a226dfd3e3f..0b3dcd570f41 100644
--- a/include/editeng/fontitem.hxx
+++ b/include/editeng/fontitem.hxx
@@ -107,7 +107,7 @@ public:
SvxFontItem& operator=(const SvxFontItem& rFont);
SvxFontItem(SvxFontItem const &) = default; // SfxPoolItem copy function dichotomy
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
EDITENG_DLLPUBLIC void GetDefaultFonts(SvxFontItem& rLatin,
diff --git a/include/editeng/frmdiritem.hxx b/include/editeng/frmdiritem.hxx
index 1ec32483077d..25467ee628b8 100644
--- a/include/editeng/frmdiritem.hxx
+++ b/include/editeng/frmdiritem.hxx
@@ -58,7 +58,7 @@ public:
}
SvxFrameDirectionItem(SvxFrameDirectionItem const &) = default;
// SfxPoolItem copy function dichotomy
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
#endif // INCLUDED_EDITENG_FRMDIRITEM_HXX
diff --git a/include/editeng/lrspitem.hxx b/include/editeng/lrspitem.hxx
index a1b768dda66d..6cc7ad48a3b7 100644
--- a/include/editeng/lrspitem.hxx
+++ b/include/editeng/lrspitem.hxx
@@ -118,7 +118,7 @@ public:
{ return nPropFirstLineOfst; }
void SetTextFirstLineOfstValue( const short nValue )
{ nFirstLineOfst = nValue; }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
inline SvxLRSpaceItem &SvxLRSpaceItem::operator=( const SvxLRSpaceItem &rCpy )
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index d086d3aa7596..ec5671f69d7d 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -269,7 +269,7 @@ public:
SvxNumRule& operator=( const SvxNumRule& );
void Store(SvStream &rStream);
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
const SvxNumberFormat* Get(sal_uInt16 nLevel)const;
const SvxNumberFormat& GetLevel(sal_uInt16 nLevel)const;
void SetLevel(sal_uInt16 nLevel, const SvxNumberFormat& rFmt, bool bIsValid = true);
@@ -310,7 +310,7 @@ public:
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
- virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
class SvxNodeNum
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 718424ae463a..6c8dd7044916 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -167,7 +167,7 @@ private:
bool HasFlag( ParaFlag nFlag ) const { return bool(nFlags & nFlag); }
public:
~Paragraph();
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
struct ParaRange
@@ -663,7 +663,7 @@ public:
Outliner( SfxItemPool* pPool, OutlinerMode nOutlinerMode );
virtual ~Outliner() override;
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
void Init( OutlinerMode nOutlinerMode );
OutlinerMode GetMode() const { return nOutlinerMode; }
diff --git a/include/editeng/outlobj.hxx b/include/editeng/outlobj.hxx
index 8b21c25eb044..38c142c905e3 100644
--- a/include/editeng/outlobj.hxx
+++ b/include/editeng/outlobj.hxx
@@ -105,7 +105,7 @@ public:
void SetStyleSheets(sal_uInt16 nLevel, const OUString& rNewName,
const SfxStyleFamily& rNewFamily);
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
#endif
diff --git a/include/editeng/postitem.hxx b/include/editeng/postitem.hxx
index 82dac5275e2d..4df4ef628d0e 100644
--- a/include/editeng/postitem.hxx
+++ b/include/editeng/postitem.hxx
@@ -69,7 +69,7 @@ public:
FontItalic GetPosture() const
{ return GetValue(); }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
#endif // INCLUDED_EDITENG_POSTITEM_HXX
diff --git a/include/editeng/protitem.hxx b/include/editeng/protitem.hxx
index 1de4c9fd5dfc..bb989e51d86b 100644
--- a/include/editeng/protitem.hxx
+++ b/include/editeng/protitem.hxx
@@ -65,7 +65,7 @@ public:
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
inline SvxProtectItem::SvxProtectItem( const sal_uInt16 nId )
diff --git a/include/editeng/rsiditem.hxx b/include/editeng/rsiditem.hxx
index 4ace56e17e24..eefa63837edc 100644
--- a/include/editeng/rsiditem.hxx
+++ b/include/editeng/rsiditem.hxx
@@ -31,7 +31,7 @@ public:
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
#endif // INCLUDED_EDITENG_RSIDITEM_HXX
diff --git a/include/editeng/shaditem.hxx b/include/editeng/shaditem.hxx
index ee09121c2200..6a7298ae1274 100644
--- a/include/editeng/shaditem.hxx
+++ b/include/editeng/shaditem.hxx
@@ -79,7 +79,7 @@ public:
virtual sal_uInt16 GetValueCount() const override;
virtual sal_uInt16 GetEnumValue() const override;
virtual void SetEnumValue( sal_uInt16 nNewVal ) override;
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
inline SvxShadowItem &SvxShadowItem::operator=( const SvxShadowItem& rFmtShadow )
diff --git a/include/editeng/tstpitem.hxx b/include/editeng/tstpitem.hxx
index 85fcc2286762..e434e9d5a961 100644
--- a/include/editeng/tstpitem.hxx
+++ b/include/editeng/tstpitem.hxx
@@ -77,7 +77,7 @@ public:
bool operator <( const SvxTabStop& rTS ) const
{ return nTabPos < rTS.nTabPos; }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
// class SvxTabStopItem --------------------------------------------------
@@ -143,7 +143,7 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
#endif
diff --git a/include/editeng/ulspitem.hxx b/include/editeng/ulspitem.hxx
index d93aa47d5094..cfcfbb6f330f 100644
--- a/include/editeng/ulspitem.hxx
+++ b/include/editeng/ulspitem.hxx
@@ -77,7 +77,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 override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
inline SvxULSpaceItem &SvxULSpaceItem::operator=( const SvxULSpaceItem &rCpy )
diff --git a/include/editeng/wghtitem.hxx b/include/editeng/wghtitem.hxx
index 3e453362119a..1ad67dfa7166 100644
--- a/include/editeng/wghtitem.hxx
+++ b/include/editeng/wghtitem.hxx
@@ -69,7 +69,7 @@ public:
// enum cast
FontWeight GetWeight() const { return GetValue(); }
- void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
#endif // INCLUDED_EDITENG_WGHTITEM_HXX