Kaydet (Commit) 3c5addae authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: Timeout give up earlier on SvParserState::Error

Change-Id: I191f935c11bc59e0b1a990ac5d3c38a49390afd1
Reviewed-on: https://gerrit.libreoffice.org/44644Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst e2b748e0
......@@ -127,12 +127,13 @@ void SvxRTFParser::Continue( int nToken )
{
SvRTFParser::Continue( nToken );
if( SvParserState::Pending != GetStatus() )
SvParserState eStatus = GetStatus();
if (eStatus != SvParserState::Pending && eStatus != SvParserState::Error)
{
SetAllAttrOfStk();
//Regardless of what "color 0" is, word defaults to auto as the default colour.
//e.g. see #i7713#
}
}
}
......
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