sw/source/core/text/txtfrm.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 8aeb8825cbb0ffba2b214624a9869ce8e6e0390a
Author: Caolán McNamara <caol...@redhat.com>
Date:   Mon Dec 4 17:14:03 2017 +0000

    use LANGUAGE_ENGLISH_US for fuzzing
    
    Change-Id: Ieca4b4d06e6e81fc8d2187ae5b92bd95b359f74b
    Reviewed-on: https://gerrit.libreoffice.org/45813
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index 05037aa7ead3..51b7adf14893 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -332,7 +332,9 @@ SwDigitModeModifier::SwDigitModeModifier( const 
OutputDevice& rOutp, LanguageTyp
         rOut( rOutp ), nOldLanguageType( rOutp.GetDigitLanguage() )
 {
     LanguageType eLang = eCurLang;
-    if (!utl::ConfigManager::IsFuzzing())
+    if (utl::ConfigManager::IsFuzzing())
+        eLang = LANGUAGE_ENGLISH_US;
+    else
     {
         const SvtCTLOptions::TextNumerals nTextNumerals = 
SW_MOD()->GetCTLOptions().GetCTLTextNumerals();
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to