[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Tue May 9 08:56:26 UTC 2017
sw/source/filter/ww8/ww8par.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c30d4bfca45af6d60071e7450cd6bd75a1492010
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue May 9 09:50:22 2017 +0100
SetInReading for duration of TestImportDOC
Change-Id: I688ec95db500cc1d86402b7da2305528b1f25890
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();
More information about the Libreoffice-commits
mailing list