Kaydet (Commit) ecc3b1fc authored tarafından Caolán McNamara's avatar Caolán McNamara

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/44645Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 3c5addae
...@@ -1401,13 +1401,18 @@ bool ImplSdPPTImport::Import() ...@@ -1401,13 +1401,18 @@ bool ImplSdPPTImport::Import()
xStbMgr.reset(); xStbMgr.reset();
// read DocumentProperties //ofz#3577 as an experiment disable this during fuzzing until Nov 27 2017
uno::Reference<document::XDocumentPropertiesSupplier> xDPS( //and then reenable
mpDoc->GetObjectShell()->GetModel(), uno::UNO_QUERY_THROW); if (!utl::ConfigManager::IsFuzzing())
uno::Reference<document::XDocumentProperties> xDocProps {
= xDPS->getDocumentProperties(); // read DocumentProperties
sfx2::LoadOlePropertySet(xDocProps, &mrStorage); uno::Reference<document::XDocumentPropertiesSupplier> xDPS(
xDocProps->setTemplateName(OUString()); 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->setLock(false);
pSdrModel->EnableUndo(bSavedUndoEnabled); pSdrModel->EnableUndo(bSavedUndoEnabled);
......
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