sc/source/filter/lotus/lotattr.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 977220881cfffefb49843f27d3ab68f2de555469
Author: Noel Grandin <n...@peralex.com>
Date:   Fri Nov 13 11:44:39 2015 +0200

    some older gcc doesn't like auto in lambdas
    
    Change-Id: I4491ed75bfe588b5c4e307d17319e1f0feda1678

diff --git a/sc/source/filter/lotus/lotattr.cxx 
b/sc/source/filter/lotus/lotattr.cxx
index ee33bdb..974267c 100644
--- a/sc/source/filter/lotus/lotattr.cxx
+++ b/sc/source/filter/lotus/lotattr.cxx
@@ -89,8 +89,9 @@ const ScPatternAttr& LotAttrCache::GetPattAttr( const 
LotAttrWK3& rAttr )
     sal_uInt32  nRefHash;
     MakeHash( rAttr, nRefHash );
 
-    std::vector< std::unique_ptr<ENTRY> >::const_iterator iter = 
std::find_if(aEntries.begin(),aEntries.end(),
-                                                                 [nRefHash] 
(const auto& rEntry) { return rEntry->nHash0 == nRefHash; });
+    std::vector< std::unique_ptr<ENTRY> >::const_iterator iter
+        = std::find_if(aEntries.begin(),aEntries.end(),
+                       [nRefHash] (const std::unique_ptr<ENTRY>& rEntry) { 
return rEntry->nHash0 == nRefHash; } );
 
     if (iter != aEntries.end())
         return *((*iter)->pPattAttr);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to