summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdmodel.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-23 16:07:24 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-30 12:45:45 +0100
commitf0a8b5b81d6be08de6e0d504616a1f09830f7c38 (patch)
treec13bfc5e50c8e1852bf50531d6fcdff6e59e718c /svx/source/svdraw/svdmodel.cxx
parent2c8e9ed3cbe3aed5520ce8f5888dd083f8ee50c3 (diff)
move IsFuzzing to comphelper
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 <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx/source/svdraw/svdmodel.cxx')
-rw-r--r--svx/source/svdraw/svdmodel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index 90fc769e20b7..ab882b77ed6c 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -153,7 +153,7 @@ SdrModel::SdrModel(SfxItemPool* pPool, comphelper::IEmbeddedHelper* pEmbeddedHel
, mbAddExtLeading(false)
, mbInDestruction(false)
{
- if (!utl::ConfigManager::IsFuzzing())
+ if (!comphelper::IsFuzzing())
{
mnCharCompressType = static_cast<CharCompressType>(
officecfg::Office::Common::AsianLayout::CompressCharacterDistance::get());
@@ -195,7 +195,7 @@ SdrModel::SdrModel(SfxItemPool* pPool, comphelper::IEmbeddedHelper* pEmbeddedHel
m_pChainingOutliner = SdrMakeOutliner( OutlinerMode::TextObject, *this );
ImpSetOutlinerDefaults(m_pChainingOutliner.get(), true);
- ImpCreateTables(bDisablePropertyFiles || utl::ConfigManager::IsFuzzing());
+ ImpCreateTables(bDisablePropertyFiles || comphelper::IsFuzzing());
mpImpl->initTheme();
}
@@ -627,7 +627,7 @@ void SdrModel::SetTextDefaults( SfxItemPool* pItemPool, sal_Int32 nDefTextHgt )
SvxFontItem aSvxFontItemCJK(EE_CHAR_FONTINFO_CJK);
SvxFontItem aSvxFontItemCTL(EE_CHAR_FONTINFO_CTL);
LanguageType nLanguage;
- if (!utl::ConfigManager::IsFuzzing())
+ if (!comphelper::IsFuzzing())
nLanguage = Application::GetSettings().GetLanguageTag().getLanguageType();
else
nLanguage = LANGUAGE_ENGLISH_US;