summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/source/sdr/properties/defaultproperties.cxx2
-rw-r--r--svx/source/svdraw/svdmodel.cxx2
-rw-r--r--svx/source/svdraw/svdobj.cxx2
-rw-r--r--svx/source/svdraw/svdogrp.cxx2
-rw-r--r--svx/source/svdraw/svdpage.cxx2
-rw-r--r--svx/source/svdraw/svdtext.cxx2
-rw-r--r--svx/source/table/cell.cxx2
-rw-r--r--svx/source/table/svdotable.cxx4
-rw-r--r--svx/source/table/tablelayouter.cxx4
-rw-r--r--svx/source/table/tablemodel.cxx2
-rw-r--r--svx/source/xoutdev/xattr.cxx6
-rw-r--r--svx/source/xoutdev/xattr2.cxx8
-rw-r--r--svx/source/xoutdev/xattrbmp.cxx2
13 files changed, 20 insertions, 20 deletions
diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx
index b048d37d832b..3904ef5c6f20 100644
--- a/svx/source/sdr/properties/defaultproperties.cxx
+++ b/svx/source/sdr/properties/defaultproperties.cxx
@@ -222,7 +222,7 @@ namespace sdr
void DefaultProperties::dumpAsXml(struct _xmlTextWriter * pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("defaultProperties"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("DefaultProperties"));
mpItemSet->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
}
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index dab3a8659519..131d2ad5eb65 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -2055,7 +2055,7 @@ void SdrModel::SetSdrUndoFactory( SdrUndoFactory* pUndoFactory )
void SdrModel::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrModel"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrModel"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
sal_uInt16 nPageCount = GetPageCount();
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 39dd1b3db3f2..f87ecd1b6276 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -1730,7 +1730,7 @@ OString SdrObject::stringify() const
void SdrObject::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrObject"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrObject"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("symbol"), "%s", BAD_CAST(typeid(*this).name()));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("name"), "%s", BAD_CAST(GetName().toUtf8().getStr()));
diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx
index 9eff848f22e2..548b499348da 100644
--- a/svx/source/svdraw/svdogrp.cxx
+++ b/svx/source/svdraw/svdogrp.cxx
@@ -754,7 +754,7 @@ SdrObject* SdrObjGroup::DoConvertToPolyObj(bool bBezier, bool bAddText) const
void SdrObjGroup::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrObjGroup"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrObjGroup"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
SdrObject::dumpAsXml(pWriter);
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index a45a446d28ac..c24ee3560094 100644
--- a/svx/source/svdraw/svdpage.cxx
+++ b/svx/source/svdraw/svdpage.cxx
@@ -980,7 +980,7 @@ void SdrObjList::RemoveObjectFromContainer (
void SdrObjList::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrObjList"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrObjList"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("symbol"), "%s", BAD_CAST(typeid(*this).name()));
diff --git a/svx/source/svdraw/svdtext.cxx b/svx/source/svdraw/svdtext.cxx
index 64e94b2516cf..0390a58e2c32 100644
--- a/svx/source/svdraw/svdtext.cxx
+++ b/svx/source/svdraw/svdtext.cxx
@@ -204,7 +204,7 @@ SfxStyleSheet* SdrText::GetStyleSheet() const
void SdrText::dumpAsXml(struct _xmlTextWriter * pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrText"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrText"));
mpOutlinerParaObject->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
}
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index 38a29c2091d8..5eaa3f99b5b9 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -1644,7 +1644,7 @@ void SAL_CALL Cell::disposing( const EventObject& /*Source*/ ) throw (RuntimeExc
void Cell::dumpAsXml(struct _xmlTextWriter * pWriter, sal_Int32 nRow, sal_Int32 nCol) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("cell"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("Cell"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("row"), "%" SAL_PRIdINT32, nRow);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("col"), "%" SAL_PRIdINT32, nCol);
SdrText::dumpAsXml(pWriter);
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index 53f7a3bb8a9e..2c8a9907c967 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -632,7 +632,7 @@ bool SdrTableObjImpl::isInUse()
void SdrTableObjImpl::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrTableObjImpl"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTableObjImpl"));
if (mpLayouter)
mpLayouter->dumpAsXml(pWriter);
mxTable->dumpAsXml(pWriter);
@@ -2457,7 +2457,7 @@ void SdrTableObj::uno_unlock()
void SdrTableObj::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrTableObj"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTableObj"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
SdrObject::dumpAsXml(pWriter);
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx
index 9ad0447684e6..e90c19999fcf 100644
--- a/svx/source/table/tablelayouter.cxx
+++ b/svx/source/table/tablelayouter.cxx
@@ -1124,7 +1124,7 @@ void TableLayouter::DistributeRows( ::Rectangle& rArea, sal_Int32 nFirstRow, sal
void TableLayouter::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("tableLayouter"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("TableLayouter"));
xmlTextWriterStartElement(pWriter, BAD_CAST("columns"));
for (const auto& rColumn : maColumns)
@@ -1141,7 +1141,7 @@ void TableLayouter::dumpAsXml(xmlTextWriterPtr pWriter) const
void TableLayouter::Layout::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("layout"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("TableLayouter_Layout"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("pos"), BAD_CAST(OString::number(mnPos).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("size"), BAD_CAST(OString::number(mnSize).getStr()));
diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx
index 65ee911f4bb2..b0274ad65a67 100644
--- a/svx/source/table/tablemodel.cxx
+++ b/svx/source/table/tablemodel.cxx
@@ -1126,7 +1126,7 @@ void TableModel::updateColumns()
void TableModel::dumpAsXml(struct _xmlTextWriter * pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("tableModel"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("TableModel"));
for (sal_Int32 nRow = 0; nRow < getRowCountImpl(); ++nRow)
for (sal_Int32 nCol = 0; nCol < getColumnCountImpl(); ++nCol)
{
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 5aeb6306b737..73eb20dc5ba1 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -260,7 +260,7 @@ OUString NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_u
void NameOrIndex::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("nameOrIndex"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("NameOrIndex"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("isIndex"), BAD_CAST(OString::boolean(IsIndex()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr()));
@@ -2203,7 +2203,7 @@ bool XFillStyleItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nMemberId*
void XFillStyleItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillStyleItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillStyleItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr()));
@@ -2273,7 +2273,7 @@ bool XFillColorItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nMemberId*
void XFillColorItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillColorItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillColorItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(GetColorValue().AsRGBHexString().toUtf8().getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/svx/source/xoutdev/xattr2.cxx b/svx/source/xoutdev/xattr2.cxx
index 16a503fe33b7..0307e31b8431 100644
--- a/svx/source/xoutdev/xattr2.cxx
+++ b/svx/source/xoutdev/xattr2.cxx
@@ -442,7 +442,7 @@ bool XFillTransparenceItem::GetPresentation
void XFillTransparenceItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillTransparenceItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillTransparenceItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -546,7 +546,7 @@ bool XFillBmpTileItem::GetPresentation
void XFillBmpTileItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillBmpTileItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillBmpTileItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -596,7 +596,7 @@ sal_uInt16 XFillBmpPosItem::GetValueCount() const
void XFillBmpPosItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillBmpPosItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillBmpPosItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number((int)GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -830,7 +830,7 @@ bool XFillBmpStretchItem::GetPresentation
void XFillBmpStretchItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillBmpStretchItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillBmpStretchItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx
index d4f6af4229b6..49186fe1673d 100644
--- a/svx/source/xoutdev/xattrbmp.cxx
+++ b/svx/source/xoutdev/xattrbmp.cxx
@@ -544,7 +544,7 @@ XFillBitmapItem* XFillBitmapItem::checkForUniqueItem( SdrModel* pModel ) const
void XFillBitmapItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillBitmapItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillBitmapItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
NameOrIndex::dumpAsXml(pWriter);