diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-09 09:50:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-09 09:55:54 +0100 |
commit | c30d4bfca45af6d60071e7450cd6bd75a1492010 (patch) | |
tree | 0b8a7ebc6f5036d4885177345eb13fd990f2b967 | |
parent | b35a4cf023844dbbb3666c730213e9bc679d4a4f (diff) |
SetInReading for duration of TestImportDOC
Change-Id: I688ec95db500cc1d86402b7da2305528b1f25890
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index aa22f3a9e6da..b10c0f2887c5 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -6183,7 +6183,9 @@ bool SAL_CALL TestImportDOC(SvStream &rStream, const OUString &rFltName) } SwPaM aPaM( aIdx ); aPaM.GetPoint()->nContent.Assign(aIdx.GetNode().GetContentNode(), 0); + pD->SetInReading(true); bool bRet = pReader->Read(*pD, OUString(), aPaM, OUString()) == 0; + pD->SetInReading(false); delete pReader; FlushFontCache(); |