Kaydet (Commit) a518d1ac authored tarafından Caolán McNamara's avatar Caolán McNamara

skip text layout when fuzzing

Change-Id: I4d1c0ce31c4bfde0c1c681235868f6e5484fb561
Reviewed-on: https://gerrit.libreoffice.org/59174
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 308fbd8c
......@@ -18,6 +18,7 @@
*/
#include <sal/types.h>
#include <unotools/configmgr.hxx>
#include <vcl/fontcharmap.hxx>
#include <basegfx/range/b2ibox.hxx>
#include <headless/svpgdi.hxx>
......@@ -103,6 +104,8 @@ bool SvpSalGraphics::GetGlyphOutline(const GlyphItem& rGlyph, basegfx::B2DPolyPo
std::unique_ptr<SalLayout> SvpSalGraphics::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackLevel )
{
if (utl::ConfigManager::IsFuzzing())
return nullptr;
return m_aTextRenderImpl.GetTextLayout(rArgs, nFallbackLevel);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment