Kaydet (Commit) 3d11e863 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#707768 Uninitialized scalar field

Change-Id: I47b507d4e256572f879bab72cf99f007bb2df771
üst 0f2a8ec5
...@@ -60,18 +60,24 @@ static rtl_TextEncoding lcl_GetDefaultTextEncodingForRTF() ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment