coverity#707768 Uninitialized scalar field

Change-Id: I47b507d4e256572f879bab72cf99f007bb2df771
This commit is contained in:
Norbert Thiebaud
2014-02-05 15:00:17 -06:00
parent 0f2a8ec5e0
commit 3d11e86363

View File

@@ -60,18 +60,24 @@ static rtl_TextEncoding lcl_GetDefaultTextEncodingForRTF()
SvxRTFParser::SvxRTFParser( SfxItemPool& rPool, SvStream& rIn, SvxRTFParser::SvxRTFParser( SfxItemPool& rPool, SvStream& rIn,
uno::Reference<document::XDocumentProperties> i_xDocProps, uno::Reference<document::XDocumentProperties> i_xDocProps,
int bReadNewDoc ) int bReadNewDoc )
: SvRTFParser( rIn, 5 ), : SvRTFParser( rIn, 5 )
rStrm(rIn), , rStrm(rIn)
pInsPos( 0 ), , pInsPos( 0 )
pAttrPool( &rPool ), , pAttrPool( &rPool )
m_xDocProps( i_xDocProps ), , m_xDocProps( i_xDocProps )
pRTFDefaults( 0 ), , pRTFDefaults( 0 )
nVersionNo( 0 ) , nVersionNo( 0 )
, nDfltFont( 0)
, bNewDoc( bReadNewDoc )
, bNewGroup( sal_False)
, bIsSetDfltTab( sal_False)
, bChkStyleAttr( sal_False )
, bCalcValue( sal_False )
, bPardTokenRead( sal_False)
, bReadDocInfo( sal_False )
, bIsLeftToRightDef( sal_True)
, bIsInReadStyleTab( sal_False)
{ {
bNewDoc = bReadNewDoc;
bChkStyleAttr = bCalcValue = bReadDocInfo = bIsInReadStyleTab = sal_False;
bIsLeftToRightDef = sal_True;
{ {
RTFPlainAttrMapIds aTmp( rPool ); RTFPlainAttrMapIds aTmp( rPool );