From c446adbcbd0fac9668de9cb3c48f3b57b95ba785 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 18 Nov 2020 00:00:24 +0100 Subject: Clarify signature of some opertor() that must match ColorSelectFunction Change-Id: Ibb71d1e993bbb0fa453c59f48ab5f7c79e1d8025 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106036 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- chart2/source/controller/sidebar/ChartColorWrapper.cxx | 2 +- chart2/source/controller/sidebar/ChartColorWrapper.hxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'chart2') diff --git a/chart2/source/controller/sidebar/ChartColorWrapper.cxx b/chart2/source/controller/sidebar/ChartColorWrapper.cxx index 962c5b935004..cbe7e088e313 100644 --- a/chart2/source/controller/sidebar/ChartColorWrapper.cxx +++ b/chart2/source/controller/sidebar/ChartColorWrapper.cxx @@ -80,7 +80,7 @@ ChartColorWrapper::ChartColorWrapper( { } -void ChartColorWrapper::operator()(const OUString& , const NamedColor& rColor) +void ChartColorWrapper::operator()([[maybe_unused]] const OUString& , const NamedColor& rColor) { css::uno::Reference xPropSet = getPropSet(mxModel); diff --git a/chart2/source/controller/sidebar/ChartColorWrapper.hxx b/chart2/source/controller/sidebar/ChartColorWrapper.hxx index 63dc749bfe5d..b108eca90afe 100644 --- a/chart2/source/controller/sidebar/ChartColorWrapper.hxx +++ b/chart2/source/controller/sidebar/ChartColorWrapper.hxx @@ -27,6 +27,7 @@ public: const OUString& rPropertyName); void operator()(const OUString& rCommand, const NamedColor& rColor); + // ColorSelectFunction signature void updateModel(const css::uno::Reference& xModel); -- cgit