diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-16 09:13:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-16 09:13:51 +0000 |
commit | 04c4e2c705ce8be40118c04fd1dc060e07288c92 (patch) | |
tree | b2f80121d8822fbf8f070939939bbca8587296ef | |
parent | 5f9dd5914b5733ea405475ffe0447a3f3f2af327 (diff) |
related ofz#4243 Timeout
Change-Id: I6734c1df06ce1b2cd0fcca488bc5d2fe333ad55b
-rw-r--r-- | sc/source/filter/excel/xlroot.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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() ) |