[Libreoffice-commits] core.git: sc/source
Noel Grandin
noel at peralex.com
Fri Nov 13 01:45:37 PST 2015
sc/source/filter/lotus/lotattr.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 977220881cfffefb49843f27d3ab68f2de555469
Author: Noel Grandin <noel at 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);
More information about the Libreoffice-commits
mailing list