diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-06-17 18:07:04 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-06-17 21:09:09 +0200 |
commit | 2ef9f5c15be1cb8f296ac4a3281e4ff10187aeeb (patch) | |
tree | 540cd7cd587c0693f9e161e318da7f0d233eb3b5 /chart2 | |
parent | 5558256e777b00ac38f455081425fc5b1ee53375 (diff) |
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@collabora.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/sidebar/ChartSeriesPanel.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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; |