diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-11-08 09:28:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-11-08 14:34:10 +0100 |
commit | 5feed3891782fc158209e04ab7d6c639266bcf6e (patch) | |
tree | 533efe682d729182697006ca39f82b6e311fa89a /starmath | |
parent | 1e8b61d3ab6919aaae0faf2d4db43e3ec0348350 (diff) |
More --enable-debug --disable-assert-always-abort fixes
...which <https://ci.libreoffice.org/job/lo_tb_random_config_linux/>
occasionally stumbles across
Change-Id: I2f28fda7522b2f6b009fc2b64766ec9e43c1ab67
Reviewed-on: https://gerrit.libreoffice.org/63067
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/accessibility.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index cafaf43fa9a3..5e4993298a1e 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -232,7 +232,7 @@ awt::Size SAL_CALL SmGraphicAccessible::getSize() "mismatch of window parent and accessible parent" ); Size aSz( pWin->GetSizePixel() ); -#if OSL_DEBUG_LEVEL > 0 +#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG awt::Rectangle aRect( lcl_GetBounds( pWin ) ); Size aSz2( aRect.Width, aRect.Height ); assert(aSz == aSz2 && "mismatch in width" ); @@ -1603,7 +1603,7 @@ awt::Size SAL_CALL SmEditAccessible::getSize( ) "mismatch of window parent and accessible parent" ); Size aSz( pWin->GetSizePixel() ); -#if OSL_DEBUG_LEVEL > 0 +#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG awt::Rectangle aRect( lcl_GetBounds( pWin ) ); Size aSz2( aRect.Width, aRect.Height ); assert(aSz == aSz2 && "mismatch in width"); |