cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I866665b596a37c1e111fad8afeb9d4cb4d75c257 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109469 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
ad55d51486
commit
95f2c4c639
2 changed files with 3 additions and 3 deletions
|
@ -186,7 +186,7 @@ namespace drawinglayer::primitive2d
|
|||
const bool bMirror(SpreadMethod::Reflect == getSpreadMethod() && 0 != rInt % 2);
|
||||
const SvgGradientEntryVector& rCurrent(bMirror ? getMirroredGradientEntries() : getGradientEntries());
|
||||
|
||||
for(SvgGradientEntryVector::const_reverse_iterator aIter(rCurrent.rbegin()); aIter != rCurrent.rend(); aIter++)
|
||||
for(SvgGradientEntryVector::const_reverse_iterator aIter(rCurrent.rbegin()); aIter != rCurrent.rend(); ++aIter)
|
||||
{
|
||||
if(basegfx::fTools::lessOrEqual(aIter->getOffset(), fFrac))
|
||||
{
|
||||
|
@ -208,7 +208,7 @@ namespace drawinglayer::primitive2d
|
|||
const bool bMirror(SpreadMethod::Reflect == getSpreadMethod() && 0 != rInt % 2);
|
||||
const SvgGradientEntryVector& rCurrent(bMirror ? getMirroredGradientEntries() : getGradientEntries());
|
||||
|
||||
for(SvgGradientEntryVector::const_iterator aIter(rCurrent.begin()); aIter != rCurrent.end(); aIter++)
|
||||
for(SvgGradientEntryVector::const_iterator aIter(rCurrent.begin()); aIter != rCurrent.end(); ++aIter)
|
||||
{
|
||||
if(basegfx::fTools::more(aIter->getOffset(), fFrac))
|
||||
{
|
||||
|
|
|
@ -203,7 +203,7 @@ void SwFrameControlsManager::SetOutlineContentVisibilityButtons()
|
|||
it = m_aTextNodeContentFrameMap.erase(it);
|
||||
}
|
||||
else
|
||||
it++;
|
||||
++it;
|
||||
}
|
||||
for (SwNode* pNd : m_pEditWin->GetView().GetWrtShell().GetNodes().GetOutLineNds())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue