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

fix oss-fuzz build

Change-Id: I166d5f675d1b807e023cc19f72071fc77d3dd036
Reviewed-on: https://gerrit.libreoffice.org/57823
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst f1179b8e
......@@ -41,6 +41,7 @@
#include <vcl/opengl/OpenGLHelper.hxx>
#include <canvas/canvastools.hxx>
#include <config_features.h>
#include "spritehelper.hxx"
......@@ -186,9 +187,12 @@ namespace vclcanvas
{
// Avoid the trick with the negative width in the OpenGL case,
// OutputDevice::DrawDeviceAlphaBitmap() doesn't like it.
if( !::basegfx::fTools::equalZero( aTransform.get(0,1) ) ||
!::basegfx::fTools::equalZero( aTransform.get(1,0) ) ||
OpenGLHelper::isVCLOpenGLEnabled())
if (!::basegfx::fTools::equalZero( aTransform.get(0,1) ) ||
!::basegfx::fTools::equalZero( aTransform.get(1,0) )
#if HAVE_FEATURE_UI
|| OpenGLHelper::isVCLOpenGLEnabled()
#endif
)
{
// "complex" transformation, employ affine
// transformator
......
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