sw/source/core/doc/DocumentContentOperationsManager.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 0fa67a1f2b92c26e45c1b2efd01728cb55f4a83b
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Feb 13 10:17:51 2018 +0000

    ofz#3004 Timeout
    
    Change-Id: Ib7303688d6f77d2c29114787883238577c43b68d
    Reviewed-on: https://gerrit.libreoffice.org/49628
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx 
b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 2f0edac02349..d5aea24d8337 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -67,6 +67,7 @@
 #include <fmtflcnt.hxx>
 #include <docedt.hxx>
 #include <unotools/charclass.hxx>
+#include <unotools/configmgr.hxx>
 #include <sfx2/Metadatable.hxx>
 #include <svl/stritem.hxx>
 #include <svl/itemiter.hxx>
@@ -3079,6 +3080,9 @@ bool DocumentContentOperationsManager::InsertPoolItem(
     const SetAttrMode nFlags,
     const bool bExpandCharToPara)
 {
+    if (utl::ConfigManager::IsFuzzing())
+        return false;
+
     SwDataChanged aTmp( rRg );
     SwUndoAttr* pUndoAttr = nullptr;
     if (m_rDoc.GetIDocumentUndoRedo().DoesUndo())
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to