summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-10 17:01:49 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-10 22:25:24 +0200
commit8bcdda7e18148a7f4e15bbec0bd0550355b7bd8d (patch)
tree8a7e8635e5304f66afd96ff81433f173f898bf8a /svl
parentce8186315fda526235f295ef97dd1352309643f2 (diff)
ofz#59696 Abrt
Change-Id: I4cf6043f55a7aae23b6a801dd41b0912b68e1d3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152836 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/config/ctloptions.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx
index eb636e0b4009..07c9c67fd654 100644
--- a/svl/source/config/ctloptions.cxx
+++ b/svl/source/config/ctloptions.cxx
@@ -21,6 +21,7 @@
#include <svl/ctloptions.hxx>
#include <unotools/configitem.hxx>
+#include <unotools/configmgr.hxx>
#include <com/sun/star/uno/Any.h>
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/mutex.hxx>
@@ -430,6 +431,8 @@ void SvtCTLOptions::SetCTLTextNumerals( SvtCTLOptions::TextNumerals _eNumerals )
SvtCTLOptions::TextNumerals SvtCTLOptions::GetCTLTextNumerals()
{
+ if (utl::ConfigManager::IsFuzzing())
+ return SvtCTLOptions::NUMERALS_ARABIC;
return static_cast<SvtCTLOptions::TextNumerals>(officecfg::Office::Common::I18N::CTL::CTLTextNumerals::get());
}