diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-08 17:39:23 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-08 17:41:39 +0100 |
commit | c71de19e96d4023be747d6f15b1cb4c05fbf0734 (patch) | |
tree | cb1e45f861a317525a4895d366d9e58f8c0a5a34 /slideshow/test | |
parent | 28f55d0d5ef8616ac45ca36e6fc23a21b64b7a13 (diff) |
Port stuff to our private implementation of SGI extensions
Diffstat (limited to 'slideshow/test')
-rw-r--r-- | slideshow/test/testshape.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/slideshow/test/testshape.cxx b/slideshow/test/testshape.cxx index 9bf39cc0ce8a..4bd7b934ff6e 100644 --- a/slideshow/test/testshape.cxx +++ b/slideshow/test/testshape.cxx @@ -41,6 +41,8 @@ #include "tests.hxx" #include "com/sun/star/presentation/XSlideShowView.hpp" +#include <o3tl/compat_functional.hxx> + #include <boost/bind.hpp> namespace target = slideshow::internal; @@ -143,7 +145,7 @@ private: maViewLayers.end(), boost::bind( std::equal_to< target::ViewLayerSharedPtr >(), boost::cref( rNewLayer ), - boost::bind( std::select1st<ViewVector::value_type>(), + boost::bind( o3tl::select1st<ViewVector::value_type>(), _1 ))) == maViewLayers.end() ) throw std::exception(); @@ -153,7 +155,7 @@ private: maViewLayers.end(), boost::bind( std::equal_to< target::ViewLayerSharedPtr >(), boost::cref( rNewLayer ), - boost::bind( std::select1st<ViewVector::value_type>(), + boost::bind( o3tl::select1st<ViewVector::value_type>(), _1 )))); return true; } |