coverity#707931 Uninitialized scalar field

Change-Id: I5c34f9bc96ee23fca6182740e3279de1485c61ea
This commit is contained in:
Caolán McNamara 2014-03-08 20:14:04 +00:00
parent 85391d4ee6
commit 27f033ec70

View File

@ -101,7 +101,11 @@ public:
}; };
inline SvToken::SvToken() inline SvToken::SvToken()
: nType( SVTOKEN_EMPTY ) {} : nLine(0)
, nColumn(0)
, nType( SVTOKEN_EMPTY )
{
}
inline SvToken::SvToken( sal_uLong n ) inline SvToken::SvToken( sal_uLong n )
: nType( SVTOKEN_INTEGER ), nLong( n ) {} : nType( SVTOKEN_INTEGER ), nLong( n ) {}