summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-31 09:48:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-31 09:48:30 +0100
commit13d288a0d1151e285b3deec5df1b452238e7b0dd (patch)
treeb415be1aec8d45df6e122eaaa5a792e954204ca9 /svx/source
parentba96008a02fa3d1675ac2cc0b9310736a8b75041 (diff)
build fix
Change-Id: Ia752f08a483dbff355609502c10fcde12d56015a
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/tbxctrls/PaletteManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx
index bf78e310f135..c65c7c720f6b 100644
--- a/svx/source/tbxctrls/PaletteManager.cxx
+++ b/svx/source/tbxctrls/PaletteManager.cxx
@@ -257,7 +257,7 @@ void PaletteManager::AddRecentColor(const Color& rRecentColor, const OUString& r
{
auto itColor = std::find_if(maRecentColors.begin(),
maRecentColors.end(),
- [rRecentColor] (const auto &a) { return a.first == rRecentColor; });
+ [rRecentColor] (const color_and_name &a) { return a.first == rRecentColor; });
// if recent color to be added is already in list, remove it
if( itColor != maRecentColors.end() )
maRecentColors.erase( itColor );