summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chart2/source/controller/sidebar/ChartColorWrapper.cxx6
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())