summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/animationfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/animationfactory.cxx')
-rw-r--r--slideshow/source/engine/animationfactory.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/slideshow/source/engine/animationfactory.cxx b/slideshow/source/engine/animationfactory.cxx
index 30449a965d09..607e79b973af 100644
--- a/slideshow/source/engine/animationfactory.cxx
+++ b/slideshow/source/engine/animationfactory.cxx
@@ -36,8 +36,6 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
-#include <functional>
-
using namespace ::com::sun::star;
@@ -578,7 +576,7 @@ namespace slideshow
};
//Current c++0x draft (apparently) has std::identity, but not operator()
- template<typename T> struct SGI_identity : public std::unary_function<T,T>
+ template<typename T> struct SGI_identity
{
T& operator()(T& x) const { return x; }
const T& operator()(const T& x) const { return x; }