diff options
Diffstat (limited to 'svx/source/tbxctrls/tbcontrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 98e5f602fbb4..ad4fd0ea3b24 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -3228,7 +3228,7 @@ void SvxColorListBox::EnsurePaletteManager() if (!m_xPaletteManager) { m_xPaletteManager.reset(new PaletteManager); - m_xPaletteManager->SetColorSelectFunction(m_aColorWrapper); + m_xPaletteManager->SetColorSelectFunction(std::ref(m_aColorWrapper)); m_xPaletteManager->SetLastColor(m_aSelectedColor.first); } } |