diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 10:34:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 11:13:44 +0000 |
commit | 297183a9e4c5a219093d712f07ae1600e37a246e (patch) | |
tree | e2da061fd8d9df3fe7a6d267002c3d3a5bdc10f3 /xmlscript | |
parent | 625b27631144d881fca32b55648fbfd8099e9a64 (diff) |
coverity#708733 Uninitialized scalar field
Change-Id: I751be405978cfc4c13047033a71504353439145d
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmllib_imexp/imp_share.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/xmlscript/source/xmllib_imexp/imp_share.hxx b/xmlscript/source/xmllib_imexp/imp_share.hxx index fc41ae734c5d..99c3773127e4 100644 --- a/xmlscript/source/xmllib_imexp/imp_share.hxx +++ b/xmlscript/source/xmllib_imexp/imp_share.hxx @@ -116,10 +116,14 @@ struct LibraryImport sal_Int32 XMLNS_XLINK_UID; public: - inline LibraryImport( LibDescriptorArray* pLibArray ) - SAL_THROW(()) - : mpLibArray( pLibArray ) - , mpLibDesc( NULL ) {} + LibraryImport( LibDescriptorArray* pLibArray ) SAL_THROW(()) + : mpLibArray(pLibArray) + , mpLibDesc(NULL) + , XMLNS_LIBRARY_UID(0) + , XMLNS_XLINK_UID(0) + { + } + // Single library mode inline LibraryImport( LibDescriptor* pLibDesc ) SAL_THROW(()) |