summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-21 10:36:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-21 11:13:45 +0000
commit920560b6b01f83c40d952fff90a15c70f1357fbc (patch)
treee81e00e872bc9a0bd961beaed5149d48c77a056f /xmlscript
parent297183a9e4c5a219093d712f07ae1600e37a246e (diff)
coverity#708732 Uninitialized scalar field
Change-Id: I0e76926d25491f54b6552c5bc1d55c77e39318b0
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmllib_imexp/imp_share.hxx12
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 99c3773127e4..b164f5428529 100644
--- a/xmlscript/source/xmllib_imexp/imp_share.hxx
+++ b/xmlscript/source/xmllib_imexp/imp_share.hxx
@@ -125,10 +125,14 @@ public:
}
// Single library mode
- inline LibraryImport( LibDescriptor* pLibDesc )
- SAL_THROW(())
- : mpLibArray( NULL )
- , mpLibDesc( pLibDesc ) {}
+ LibraryImport(LibDescriptor* pLibDesc) SAL_THROW(())
+ : mpLibArray(NULL)
+ , mpLibDesc(pLibDesc)
+ , XMLNS_LIBRARY_UID(0)
+ , XMLNS_XLINK_UID(0)
+ {
+ }
+
virtual ~LibraryImport()
SAL_THROW(());