[Libreoffice-commits] core.git: 2 commits - editeng/source
Noel Grandin
noel at peralex.com
Wed Sep 21 07:39:12 UTC 2016
editeng/source/editeng/editobj.cxx | 6 +++---
editeng/source/items/numitem.cxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 90fd9bdef5ad4254971e68c2174da470ef3822bc
Author: Noel Grandin <noel at peralex.com>
Date: Wed Sep 21 09:37:15 2016 +0200
loplugin:implicitboolconversion
Change-Id: Id7dafb926a0eb7fae5e481555eae3d35fe795900
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 800f59c..cde00e3 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -695,7 +695,7 @@ void SvxNumRule::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
xmlTextWriterStartElement(pWriter, BAD_CAST("svxNumRule"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("levelCount"), BAD_CAST(OUString::number(nLevelCount).getStr()));
- xmlTextWriterWriteAttribute(pWriter, BAD_CAST("continuousNumbering"), BAD_CAST(OUString::number(bContinuousNumbering).getStr()));
+ xmlTextWriterWriteAttribute(pWriter, BAD_CAST("continuousNumbering"), BAD_CAST(OUString::boolean(bContinuousNumbering).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("numberingType"), BAD_CAST(OUString::number((int)eNumberingType).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("featureFlags"), BAD_CAST(OUString::number((int)nFeatureFlags).getStr()));
for(sal_uInt16 i = 0; i < SVX_MAX_NUM; i++)
commit 3153c581e071188f5487fc805c7916ef8f508d91
Author: Noel Grandin <noel at peralex.com>
Date: Wed Sep 21 09:34:13 2016 +0200
spelling Surregate->Surrogate
Change-Id: Ic7d79036f4e94a487c9b12edb18d6e4098938585
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index 45ec595..6df0e41 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -1091,7 +1091,7 @@ void EditTextObjectImpl::StoreData( SvStream& rOStream ) const
rOStream.WriteBool( bOwnerOfPool );
- // First store the pool, later only the Surregate
+ // First store the pool, later only the Surrogate
if ( bOwnerOfPool )
{
GetPool()->SetFileFormatVersion( SOFFICE_FILEFORMAT_50 );
@@ -1211,7 +1211,7 @@ void EditTextObjectImpl::StoreData( SvStream& rOStream ) const
rOStream.WriteUInt16( nAttribs );
// And the individual attributes
- // Items as Surregate => always 8 bytes per Attribute
+ // Items as Surrogate => always 8 bytes per Attribute
// Which = 2; Surregat = 2; Start = 2; End = 2;
for (size_t nAttr = 0; nAttr < nAttribs; ++nAttr)
{
@@ -1331,7 +1331,7 @@ void EditTextObjectImpl::CreateData( SvStream& rIStream )
}
// And the individual attributes
- // Items as Surregate => always 8 bytes per Attributes
+ // Items as Surrogate => always 8 bytes per Attributes
// Which = 2; Surregat = 2; Start = 2; End = 2;
for (size_t nAttr = 0; nAttr < nAttribs; ++nAttr)
{
More information about the Libreoffice-commits
mailing list