[Libreoffice-commits] .: sd/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Sep 15 15:49:10 PDT 2012
sd/qa/unit/regression-test.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7389140c1a7a2f5b370f0a54f460c70b6fa55261
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Sep 16 00:48:05 2012 +0200
Prefer prefix ++/-- operators for non-primitive types
Change-Id: I4028296dd86eef2b8f84cab15eba3c4c15b18c6f
diff --git a/sd/qa/unit/regression-test.cxx b/sd/qa/unit/regression-test.cxx
index 6d6488c..38d5635 100644
--- a/sd/qa/unit/regression-test.cxx
+++ b/sd/qa/unit/regression-test.cxx
@@ -185,7 +185,7 @@ void SdFiltersTest::testN759180()
CPPUNIT_ASSERT(pULSpace);
CPPUNIT_ASSERT_MESSAGE( "Para bottom spacing is wrong!", pULSpace->GetLower() == 0 );
aEdit.GetCharAttribs(1, rLst);
- for( std::vector<EECharAttrib>::reverse_iterator it = rLst.rbegin(); it!=rLst.rend(); it++)
+ for( std::vector<EECharAttrib>::reverse_iterator it = rLst.rbegin(); it!=rLst.rend(); ++it)
{
const SvxFontHeightItem * pFontHeight = dynamic_cast<const SvxFontHeightItem *>((*it).pAttr);
if(pFontHeight)
More information about the Libreoffice-commits
mailing list