[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Mon Dec 4 17:21:55 UTC 2017


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

New commits:
commit 8aeb8825cbb0ffba2b214624a9869ce8e6e0390a
Author: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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();
 


More information about the Libreoffice-commits mailing list