summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-11 21:15:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-12 01:11:38 +0100
commitecc3b1fcaddd4066d90161faf4a3f532b445c85a (patch)
tree38f38b3d22d54808d0a0721959cc019fc1c0cec1 /sd
parent3c5addae5c1bb88c308dbacd545ca52d597e39fb (diff)
ofz#3577 force refresh
looks to me that once the bt was found with a given test document that even if the document is fixed all similar bts are considered duplicates and other bugs that can end up here aren't disambiguated. Later bugs reports have "groups" where they are disambiguated so lets "fix" this in the fuzzer and when fixed reenable and see if a new test case is filed and/or if groups appear Change-Id: Ic680607a654eea6b3874db626c1742734245bd6b Reviewed-on: https://gerrit.libreoffice.org/44645 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 'sd')
-rw-r--r--sd/source/filter/ppt/pptin.cxx19
1 files changed, 12 insertions, 7 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 537ec33b0469..3614a9668408 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1401,13 +1401,18 @@ bool ImplSdPPTImport::Import()
xStbMgr.reset();
- // read DocumentProperties
- uno::Reference<document::XDocumentPropertiesSupplier> xDPS(
- mpDoc->GetObjectShell()->GetModel(), uno::UNO_QUERY_THROW);
- uno::Reference<document::XDocumentProperties> xDocProps
- = xDPS->getDocumentProperties();
- sfx2::LoadOlePropertySet(xDocProps, &mrStorage);
- xDocProps->setTemplateName(OUString());
+ //ofz#3577 as an experiment disable this during fuzzing until Nov 27 2017
+ //and then reenable
+ if (!utl::ConfigManager::IsFuzzing())
+ {
+ // read DocumentProperties
+ uno::Reference<document::XDocumentPropertiesSupplier> xDPS(
+ mpDoc->GetObjectShell()->GetModel(), uno::UNO_QUERY_THROW);
+ uno::Reference<document::XDocumentProperties> xDocProps
+ = xDPS->getDocumentProperties();
+ sfx2::LoadOlePropertySet(xDocProps, &mrStorage);
+ xDocProps->setTemplateName(OUString());
+ }
pSdrModel->setLock(false);
pSdrModel->EnableUndo(bSavedUndoEnabled);