diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-11-05 09:42:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-11-05 12:47:34 +0100 |
commit | 70f710f8343f58bd4876dead79d32129ad3ebaab (patch) | |
tree | f0e4e34afa979e8f1a799518e6d4f0ec5b7e84b7 /vcl | |
parent | 005b1853c294ff1a465f2e8d36e524751f96e523 (diff) |
Fix for --enable-debug --disable-assert-always-abort
...found by <https://ci.libreoffice.org//job/lo_tb_random_config_linux/1573/>
Change-Id: I805457f4da6d91a1ee27b0e4da999448950ecf40
Reviewed-on: https://gerrit.libreoffice.org/62875
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/salbmp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index 67b49e1ce185..a2cf2e25b388 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -596,7 +596,7 @@ bool OpenGLSalBitmap::ReadTexture() maTexture.Read(nFormat, nType, pData); -#if OSL_DEBUG_LEVEL > 0 +#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG // If we read over the end of pData we have a real hidden memory // corruption problem ! size_t nCanary = mnBytesPerRow * mnHeight; |