summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-12 21:08:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-12 22:27:02 +0200
commit78a2c0752c599d5dc951b8cf6fbe741bda0eeedd (patch)
tree42f68d409f205ab4f3e48afe9c0556881a3456cb /sc
parent34d229cecadba9d216d7b1111146a1bace84983e (diff)
ofz: better workaround for broken msan build
workaround https://github.com/google/oss-fuzz/issues/6427 by forcing use of the libc++.a in /usr/msan/lib when compiling the msan version Change-Id: I4e992cd7710b5929e74034db7a49c590349149fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122014 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/docsh2.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx
index 46089387f86a..e02b815d2181 100644
--- a/sc/source/ui/docshell/docsh2.cxx
+++ b/sc/source/ui/docshell/docsh2.cxx
@@ -61,7 +61,6 @@ bool ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor )
m_aDocument.GetStyleSheetPool()->CreateStandardStyles();
m_aDocument.UpdStlShtPtrsFrmNms();
-#if !defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
if (!m_bUcalcTest)
{
/* Create styles that are imported through Orcus */
@@ -79,7 +78,6 @@ bool ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor )
m_aDocument.GetStyleSheetPool()->setAllParaStandard();
}
}
-#endif
// SetDocumentModified is not allowed anymore in Load/InitNew!
InitItems();