summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-08 20:14:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-08 20:27:59 +0000
commit27f033ec70b74fe8daa3563b02427df84fe138b8 (patch)
tree45d49721513f70fde7f5854642f066368fce0389 /idl
parent85391d4ee687172d9bd7e48c4b810a445d616e80 (diff)
coverity#707931 Uninitialized scalar field
Change-Id: I5c34f9bc96ee23fca6182740e3279de1485c61ea
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/lex.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx
index 2f816358bca8..558d47c2dd1b 100644
--- a/idl/inc/lex.hxx
+++ b/idl/inc/lex.hxx
@@ -101,7 +101,11 @@ public:
};
inline SvToken::SvToken()
- : nType( SVTOKEN_EMPTY ) {}
+ : nLine(0)
+ , nColumn(0)
+ , nType( SVTOKEN_EMPTY )
+{
+}
inline SvToken::SvToken( sal_uLong n )
: nType( SVTOKEN_INTEGER ), nLong( n ) {}