From 27f033ec70b74fe8daa3563b02427df84fe138b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 8 Mar 2014 20:14:04 +0000 Subject: [PATCH] coverity#707931 Uninitialized scalar field Change-Id: I5c34f9bc96ee23fca6182740e3279de1485c61ea --- idl/inc/lex.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ) {}