diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-01 20:47:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 09:14:49 +0100 |
commit | 173234f394105756b3530f789fb68dec53689a93 (patch) | |
tree | 59435ab308c0eb1b68a8cd21962101db09fc29cf /include | |
parent | b6cff5fae1a91549402bdee55a1077719f7b9c65 (diff) |
coverity#708208 Uninitialized scalar field
Change-Id: I5f1e889746067bad478d8fa3acd8c41c893b135a
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/globname.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/tools/globname.hxx b/include/tools/globname.hxx index 4defc52f201f..6796c3b74824 100644 --- a/include/tools/globname.hxx +++ b/include/tools/globname.hxx @@ -39,10 +39,14 @@ struct ImpSvGlobalName enum Empty { EMPTY }; - ImpSvGlobalName() + ImpSvGlobalName(const SvGUID &rData) + : szData(rData) + , nRefCount(0) { - nRefCount = 0; } + ImpSvGlobalName(sal_uInt32 n1, sal_uInt16 n2, sal_uInt16 n3, + sal_uInt8 b8, sal_uInt8 b9, sal_uInt8 b10, sal_uInt8 b11, + sal_uInt8 b12, sal_uInt8 b13, sal_uInt8 b14, sal_uInt8 b15); ImpSvGlobalName( const ImpSvGlobalName & rObj ); ImpSvGlobalName( Empty ); |