summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unosrch.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 20:46:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-01 10:38:23 +0100
commitde0309581b2a539e8ccf370ff0f054a56dba1c11 (patch)
tree6987a31870c8d4b345e4a26b55f0070f71ff3f66 /sd/source/ui/unoidl/unosrch.cxx
parentb3ef6e07f8c3fd686208264d9514a63c8475915c (diff)
coverity#708140 Uninitialized pointer field
Change-Id: Icd313899ea9e70d398a5bc450960e94eafbed055
Diffstat (limited to 'sd/source/ui/unoidl/unosrch.cxx')
-rw-r--r--sd/source/ui/unoidl/unosrch.cxx3
1 files changed, 2 insertions, 1 deletions
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()