diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-28 10:17:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-28 21:01:20 +0100 |
commit | f23738139429358c11fa62708fbdf5bb0c43d199 (patch) | |
tree | 2189f9c923cf2f1299f2e6aa3c55a5207951578e /include/svl | |
parent | f4fbb127897ea6afe27055d3b6cfcb0441080902 (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/svl')
-rw-r--r-- | include/svl/eitem.hxx | 2 | ||||
-rw-r--r-- | include/svl/intitem.hxx | 6 | ||||
-rw-r--r-- | include/svl/itempool.hxx | 2 | ||||
-rw-r--r-- | include/svl/itemset.hxx | 2 | ||||
-rw-r--r-- | include/svl/poolitem.hxx | 5 | ||||
-rw-r--r-- | include/svl/stritem.hxx | 2 | ||||
-rw-r--r-- | include/svl/undo.hxx | 7 |
7 files changed, 14 insertions, 12 deletions
diff --git a/include/svl/eitem.hxx b/include/svl/eitem.hxx index eb488f65b251..268df41d6f4a 100644 --- a/include/svl/eitem.hxx +++ b/include/svl/eitem.hxx @@ -107,7 +107,7 @@ public: const IntlWrapper&) const override; - virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const override; + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override; virtual bool QueryValue(css::uno::Any& rVal, sal_uInt8 = 0) const override; diff --git a/include/svl/intitem.hxx b/include/svl/intitem.hxx index 165fabae8da9..a4c14ebd863f 100644 --- a/include/svl/intitem.hxx +++ b/include/svl/intitem.hxx @@ -100,7 +100,7 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = nullptr) const override { return new SfxUInt16Item(*this); } - void dumpAsXml(struct _xmlTextWriter* pWriter) const override; + void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; @@ -121,7 +121,7 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = nullptr) const override { return new SfxInt32Item(*this); } - void dumpAsXml(struct _xmlTextWriter* pWriter) const override; + void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; @@ -142,7 +142,7 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = nullptr) const override { return new SfxUInt32Item(*this); } - void dumpAsXml(struct _xmlTextWriter* pWriter) const override; + void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; #endif // INCLUDED_SVL_INTITEM_HXX diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index 155b85500b64..e865c9396f37 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -188,7 +188,7 @@ public: static bool IsSlot(sal_uInt16 nId) { return nId && nId > SFX_WHICH_MAX; } - void dumpAsXml(struct _xmlTextWriter* pWriter) const; + void dumpAsXml(xmlTextWriterPtr pWriter) const; private: const SfxItemPool& operator=(const SfxItemPool &) = delete; diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx index ba21e61ff1f8..0c3acdf549dd 100644 --- a/include/svl/itemset.hxx +++ b/include/svl/itemset.hxx @@ -227,7 +227,7 @@ public: */ bool Equals(const SfxItemSet &, bool bComparePool) const; - void dumpAsXml(struct _xmlTextWriter* pWriter) const; + void dumpAsXml(xmlTextWriterPtr pWriter) const; }; inline void SfxItemSet::SetParent( const SfxItemSet* pNew ) diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx index d812f865411e..c1c017c13f44 100644 --- a/include/svl/poolitem.hxx +++ b/include/svl/poolitem.hxx @@ -111,6 +111,7 @@ enum class SfxItemState { class SfxItemPool; class SfxItemSet; +typedef struct _xmlTextWriter* xmlTextWriterPtr; class SVL_DLLPUBLIC SfxPoolItem { @@ -177,7 +178,7 @@ public: sal_uInt32 GetRefCount() const { return m_nRefCount; } SfxItemKind GetKind() const { return m_nKind; } - virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const; + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const; /** Only SfxVoidItem shall and must return true for this. @@ -261,7 +262,7 @@ public: MapUnit ePresMetric, OUString &rText, const IntlWrapper& ) const override; - virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const override; + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override; // create a copy of itself virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; diff --git a/include/svl/stritem.hxx b/include/svl/stritem.hxx index 3d5a2c1a0eda..2103e917ee13 100644 --- a/include/svl/stritem.hxx +++ b/include/svl/stritem.hxx @@ -42,7 +42,7 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = nullptr) const override; - void dumpAsXml(struct _xmlTextWriter* pWriter) const override; + void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx index c2862b886c6f..22e180570268 100644 --- a/include/svl/undo.hxx +++ b/include/svl/undo.hxx @@ -28,6 +28,7 @@ #include <vector> typedef o3tl::strong_int<sal_Int32, struct ViewShellIdTag> ViewShellId; +typedef struct _xmlTextWriter* xmlTextWriterPtr; class SVL_DLLPUBLIC SfxRepeatTarget { @@ -64,7 +65,7 @@ public: virtual ViewShellId GetViewShellId() const; /// Timestamp when this undo item was created. const DateTime& GetDateTime() const; - virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const; + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const; private: SfxUndoAction( const SfxUndoAction& ) = delete; @@ -146,7 +147,7 @@ public: sal_uInt16 GetId() const; void SetComment(const OUString& rComment); - void dumpAsXml(struct _xmlTextWriter* pWriter) const override; + void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; @@ -291,7 +292,7 @@ public: */ void RemoveOldestUndoAction(); - void dumpAsXml(struct _xmlTextWriter* pWriter) const; + void dumpAsXml(xmlTextWriterPtr pWriter) const; protected: bool UndoWithContext( SfxUndoContext& i_context ); |