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