summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-18 15:39:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-18 21:16:45 +0200
commitbdd797267b1e9e664b64e1c1525d1dde520a7063 (patch)
treef4e7cfe91bb50c9330c7c447392e53164cdcb40e /sw
parentd5e8904920d4189819836f7abc002898322bb061 (diff)
make fuzzer work
Change-Id: I798558260f5f975f92b702ecf6f4504738ffbbfb Reviewed-on: https://gerrit.libreoffice.org/42422 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/xmlimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index 4ea3cebeef1e..fba57d39370a 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -1588,9 +1588,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportFODT(SvStream &rStream)
//by the xml filter and during the init, while its considered uninitialized,
//setting a property will inform the document its modified, which attempts
//to update the properties, which throws cause the properties are uninitialized
-// xDocSh->SetLoading(SfxLoadedFlags::NONE);
+ xDocSh->SetLoading(SfxLoadedFlags::NONE);
bool ret = xFilter->filter(aArgs);
-// xDocSh->SetLoading(SfxLoadedFlags::ALL);
+ xDocSh->SetLoading(SfxLoadedFlags::ALL);
return ret;
}