summaryrefslogtreecommitdiff
path: root/include/svl/undo.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/undo.hxx
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/svl/undo.hxx')
-rw-r--r--include/svl/undo.hxx7
1 files changed, 4 insertions, 3 deletions
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 );