summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-13 11:44:39 +0200
committerNoel Grandin <noel@peralex.com>2015-11-13 11:45:12 +0200
commit977220881cfffefb49843f27d3ab68f2de555469 (patch)
tree48a4bf6ea5592646a89634894e601b033b53ecee /sc/source/filter
parentc6c8af5ef46e2178e4b9abcd95f76c8df2db2732 (diff)
some older gcc doesn't like auto in lambdas
Change-Id: I4491ed75bfe588b5c4e307d17319e1f0feda1678
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/lotus/lotattr.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx
index ee33bdbefee4..974267c4a11f 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);