diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2019-12-30 16:14:20 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-12-31 15:28:07 +0100 |
commit | 8a3ed4d2835bf441c578d480a8cc8f2c31231996 (patch) | |
tree | 355f8e9cbcaeaf8c6673efce70df2122f48ab133 /chart2 | |
parent | 6eb5cffa1c4ee15bf96fe97769efac65ba785ef9 (diff) |
Restore mxModel invariant in ChartColorWrapper::operator()
As per discussion on https://gerrit.libreoffice.org/c/core/+/85111
Change-Id: I2cebe65ef8a03da95527ce882e7538f958fcdfbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85995
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/sidebar/ChartColorWrapper.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chart2/source/controller/sidebar/ChartColorWrapper.cxx b/chart2/source/controller/sidebar/ChartColorWrapper.cxx index 31808b1a292b..5b0654b2d86b 100644 --- a/chart2/source/controller/sidebar/ChartColorWrapper.cxx +++ b/chart2/source/controller/sidebar/ChartColorWrapper.cxx @@ -72,12 +72,6 @@ ChartColorWrapper::ChartColorWrapper( void ChartColorWrapper::operator()(const OUString& , const NamedColor& rColor) { - if (!mxModel.is()) - { - SAL_WARN("chart2", "Invalid reference to mxModel"); - return; - } - css::uno::Reference<css::beans::XPropertySet> xPropSet = getPropSet(mxModel); if (!xPropSet.is()) |