cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: If1bd91f28a96bd0eb53e4057e51db900f8b2c52b
This commit is contained in:
parent
2f527be551
commit
30eb11ea79
@ -303,7 +303,7 @@ void GalleryThemePopup::ExecutePopup( Window *pWindow, const ::Point &aPos )
|
||||
css::uno::Reference< css::util::XURLTransformer > xTransformer(
|
||||
mpBrowser->GetURLTransformer() );
|
||||
for ( CommandInfoMap::iterator it = m_aCommandInfo.begin();
|
||||
it != m_aCommandInfo.end(); it++ )
|
||||
it != m_aCommandInfo.end(); ++it )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -163,13 +163,13 @@ public:
|
||||
if(aIter->second)
|
||||
{
|
||||
aIter->second--;
|
||||
aIter++;
|
||||
++aIter;
|
||||
}
|
||||
else
|
||||
{
|
||||
EntryMap::iterator aDelete(aIter);
|
||||
WinSalBitmap* pSource = aDelete->first;
|
||||
aIter++;
|
||||
++aIter;
|
||||
maEntries.erase(aDelete);
|
||||
|
||||
if(maEntries.empty())
|
||||
|
@ -146,7 +146,7 @@ bool DomainMapperTableManager::sprm(Sprm & rSprm)
|
||||
{
|
||||
// Step 1. Check whether all cells have fixed widths in the given row of table.
|
||||
::std::vector< IntVectorPtr >::iterator itr;
|
||||
for (itr = m_aCellWidths.begin(); itr != m_aCellWidths.end(); itr ++)
|
||||
for (itr = m_aCellWidths.begin(); itr != m_aCellWidths.end(); ++itr )
|
||||
{
|
||||
IntVectorPtr itrVal = (*itr);
|
||||
for (std::vector<sal_Int32>::const_iterator aValIter = itrVal->begin(); aValIter != itrVal->end(); ++aValIter)
|
||||
|
@ -866,7 +866,7 @@ void SchXMLSeries2Context::setStylesToRegressionCurves(
|
||||
std::list< RegressionStyle >::iterator iStyle;
|
||||
|
||||
// iterate over regession etc
|
||||
for( iStyle = rSeriesDefaultsAndStyles.maRegressionStyleList.begin(); iStyle != rSeriesDefaultsAndStyles.maRegressionStyleList.end(); iStyle++ )
|
||||
for( iStyle = rSeriesDefaultsAndStyles.maRegressionStyleList.begin(); iStyle != rSeriesDefaultsAndStyles.maRegressionStyleList.end(); ++iStyle )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user