svx/source/tbxctrls/PaletteManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 13d288a0d1151e285b3deec5df1b452238e7b0dd
Author: Caolán McNamara <[email protected]>
Date:   Wed Aug 31 09:48:12 2016 +0100

    build fix
    
    Change-Id: Ia752f08a483dbff355609502c10fcde12d56015a

diff --git a/svx/source/tbxctrls/PaletteManager.cxx 
b/svx/source/tbxctrls/PaletteManager.cxx
index bf78e310..c65c7c7 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 );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to