diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-28 10:00:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-28 19:58:48 +0000 |
commit | 5d87c15ef0935081319afe2400c99df14d9fa258 (patch) | |
tree | 330aab01abf4bab0990da87e212e87aa71b31a2a /vcl/opengl | |
parent | f86c3fd8e95f378061d57b77d1c700e076996086 (diff) |
ofz#954 out of memory
Change-Id: Ib27f2dfe0d0837544910208f38a1bc11a35e3cb4
Reviewed-on: https://gerrit.libreoffice.org/35794
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/scale.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx index a6fa42ca543e..8a23fdd94100 100644 --- a/vcl/opengl/scale.cxx +++ b/vcl/opengl/scale.cxx @@ -371,6 +371,11 @@ bool OpenGLSalBitmap::ImplScale( const double& rScaleX, const double& rScaleY, B return false; } +bool OpenGLSalBitmap::ScalingSupported() const +{ + return true; +} + bool OpenGLSalBitmap::Scale( const double& rScaleX, const double& rScaleY, BmpScaleFlag nScaleFlag ) { OpenGLVCLContextZone aContextZone; |