From f0a8b5b81d6be08de6e0d504616a1f09830f7c38 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 23 Dec 2023 16:07:24 +0000 Subject: move IsFuzzing to comphelper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and try something a bit more generic Change-Id: I1d8256576cd02f0a589df350ba7b53059dd586a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161250 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sw/source/uibase/config/usrpref.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/uibase/config/usrpref.cxx') diff --git a/sw/source/uibase/config/usrpref.cxx b/sw/source/uibase/config/usrpref.cxx index c04d775c3ac3..8928e8e5470f 100644 --- a/sw/source/uibase/config/usrpref.cxx +++ b/sw/source/uibase/config/usrpref.cxx @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include @@ -54,7 +54,7 @@ SwMasterUsrPref::SwMasterUsrPref(bool bWeb) : m_pWebColorConfig(bWeb ? new SwWebColorConfig(*this) : nullptr), m_bApplyCharUnit(false) { - if (utl::ConfigManager::IsFuzzing()) + if (comphelper::IsFuzzing()) { m_eHScrollMetric = m_eVScrollMetric = m_eUserMetric = FieldUnit::CM; // match defaults -- cgit