coverity#1356339 Uninitialized pointer field

Change-Id: I3a99a0bcfb58c72b444c7a5596f4bfa53b306025
This commit is contained in:
Caolán McNamara 2016-03-16 09:07:39 +00:00
parent 1c122eb61d
commit 84aee1ae9d

View File

@ -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;