summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/pam.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-16 08:59:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-16 09:20:59 +0000
commit72ffa98e892ad1b64ff3a00b1e26a995cba3076f (patch)
tree7e3965fc48d5254a5e71dc96bab0f00521c015ee /sw/source/core/crsr/pam.cxx
parent7cca2c7fb328e64f1779993b60809eff6974b970 (diff)
make the element names in dumpAsXml match the class names
Change-Id: I955facfe3e901fcb76798dab342f96a67d5ac63f Reviewed-on: https://gerrit.libreoffice.org/30894 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/crsr/pam.cxx')
-rw-r--r--sw/source/core/crsr/pam.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index 8c423847d0db..a71e910f64ea 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -180,7 +180,7 @@ SwDoc * SwPosition::GetDoc() const
void SwPosition::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swPosition"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwPosition"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nNode"), BAD_CAST(OString::number(nNode.GetIndex()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nContent"), BAD_CAST(OString::number(nContent.GetIndex()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -1045,7 +1045,7 @@ void SwPaM::InvalidatePaM()
void SwPaM::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swPaM"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwPaM"));
xmlTextWriterStartElement(pWriter, BAD_CAST("point"));
GetPoint()->dumpAsXml(pWriter);