summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/shapes/viewshape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/shapes/viewshape.cxx')
-rw-r--r--slideshow/source/engine/shapes/viewshape.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/slideshow/source/engine/shapes/viewshape.cxx b/slideshow/source/engine/shapes/viewshape.cxx
index 76bce5ebe3e7..00a4ef4006f8 100644
--- a/slideshow/source/engine/shapes/viewshape.cxx
+++ b/slideshow/source/engine/shapes/viewshape.cxx
@@ -57,7 +57,6 @@
#include "viewshape.hxx"
#include "tools.hxx"
-#include "lerp.hxx"
#include <boost/bind.hpp>
@@ -461,9 +460,9 @@ namespace slideshow
if( mbForceUpdate || (nUpdateFlags & ALPHA) )
{
mpSprite->setAlpha( (pAttr && pAttr->isAlphaValid()) ?
- ::canvas::tools::clamp(pAttr->getAlpha(),
- 0.0,
- 1.0) :
+ ::basegfx::clamp(pAttr->getAlpha(),
+ 0.0,
+ 1.0) :
1.0 );
}
if( mbForceUpdate || (nUpdateFlags & CLIP) )