[Libreoffice-commits] core.git: chart2/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 17 19:09:46 UTC 2020
chart2/source/controller/sidebar/ChartSeriesPanel.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 2ef9f5c15be1cb8f296ac4a3281e4ff10187aeeb
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Wed Jun 17 18:07:04 2020 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Jun 17 21:09:09 2020 +0200
It may also be OBJECTTYPE_DATA_CURVE for a trend line
Change-Id: I31760489e267855045e0b3e977240fb2373d8271
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96572
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/chart2/source/controller/sidebar/ChartSeriesPanel.cxx b/chart2/source/controller/sidebar/ChartSeriesPanel.cxx
index d014337a9d8a..7bb5646c21a5 100644
--- a/chart2/source/controller/sidebar/ChartSeriesPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartSeriesPanel.cxx
@@ -264,7 +264,8 @@ OUString getCID(const css::uno::Reference<css::frame::XModel>& xModel)
#if defined DBG_UTIL && !defined NDEBUG
ObjectType eType = ObjectIdentifier::getObjectType(aCID);
- assert(eType == OBJECTTYPE_DATA_SERIES || eType == OBJECTTYPE_DATA_POINT);
+ assert(eType == OBJECTTYPE_DATA_SERIES || eType == OBJECTTYPE_DATA_POINT
+ || eType == OBJECTTYPE_DATA_CURVE);
#endif
return aCID;
More information about the Libreoffice-commits
mailing list