diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 13:21:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 13:47:04 +0100 |
commit | a2c1d602a2fada11ba61bf7c68b20609e13bd243 (patch) | |
tree | 3afdd0777456b58a167d568a93ab4990dcf6e3d2 /sd/source/ui/func/fudraw.cxx | |
parent | f50b76ae8a67ce11275c5de030941edf00ec8223 (diff) |
coverity#708132 Uninitialized scalar field
Change-Id: I24496262cc2101e47b83878dc0c7cef963471a5c
Diffstat (limited to 'sd/source/ui/func/fudraw.cxx')
-rw-r--r-- | sd/source/ui/func/fudraw.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx index 7b0612af17ce..42f457d60b0c 100644 --- a/sd/source/ui/func/fudraw.cxx +++ b/sd/source/ui/func/fudraw.cxx @@ -74,21 +74,20 @@ TYPEINIT1( FuDraw, FuPoor ); * Base-class for all drawmodul-specific functions */ FuDraw::FuDraw(ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, - SdDrawDocument* pDoc, SfxRequest& rReq) : - FuPoor(pViewSh, pWin, pView, pDoc, rReq), - bMBDown(sal_False), - bDragHelpLine(sal_False), - bPermanent(sal_False) + SdDrawDocument* pDoc, SfxRequest& rReq) + : FuPoor(pViewSh, pWin, pView, pDoc, rReq) + , bMBDown(sal_False) + , bDragHelpLine(sal_False) + , nHelpLine(0) + , bPermanent(sal_False) { } - FuDraw::~FuDraw() { mpView->BrkAction(); } - sal_Bool FuDraw::MouseButtonDown(const MouseEvent& rMEvt) { // remember button state for creation of own MouseEvents |