summaryrefslogtreecommitdiffstats
path: root/include/svl/poolitem.hxx
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/svl/poolitem.hxx
parentoox smartart, picture strip: fix too wide child shapes (diff)
downloadcore-f23738139429358c11fa62708fbdf5bb0c43d199.tar.gz
core-f23738139429358c11fa62708fbdf5bb0c43d199.zip
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/poolitem.hxx')
-rw-r--r--include/svl/poolitem.hxx5
1 files changed, 3 insertions, 2 deletions
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;