diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-25 14:02:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-25 17:03:50 +0000 |
commit | 729f40f0359bcaa311c7d0067c84e7755286d261 (patch) | |
tree | 3ba5bbebf40ebeb7a94166b84f4ce3f6b829c8dc /sd/source/ui/view/sdruler.cxx | |
parent | 80450fe68f193c69a49bdd0f9b40dac8f1b9f407 (diff) |
coverity#738830 Uninitialized pointer field
Change-Id: I82b0c24957761573e0870b11b7b1ddb3553119c4
Diffstat (limited to 'sd/source/ui/view/sdruler.cxx')
-rw-r--r-- | sd/source/ui/view/sdruler.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sd/source/ui/view/sdruler.cxx b/sd/source/ui/view/sdruler.cxx index 66bed37aa4ec..dc1943f1847c 100644 --- a/sd/source/ui/view/sdruler.cxx +++ b/sd/source/ui/view/sdruler.cxx @@ -73,9 +73,10 @@ void RulerCtrlItem::StateChanged( sal_uInt16 nSId, SfxItemState, const SfxPoolIt Ruler::Ruler( DrawViewShell& rViewSh, ::Window* pParent, ::sd::Window* pWin, sal_uInt16 nRulerFlags, SfxBindings& rBindings, WinBits nWinStyle) -: SvxRuler(pParent, pWin, nRulerFlags, rBindings, nWinStyle) -, pSdWin(pWin) -, pDrViewShell(&rViewSh) + : SvxRuler(pParent, pWin, nRulerFlags, rBindings, nWinStyle) + , pSdView(NULL) + , pSdWin(pWin) + , pDrViewShell(&rViewSh) { rBindings.EnterRegistrations(); pCtrlItem = new RulerCtrlItem(SID_RULER_NULL_OFFSET, *this, rBindings); |