summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-06-26 02:50:38 -0500
committerMichael Stahl <mstahl@redhat.com>2013-06-26 18:21:54 +0000
commit74c32004c096e8820b6e29092caabde2184c2141 (patch)
treefe197a422b82cb60b9cd8f268fd000031f8f4203
parent30414067f81e23b69fd9b0f7ec07cbdd65712b0c (diff)
coverity#1028107 Dereference before null check
Change-Id: Icc70cc02d1b3b154fc1cab0419d89b437e2a366f Reviewed-on: https://gerrit.libreoffice.org/4530 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--svx/source/svdraw/svdedtv1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index 85ea67dafe7b..e1593e8704fa 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -1395,7 +1395,7 @@ SfxItemSet SdrEditView::GetGeoAttrFromMarked() const
aRect.Left(), aRect.Top(),
aRect.getWidth(), aRect.getHeight());
}
- else if(pObj)
+ else
{
// single object, get homogen transformation
basegfx::B2DPolyPolygon aPolyPolygon;