summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-09 13:16:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-10 12:13:28 +0100
commit802adf5563d3fb190b7ce964bc10a3792f99ad04 (patch)
tree5ec603af405a4eeba26efb1cba890bdc85f80039
parentcb164b1d115cb848abfba934d44a4d41ff84c6fe (diff)
cppcheck: uselessAssignmentPtrArg
Change-Id: I0b09092b7063b959a9b32ee276c7ae8f8cbb6abc
-rw-r--r--sw/source/filter/xml/xmltexte.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index aaae93503da0..3cfb48dfe073 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -215,7 +215,6 @@ static void lcl_addAspect(
if ( nAspect )
{
*pStates = new XMLPropertyState( rMapper->FindEntryIndex( CTF_OLE_DRAW_ASPECT ), uno::makeAny( nAspect ) );
- pStates++;
}
}
}
@@ -246,7 +245,6 @@ static void lcl_addOutplaceProperties(
aAny <<= (sal_Int32)aSize.Height();
*pStates = new XMLPropertyState( rMapper->FindEntryIndex( CTF_OLE_VIS_AREA_HEIGHT ), aAny );
- pStates++;
}
}
}
@@ -317,7 +315,6 @@ static void lcl_addFrameProperties(
Any aAny2;
aAny <<= nHeight;
*pStates = new XMLPropertyState( rMapper->FindEntryIndex( CTF_FRAME_MARGIN_VERT ), aAny2 );
- pStates++;
}
}