summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-06 13:25:44 +0000
committerFridrich Strba <fridrich@documentfoundation.org>2014-02-06 15:18:22 +0000
commit47350a7466656bc5d34f17dc3f5eb4a673131fba (patch)
tree5b1b5efc5f2bc390731213314ae05f54aa1d47c5 /extensions
parentde82da1b67ce3a293b3ad45030d591cc3b3e12b4 (diff)
coverity#707771 coverity gold, Uninitialized m_refCount
Change-Id: I98398a3cd7a86a5f31c711f7f1cff0d467a1d2e5 (cherry picked from commit eb07ab05c3b8774ab2b2059befef0eadf61c97d6) Reviewed-on: https://gerrit.libreoffice.org/7901 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index 58253b1faa7e..ce1ca9855acb 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -2987,7 +2987,8 @@ namespace pcr
{
protected:
SQLCommandPropertyUI( const Reference< XPropertySet >& _rxObject )
- :m_xObject( _rxObject )
+ : m_xObject(_rxObject)
+ , m_refCount(0)
{
if ( !m_xObject.is() )
throw NullPointerException();