summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-02-09 12:34:28 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-02-09 15:01:25 +0100
commit0239f033f77eeaac5ae3d74f2a9cb273cf0bfd41 (patch)
tree2e06398b92ab1ba1e19defc4c328e870fb86d7e4 /sw/inc
parent2b042a343d25294360972492e36cb84e448eb211 (diff)
sw doc model xml dump: show more details of SwTextFootnote
Most importantly the node index of the referred footnote. Change-Id: Ibfa333a57052ffd5c9d7edab960f72041348c9fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110632 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/txatbase.hxx2
-rw-r--r--sw/inc/txtftn.hxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx
index 90509a929309..824f28ff1bd2 100644
--- a/sw/inc/txatbase.hxx
+++ b/sw/inc/txatbase.hxx
@@ -121,7 +121,7 @@ public:
inline const SwFormatINetFormat &GetINetFormat() const;
inline const SwFormatRuby &GetRuby() const;
- void dumpAsXml(xmlTextWriterPtr pWriter) const;
+ virtual void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
class SAL_DLLPUBLIC_RTTI SwTextAttrEnd : public virtual SwTextAttr
diff --git a/sw/inc/txtftn.hxx b/sw/inc/txtftn.hxx
index 9d6aa60ff49b..c451b89e7abe 100644
--- a/sw/inc/txtftn.hxx
+++ b/sw/inc/txtftn.hxx
@@ -64,6 +64,7 @@ public:
sal_uInt16 GetSeqRefNo() const { return m_nSeqNo; }
static void SetUniqueSeqRefNo( SwDoc& rDoc );
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
inline const SwTextNode& SwTextFootnote::GetTextNode() const