Kaydet (Commit) 7389140c authored tarafından Julien Nabet's avatar Julien Nabet

Prefer prefix ++/-- operators for non-primitive types

Change-Id: I4028296dd86eef2b8f84cab15eba3c4c15b18c6f
üst 1e088494
...@@ -185,7 +185,7 @@ void SdFiltersTest::testN759180() ...@@ -185,7 +185,7 @@ void SdFiltersTest::testN759180()
CPPUNIT_ASSERT(pULSpace); CPPUNIT_ASSERT(pULSpace);
CPPUNIT_ASSERT_MESSAGE( "Para bottom spacing is wrong!", pULSpace->GetLower() == 0 ); CPPUNIT_ASSERT_MESSAGE( "Para bottom spacing is wrong!", pULSpace->GetLower() == 0 );
aEdit.GetCharAttribs(1, rLst); 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); const SvxFontHeightItem * pFontHeight = dynamic_cast<const SvxFontHeightItem *>((*it).pAttr);
if(pFontHeight) if(pFontHeight)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment