diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 09:48:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 09:48:30 +0100 |
commit | 13d288a0d1151e285b3deec5df1b452238e7b0dd (patch) | |
tree | b415be1aec8d45df6e122eaaa5a792e954204ca9 /svx/source | |
parent | ba96008a02fa3d1675ac2cc0b9310736a8b75041 (diff) |
build fix
Change-Id: Ia752f08a483dbff355609502c10fcde12d56015a
Diffstat (limited to 'svx/source')
-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 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 ); |