diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-05 15:15:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-01-05 20:21:41 +0100 |
commit | cadfee0a72cf032314833959f7b7f3f6688a3079 (patch) | |
tree | 3ff4b6dea368d8bc5d694741a0c4b274d0c56e5b /unotools | |
parent | 86994e1c25bb5a2d0f97d17328457fa6dfd2f288 (diff) |
ofz#4952 avoid liblangtag config when fuzzing enabled
Change-Id: I9f2b0cbb5108f57ec2f80ebe24f748c33ea9cf59
Reviewed-on: https://gerrit.libreoffice.org/47477
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/configmgr.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx index 417bfc311bbf..1f83a94830d2 100644 --- a/unotools/source/config/configmgr.cxx +++ b/unotools/source/config/configmgr.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> +#include <i18nlangtag/languagetag.hxx> #include <rtl/instance.hxx> #include <rtl/ustring.h> #include <rtl/ustring.hxx> @@ -205,6 +206,7 @@ bool utl::ConfigManager::IsFuzzing() void utl::ConfigManager::EnableFuzzing() { bIsFuzzing = true; + LanguageTag::disable_lt_tag_parse(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |