diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-17 18:20:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-17 23:43:26 +0100 |
commit | de1ac1c349435a229aec8682f8f8a796c3ca4dc5 (patch) | |
tree | 9b22061cb7ba8dfbd3ddf856d75529f7bf358427 /svx | |
parent | 93b1adf7442839dcfbf16660b1fbe1139f14a4d0 (diff) |
Reuse ColorSelectFunction from colorwindow.hxx in PaletteManager.hxx
Change-Id: I86b9bf57cbb5ee7e2b0d189d6ff78a3fbc9145fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106021
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/PaletteManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index 1e19ecd10b56..f3630cc492aa 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -292,7 +292,7 @@ void PaletteManager::SetBtnUpdater(svx::ToolboxButtonColorUpdaterBase* pBtnUpdat mpBtnUpdater = pBtnUpdater; } -void PaletteManager::SetColorSelectFunction(const std::function<void(const OUString&, const NamedColor&)>& aColorSelectFunction) +void PaletteManager::SetColorSelectFunction(const ColorSelectFunction& aColorSelectFunction) { maColorSelectFunction = aColorSelectFunction; } |