[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 2 20:00:20 UTC 2021
sc/source/filter/rtf/eeimpars.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 7f0e8d54c159290f0d62f269cc386480422e883f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 2 19:37:20 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 2 21:59:44 2021 +0200
ofz#32766 Abrt
Change-Id: I333e1571c68e62b209dce008edc1ab4d40b01f8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119907
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/rtf/eeimpars.cxx b/sc/source/filter/rtf/eeimpars.cxx
index 20857fe88350..4a3f29dfb849 100644
--- a/sc/source/filter/rtf/eeimpars.cxx
+++ b/sc/source/filter/rtf/eeimpars.cxx
@@ -33,6 +33,7 @@
#include <vcl/virdev.hxx>
#include <vcl/svapp.hxx>
#include <unotools/charclass.hxx>
+#include <unotools/configmgr.hxx>
#include <comphelper/string.hxx>
#include <osl/diagnose.h>
#include <officecfg/Office/Common.hxx>
@@ -135,7 +136,7 @@ void ScEEImport::WriteToDocument( bool bSizeColsRows, double nOutputFactor, SvNu
if (!pFormatter)
pFormatter = mpDoc->GetFormatTable();
bool bNumbersEnglishUS = false;
- if (pFormatter->GetLanguage() == LANGUAGE_SYSTEM)
+ if (pFormatter->GetLanguage() == LANGUAGE_SYSTEM && !utl::ConfigManager::IsFuzzing())
{
// Automatic language option selected. Check for the global 'use US English' option.
bNumbersEnglishUS = officecfg::Office::Common::Filter::HTML::Import::NumbersEnglishUS::get();
More information about the Libreoffice-commits
mailing list