summaryrefslogtreecommitdiff
path: root/slideshow/test
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2015-08-11 09:21:56 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-08-11 09:17:16 +0000
commit2c587f08edaec09d5af53504c916c4dee0617555 (patch)
tree0af119f012436fee040c99df6918ccf3eaec1f77 /slideshow/test
parentff265a5f9bc85e6043487cb2566ed2396d3b1e16 (diff)
slideshow: prefer value_type over manual type generation
Change-Id: I3e088a10e7bc0da73e4fa20db15e71581661fe4b Reviewed-on: https://gerrit.libreoffice.org/17641 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'slideshow/test')
-rw-r--r--slideshow/test/testshape.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/test/testshape.cxx b/slideshow/test/testshape.cxx
index a64ac20cebd2..fbd1d2a27e5b 100644
--- a/slideshow/test/testshape.cxx
+++ b/slideshow/test/testshape.cxx
@@ -129,7 +129,7 @@ private:
maViewLayers.begin(),
maViewLayers.end(),
[&rNewLayer]
- ( const ::std::pair< ViewVector::key_type, ViewVector::mapped_type >& cp )
+ ( const ViewVector::value_type& cp )
{ return cp.first == rNewLayer; } ) )
throw std::exception();
@@ -138,7 +138,7 @@ private:
maViewLayers.begin(),
maViewLayers.end(),
[&rNewLayer]
- ( const ::std::pair< ViewVector::key_type, ViewVector::mapped_type >& cp )
+ ( const ViewVector::value_type& cp )
{ return cp.first == rNewLayer; } ) );
return true;
}