diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 10:33:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 11:13:42 +0000 |
commit | 625b27631144d881fca32b55648fbfd8099e9a64 (patch) | |
tree | e7d074ea0b031036020ba2c3fba83aa5d34268a3 /xmlscript | |
parent | cbfc354088d391f28f7913c73bd0745d521dc1ea (diff) |
coverity#708734 Uninitialized scalar field
Change-Id: Icea7902268a362f35c16a22597f2c55d67eaa83e
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmlmod_imexp/imp_share.hxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/xmlscript/source/xmlmod_imexp/imp_share.hxx b/xmlscript/source/xmlmod_imexp/imp_share.hxx index 1ed5ff7ba564..b991c8288c77 100644 --- a/xmlscript/source/xmlmod_imexp/imp_share.hxx +++ b/xmlscript/source/xmlmod_imexp/imp_share.hxx @@ -55,11 +55,15 @@ struct ModuleImport sal_Int32 XMLNS_XLINK_UID; public: - inline ModuleImport( ModuleDescriptor& rModuleDesc ) - SAL_THROW(()) - : mrModuleDesc( rModuleDesc ) {} - virtual ~ModuleImport() - SAL_THROW(()); + ModuleImport(ModuleDescriptor& rModuleDesc) SAL_THROW(()) + : mrModuleDesc(rModuleDesc) + , XMLNS_SCRIPT_UID(0) + , XMLNS_LIBRARY_UID(0) + , XMLNS_XLINK_UID(0) + { + } + + virtual ~ModuleImport() SAL_THROW(()); // XRoot virtual void SAL_CALL startDocument( |