diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-05-22 18:25:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-05-23 09:38:20 +0200 |
commit | 5ef3267c3a02da283ae15de3e2ad73395130a053 (patch) | |
tree | 4283ef54bc7753748eef0e4d4cedf8a0822b3faf /chart2 | |
parent | 05ab836cf3001093a6e375bcb3e4654bbedcfa52 (diff) |
Silence -Werror=unused-variable
...with --enable-debug --disable-assert-always-abort, see e.g.
<https://ci.libreoffice.org/job/lo_tb_random_config_linux/2418/>
Change-Id: Id1400a45bbf83259632983005cc3c24518430b9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94701
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/template/BubbleDataInterpreter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/template/BubbleDataInterpreter.cxx b/chart2/source/model/template/BubbleDataInterpreter.cxx index 3373b9c1d911..3078d3590a42 100644 --- a/chart2/source/model/template/BubbleDataInterpreter.cxx +++ b/chart2/source/model/template/BubbleDataInterpreter.cxx @@ -244,7 +244,7 @@ chart2::InterpretedData SAL_CALL BubbleDataInterpreter::reinterpretDataSeries( const Sequence< Reference< data::XLabeledDataSequence > > aSeqs( xSeriesSource->getDataSequences()); if( aSeqs.getLength() != aNewSequences.getLength() ) { -#if OSL_DEBUG_LEVEL > 0 +#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG for( auto const & j : aSeqs ) { assert( (j == xValuesY || j == xValuesX || j == xValuesSize) && "All sequences should be used" ); |