Kaydet (Commit) 516bb47a authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

n#715421 - Word 2010 validation: no plcfhdd if ccpHdd is 0

üst a0b20e1f
......@@ -1830,7 +1830,8 @@ void WW8_WrPlcSepx::WritePlcSed( WW8Export& rWrt ) const
void WW8_WrPlcSepx::WritePlcHdd( WW8Export& rWrt ) const
{
if( pTxtPos && pTxtPos->Count() )
// Don't write out the PlcfHdd if ccpHdd is 0: it's a validation failure case.
if( rWrt.pFib->ccpHdr != 0 && pTxtPos && pTxtPos->Count() )
{
rWrt.pFib->fcPlcfhdd = rWrt.pTableStrm->Tell();
pTxtPos->Write( *rWrt.pTableStrm ); // Plc0
......
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