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 /editeng/source/items/numitem.cxx | |
parent | new loplugin finalprotected (diff) | |
download | core-72ffa98e892ad1b64ff3a00b1e26a995cba3076f.tar.gz core-72ffa98e892ad1b64ff3a00b1e26a995cba3076f.zip |
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/items/numitem.cxx')
-rw-r--r-- | editeng/source/items/numitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index ad62a5cf38ca..3d7a3b438ab1 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -686,7 +686,7 @@ void SvxNumRule::Store( SvStream &rStream ) void SvxNumRule::dumpAsXml(struct _xmlTextWriter* pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("svxNumRule")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SvxNumRule")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("levelCount"), BAD_CAST(OUString::number(nLevelCount).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("continuousNumbering"), BAD_CAST(OUString::boolean(bContinuousNumbering).getStr())); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("numberingType"), BAD_CAST(OUString::number((int)eNumberingType).getStr())); @@ -981,7 +981,7 @@ bool SvxNumBulletItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nMemberI void SvxNumBulletItem::dumpAsXml(struct _xmlTextWriter* pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("svxNumBulletItem")); + xmlTextWriterStartElement(pWriter, BAD_CAST("SvxNumBulletItem")); xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); pNumRule->dumpAsXml(pWriter); xmlTextWriterEndElement(pWriter); |