[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - extensions/source
Caolán McNamara
caolanm at redhat.com
Thu Feb 6 07:18:47 PST 2014
extensions/source/propctrlr/formcomponenthandler.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 47350a7466656bc5d34f17dc3f5eb4a673131fba
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Feb 6 13:25:44 2014 +0000
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 at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index 58253b1..ce1ca98 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();
More information about the Libreoffice-commits
mailing list