diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-16 08:59:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-16 09:20:59 +0000 |
commit | 72ffa98e892ad1b64ff3a00b1e26a995cba3076f (patch) | |
tree | 7e3965fc48d5254a5e71dc96bab0f00521c015ee /svl | |
parent | 7cca2c7fb328e64f1779993b60809eff6974b970 (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 'svl')
-rw-r--r-- | svl/source/items/cenumitm.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/intitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/itempool.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/itemset.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/poolitem.cxx | 4 | ||||
-rw-r--r-- | svl/source/items/stritem.cxx | 2 | ||||
-rw-r--r-- | svl/source/undo/undo.cxx | 6 |
7 files changed, 10 insertions, 10 deletions
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); diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index b0932c9d8e6d..2a7d357ab9aa 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -133,7 +133,7 @@ bool SfxUndoAction::CanRepeat(SfxRepeatTarget&) const void SfxUndoAction::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxUndoAction")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxUndoAction")); xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("symbol"), BAD_CAST(typeid(*this).name())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("comment"), BAD_CAST(GetComment().toUtf8().getStr())); @@ -1275,7 +1275,7 @@ void SfxUndoManager::dumpAsXml(xmlTextWriterPtr pWriter) const bOwns = true; } - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxUndoManager")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxUndoManager")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nUndoActionCount"), BAD_CAST(OString::number(GetUndoActionCount()).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nRedoActionCount"), BAD_CAST(OString::number(GetRedoActionCount()).getStr())); @@ -1460,7 +1460,7 @@ bool SfxListUndoAction::Merge( SfxUndoAction *pNextAction ) void SfxListUndoAction::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("sfxListUndoAction")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SfxListUndoAction")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("size"), BAD_CAST(OString::number(aUndoActions.size()).getStr())); SfxUndoAction::dumpAsXml(pWriter); |