[Libreoffice-commits] core.git: svx/source
Norbert Thiebaud
nthiebaud at gmail.com
Wed Jun 26 11:22:14 PDT 2013
svx/source/svdraw/svdedtv1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 74c32004c096e8820b6e29092caabde2184c2141
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Wed Jun 26 02:50:38 2013 -0500
coverity#1028107 Dereference before null check
Change-Id: Icc70cc02d1b3b154fc1cab0419d89b437e2a366f
Reviewed-on: https://gerrit.libreoffice.org/4530
Reviewed-by: Michael Stahl <mstahl at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index 85ea67d..e1593e8 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;
More information about the Libreoffice-commits
mailing list