[Libreoffice-commits] core.git: chart2/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Sat May 23 07:38:53 UTC 2020
chart2/source/model/template/BubbleDataInterpreter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5ef3267c3a02da283ae15de3e2ad73395130a053
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri May 22 18:25:16 2020 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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" );
More information about the Libreoffice-commits
mailing list