From 72ffa98e892ad1b64ff3a00b1e26a995cba3076f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Nov 2016 08:59:00 +0200 Subject: make the element names in dumpAsXml match the class names Change-Id: I955facfe3e901fcb76798dab342f96a67d5ac63f Reviewed-on: https://gerrit.libreoffice.org/30894 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/uiview/viewprt.cxx | 2 +- sw/source/uibase/utlui/attrdesc.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase') diff --git a/sw/source/uibase/uiview/viewprt.cxx b/sw/source/uibase/uiview/viewprt.cxx index 213e0f928a58..5a0ff3d15fbd 100644 --- a/sw/source/uibase/uiview/viewprt.cxx +++ b/sw/source/uibase/uiview/viewprt.cxx @@ -262,7 +262,7 @@ int SwView::getPart() const void SwView::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("swView")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SwView")); SfxViewShell::dumpAsXml(pWriter); if (m_pWrtShell) m_pWrtShell->dumpAsXml(pWriter); diff --git a/sw/source/uibase/utlui/attrdesc.cxx b/sw/source/uibase/utlui/attrdesc.cxx index 3fee54c3e7ae..2f04918f51eb 100644 --- a/sw/source/uibase/utlui/attrdesc.cxx +++ b/sw/source/uibase/utlui/attrdesc.cxx @@ -548,7 +548,7 @@ bool SwFormatEditInReadonly::GetPresentation void SwFormatEditInReadonly::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatEditInReadonly")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatEditInReadonly")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr())); xmlTextWriterEndElement(pWriter); @@ -842,7 +842,7 @@ bool SwFormatFollowTextFlow::GetPresentation( SfxItemPresentation ePres, void SwFormatFollowTextFlow::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatFollowTextFlow")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatFollowTextFlow")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr())); xmlTextWriterEndElement(pWriter); -- cgit