From de0309581b2a539e8ccf370ff0f054a56dba1c11 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 31 Mar 2014 20:46:31 +0100 Subject: coverity#708140 Uninitialized pointer field Change-Id: Icd313899ea9e70d398a5bc450960e94eafbed055 --- sd/source/ui/unoidl/unosrch.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sd/source/ui/unoidl/unosrch.cxx') diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx index 538150dd128c..99b058af89fe 100644 --- a/sd/source/ui/unoidl/unosrch.cxx +++ b/sd/source/ui/unoidl/unosrch.cxx @@ -88,8 +88,9 @@ public: */ SdUnoSearchReplaceShape::SdUnoSearchReplaceShape( drawing::XDrawPage* pPage ) throw() + : mpShape(NULL) + , mpPage(pPage) { - mpPage = pPage; } SdUnoSearchReplaceShape::~SdUnoSearchReplaceShape() throw() -- cgit