summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-11 11:27:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-11 14:11:19 +0100
commit7cb1e9524c401fbec11e809680a75f66305cdf4a (patch)
tree88c1f46a8fc6a5882284091ab67e540efcb44f04 /svx
parentae8c9fc30708f5f34158daebf23830e6bd401067 (diff)
coverity#708369 Uninitialized scalar field
Change-Id: Ia790356cdbddd1db06f04eef4515d120b8344d37
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svddrgmt.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index bbb6c4790919..34be0e161b12 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -1513,7 +1513,11 @@ void SdrDragMove::applyCurrentTransformationToSdrObject(SdrObject& rTarget)
}
SdrDragMove::SdrDragMove(SdrDragView& rNewView)
-: SdrDragMethod(rNewView)
+ : SdrDragMethod(rNewView)
+ , nBestXSnap(0)
+ , nBestYSnap(0)
+ , bXSnapped(false)
+ , bYSnapped(false)
{
setMoveOnly(true);
}