sc/source/filter/excel/xlroot.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 04c4e2c705ce8be40118c04fd1dc060e07288c92
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Nov 16 09:13:20 2017 +0000

    related ofz#4243 Timeout
    
    Change-Id: I6734c1df06ce1b2cd0fcca488bc5d2fe333ad55b

diff --git a/sc/source/filter/excel/xlroot.cxx 
b/sc/source/filter/excel/xlroot.cxx
index 0d5b504dad2b..d9fdf2071776 100644
--- a/sc/source/filter/excel/xlroot.cxx
+++ b/sc/source/filter/excel/xlroot.cxx
@@ -49,6 +49,7 @@
 #include <xlstyle.hxx>
 #include <xlchart.hxx>
 #include <xltracer.hxx>
+#include <unotools/configmgr.hxx>
 #include <unotools/useroptions.hxx>
 #include <root.hxx>
 
@@ -98,8 +99,9 @@ XclRootData::XclRootData( XclBiff eBiff, SfxMedium& rMedium,
     mnScTab( 0 ),
     mbExport( bExport )
 {
- maUserName = SvtUserOptions().GetLastName();
-    if( maUserName.isEmpty() )
+    if (!utl::ConfigManager::IsFuzzing())
+        maUserName = SvtUserOptions().GetLastName();
+    if (maUserName.isEmpty())
         maUserName = "Calc";
 
     switch( ScGlobal::GetDefaultScriptType() )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to