summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/text.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-05-05 20:12:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-05-05 22:19:32 +0200
commite4a7a50d831cb6fca95f2afff2af5298d66b5876 (patch)
treef4faa95aa89b88ab43bf5ec3884cfb9dbf625e85 /vcl/source/outdev/text.cxx
parentd66fb70959b13dd822664867c363591b2c401767 (diff)
ofz#47241 don't use hardcoded SalLayoutFlags::BiDiStrong mode for fuzzing
getting different results vs the real world wrt glyph caching, go back to normal and try a different approach when timeouts return Change-Id: Ifb335888615b82c9bea83bd19a1cabcf8660dc74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133909 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/outdev/text.cxx')
-rw-r--r--vcl/source/outdev/text.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index aa3fb503941b..d1d50f79572b 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -41,7 +41,6 @@
#include <vcl/sysdata.hxx>
#include <vcl/unohelp.hxx>
-#include <config_fuzzers.h>
#include <ImplLayoutArgs.hxx>
#include <ImplOutDevData.hxx>
#include <drawmode.hxx>
@@ -791,12 +790,7 @@ vcl::Region OutputDevice::GetOutputBoundsClipRegion() const
return GetClipRegion();
}
-#if !ENABLE_FUZZERS
const SalLayoutFlags eDefaultLayout = SalLayoutFlags::NONE;
-#else
-// ofz#23573 skip detecting bidi directions
-const SalLayoutFlags eDefaultLayout = SalLayoutFlags::BiDiStrong;
-#endif
void OutputDevice::DrawText( const Point& rStartPt, const OUString& rStr,
sal_Int32 nIndex, sal_Int32 nLen,