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 --- svl/source/items/cenumitm.cxx | 2 +- svl/source/items/intitem.cxx | 2 +- svl/source/items/itempool.cxx | 2 +- svl/source/items/itemset.cxx | 2 +- svl/source/items/poolitem.cxx | 4 ++-- svl/source/items/stritem.cxx | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'svl/source/items') diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx index 8603d2b4851a..e31ce2cbbb36 100644 --- a/svl/source/items/cenumitm.cxx +++ b/svl/source/items/cenumitm.cxx @@ -177,7 +177,7 @@ bool SfxBoolItem::GetPresentation(SfxItemPresentation, void SfxBoolItem::dumpAsXml(struct _xmlTextWriter* pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxBoolItem")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxBoolItem")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(GetValueTextByVal(m_bValue).toUtf8().getStr())); xmlTextWriterEndElement(pWriter); diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx index 2b63937dc116..99ef393c15c0 100644 --- a/svl/source/items/intitem.cxx +++ b/svl/source/items/intitem.cxx @@ -123,7 +123,7 @@ SfxPoolItem* SfxUInt16Item::CreateDefault() void SfxUInt16Item::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxUInt16Item")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxUInt16Item")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr())); xmlTextWriterEndElement(pWriter); diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 2af68e1f33ef..c61fec457129 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -992,7 +992,7 @@ const SfxItemPool* SfxItemPool::pStoringPool_ = nullptr; void SfxItemPool::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxItemPool")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxItemPool")); for (auto const & rArrayPtr : pImpl->maPoolItems) if (rArrayPtr) for (auto const & rItem : *rArrayPtr) diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index 524752ccb9a1..4f6465e1875d 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -1634,7 +1634,7 @@ OString SfxItemSet::stringify() const void SfxItemSet::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxItemSet")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxItemSet")); SfxItemIter aIter(*this); for (const SfxPoolItem* pItem = aIter.FirstItem(); pItem; pItem = aIter.NextItem()) pItem->dumpAsXml(pWriter); diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index f7d17e1324ff..e5472063a418 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -191,7 +191,7 @@ bool SfxPoolItem::GetPresentation void SfxPoolItem::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxPoolItem")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxPoolItem")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("typeName"), BAD_CAST(typeid(*this).name())); OUString rText; @@ -247,7 +247,7 @@ bool SfxVoidItem::GetPresentation void SfxVoidItem::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxVoidItem")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxVoidItem")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); xmlTextWriterEndElement(pWriter); } diff --git a/svl/source/items/stritem.cxx b/svl/source/items/stritem.cxx index c00a637b676c..37ed45c4a7f8 100644 --- a/svl/source/items/stritem.cxx +++ b/svl/source/items/stritem.cxx @@ -53,7 +53,7 @@ SfxPoolItem * SfxStringItem::Clone(SfxItemPool *) const void SfxStringItem::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxStringItem")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxStringItem")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(GetValue().toUtf8().getStr())); xmlTextWriterEndElement(pWriter); -- cgit