summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/text.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 /vcl/source/outdev/text.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 'vcl/source/outdev/text.cxx')
-rw-r--r--vcl/source/outdev/text.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 1b40a1b2de28..2b4ada08e8cd 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -23,7 +23,7 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <tools/lineend.hxx>
#include <tools/debug.hxx>
-#include <unotools/configmgr.hxx>
+#include <comphelper/configuration.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/metaact.hxx>
@@ -1339,7 +1339,7 @@ void OutputDevice::ImplDrawText( OutputDevice& rTargetDevice, const tools::Recta
{
if (nStyle & DrawTextFlags::Clip)
return;
- static bool bFuzzing = utl::ConfigManager::IsFuzzing();
+ static bool bFuzzing = comphelper::IsFuzzing();
SAL_WARN_IF(bFuzzing, "vcl", "skipping negative rectangle of: " << nWidth << " x " << nHeight);
if (bFuzzing)
return;