[Libreoffice-commits] core.git: xmloff/source
Norbert Thiebaud
nthiebaud at gmail.com
Tue Feb 26 05:14:46 PST 2013
xmloff/source/draw/xexptran.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 1580aa9249a483e51b550a539dd9bff0200f4426
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Thu Feb 21 21:35:33 2013 -0600
coverity#736009 Explicit null dereferenced
Change-Id: If6ae3637f901ed8d424125c19e04f64c3a27c126
Reviewed-on: https://gerrit.libreoffice.org/2325
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx
index 2158444..bb53c66 100644
--- a/xmloff/source/draw/xexptran.cxx
+++ b/xmloff/source/draw/xexptran.cxx
@@ -1610,7 +1610,7 @@ void SdXMLImExSvgDElement::AddPolygon(
for(sal_Int32 a(0L); a < nCnt; a++)
{
- if(!pFlags || drawing::PolygonFlags_CONTROL != *pFlagArray)
+ if(!pFlags || drawing::PolygonFlags_CONTROL != *pFlagArray++)
{
bool bDidWriteAsCurve(false);
@@ -2093,7 +2093,6 @@ void SdXMLImExSvgDElement::AddPolygon(
// next point
pPointArray++;
- pFlagArray++;
}
// close path if closed poly
More information about the Libreoffice-commits
mailing list