summaryrefslogtreecommitdiff
path: root/editeng/source/outliner
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 /editeng/source/outliner
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 'editeng/source/outliner')
-rw-r--r--editeng/source/outliner/outliner.cxx2
-rw-r--r--editeng/source/outliner/outlobj.cxx2
-rw-r--r--editeng/source/outliner/paralist.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index ccd8b9a99e48..a77e88199fa4 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -2184,7 +2184,7 @@ void Outliner::dumpAsXml(struct _xmlTextWriter* pWriter) const
bOwns = true;
}
- xmlTextWriterStartElement(pWriter, BAD_CAST("outliner"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("Outliner"));
pParaList->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/editeng/source/outliner/outlobj.cxx b/editeng/source/outliner/outlobj.cxx
index 209d6d0842ef..3eba88e27435 100644
--- a/editeng/source/outliner/outlobj.cxx
+++ b/editeng/source/outliner/outlobj.cxx
@@ -225,7 +225,7 @@ void OutlinerParaObject::SetStyleSheets(sal_uInt16 nLevel, const OUString& rNewN
void OutlinerParaObject::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("outlinerParaObject"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("OutlinerParaObject"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
mpImpl->mpEditTextObject->dumpAsXml(pWriter);
for (Paragraph const & p : mpImpl->maParagraphDataVector)
diff --git a/editeng/source/outliner/paralist.cxx b/editeng/source/outliner/paralist.cxx
index 544da1e5c71d..61251922d3bc 100644
--- a/editeng/source/outliner/paralist.cxx
+++ b/editeng/source/outliner/paralist.cxx
@@ -99,7 +99,7 @@ void Paragraph::SetParaIsNumberingRestart( bool bParaIsNumberingRestart )
void Paragraph::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("paragraph"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("Paragraph"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("nDepth"), "%" SAL_PRIdINT32, (sal_Int32)nDepth);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("mnNumberingStartValue"), "%" SAL_PRIdINT32, (sal_Int32)mnNumberingStartValue);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("mbParaIsNumberingRestart"), "%" SAL_PRIdINT32, (sal_Int32)mbParaIsNumberingRestart);
@@ -266,7 +266,7 @@ sal_Int32 ParagraphList::GetAbsPos( Paragraph* pParent ) const
void ParagraphList::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("paragraphList"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("ParagraphList"));
for (const Paragraph* pParagraph : maEntries)
pParagraph->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);