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>
This commit is contained in:
Mike Kaganski 2020-06-17 18:07:04 +02:00
parent 5558256e77
commit 2ef9f5c15b

View file

@ -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;