summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-04 10:54:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 12:14:21 +0100
commita7b6623b1f473c631d9d203dc714ca0c03938ac3 (patch)
treedb877a2b2c5dd98401ddfa168486cbee0be8cb5a /forms
parent627b0c682a7d0310daa62b2f47d0d3d8aba3a75e (diff)
coverity#707864 Uninitialized scalar field
Change-Id: Ieb42d64ead25d9e06175a7664d8659e0907d28f1
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/xformsevent.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/forms/source/xforms/xformsevent.hxx b/forms/source/xforms/xformsevent.hxx
index acbffb0e3e37..51b058d03e8c 100644
--- a/forms/source/xforms/xformsevent.hxx
+++ b/forms/source/xforms/xformsevent.hxx
@@ -39,8 +39,14 @@ class XFormsEventConcrete : public cppu::WeakImplHelper1< XFormsEvent > {
typedef com::sun::star::xml::dom::events::PhaseType PhaseType_t;
typedef com::sun::star::util::Time Time_t;
- inline XFormsEventConcrete( void ) : m_canceled(sal_False) {}
- virtual ~XFormsEventConcrete( void ) {}
+ XFormsEventConcrete()
+ : m_canceled(false)
+ , m_phase(com::sun::star::xml::dom::events::PhaseType_CAPTURING_PHASE)
+ , m_bubbles(false)
+ , m_cancelable(false)
+ {
+ }
+ virtual ~XFormsEventConcrete() {}
virtual OUString SAL_CALL getType() throw (RuntimeException_t, std::exception) SAL_OVERRIDE;
virtual XEventTarget_t SAL_CALL getTarget() throw (RuntimeException_t, std::exception) SAL_OVERRIDE;