summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-18 00:00:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-18 08:30:31 +0100
commitc446adbcbd0fac9668de9cb3c48f3b57b95ba785 (patch)
tree77d68e471b4c9459ec29f59fdffdc7fb33fc9180 /svx
parent63d8041c60c5d7c63dd34f94a694871b7ea9e2ca (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index ac4c2339b872..954ebcf563e4 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -3798,7 +3798,8 @@ ListBoxColorWrapper::ListBoxColorWrapper(ColorListBox* pControl)
{
}
-void ListBoxColorWrapper::operator()(const OUString& /*rCommand*/, const NamedColor& rColor)
+void ListBoxColorWrapper::operator()(
+ [[maybe_unused]] const OUString& /*rCommand*/, const NamedColor& rColor)
{
mpControl->Selected(rColor);
}