chart2/source/model/template/BubbleDataInterpreter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5ef3267c3a02da283ae15de3e2ad73395130a053 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri May 22 18:25:16 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sat May 23 09:38:20 2020 +0200 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 <sberg...@redhat.com> 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" ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits