summaryrefslogtreecommitdiff
path: root/rsc/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-04 11:02:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 12:14:22 +0100
commitc58f9aded89774462d466858388d7d7b5cd109f2 (patch)
treec849122f6e2006055309933374432dbc47eee439 /rsc/inc
parentc6d95c1080028e61ab79fb10992e03730ab52733 (diff)
coverity#707972 Uninitialized scalar field
Change-Id: Ib013d4075b2cf55cf02afd77dab6f76c6b9ac70e
Diffstat (limited to 'rsc/inc')
-rw-r--r--rsc/inc/rscdef.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/rsc/inc/rscdef.hxx b/rsc/inc/rscdef.hxx
index fafd5d93f746..d85657f89ebe 100644
--- a/rsc/inc/rscdef.hxx
+++ b/rsc/inc/rscdef.hxx
@@ -83,7 +83,10 @@ public:
RscId( RscDefine * pEle );
RscId( sal_Int32 lNumber )
- { aExp.SetLong( lNumber ); }
+ {
+ aExp.cUnused = false;
+ aExp.SetLong( lNumber );
+ }
RscId( const RscExpType & rExpType )
{ Create( rExpType ); }