From 84aee1ae9d4e03054dfcf5f8a9f10ecd2b0496b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 16 Mar 2016 09:07:39 +0000 Subject: [PATCH] coverity#1356339 Uninitialized pointer field Change-Id: I3a99a0bcfb58c72b444c7a5596f4bfa53b306025 --- sc/source/ui/inc/checklistmenu.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index a75c299254ce..693de5ef957c 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -251,7 +251,12 @@ class ScSearchEdit : public Edit private: ScTabStops* mpTabStops; public: - ScSearchEdit(Window* pParent) : Edit(pParent) {} + ScSearchEdit(Window* pParent) + : Edit(pParent) + , mpTabStops(nullptr) + { + } + virtual ~ScSearchEdit() {} virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;