diff options
author | Matthias Huetsch [mhu] <matthias.huetsch@sun.com> | 2010-01-11 14:29:32 +0100 |
---|---|---|
committer | Matthias Huetsch [mhu] <matthias.huetsch@sun.com> | 2010-01-11 14:29:32 +0100 |
commit | 387a1260f55ad1428a23ba01355c3ebec1001b15 (patch) | |
tree | 3330b67c7840ead629d6de06887bdaf9dd979b90 /slideshow/source/engine/slidebitmap.cxx | |
parent | 23134ce87ab5f2a9a763b156cb9fcf28271209d5 (diff) | |
parent | 63c6c5d78c2712b824c9194269d13422d4835487 (diff) |
Update from master repository (to m69).
Diffstat (limited to 'slideshow/source/engine/slidebitmap.cxx')
-rw-r--r-- | slideshow/source/engine/slidebitmap.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/slideshow/source/engine/slidebitmap.cxx b/slideshow/source/engine/slidebitmap.cxx index 9cc6f042cdb2..c06cc0786865 100644 --- a/slideshow/source/engine/slidebitmap.cxx +++ b/slideshow/source/engine/slidebitmap.cxx @@ -42,6 +42,7 @@ #include <cppuhelper/exc_hlp.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> +#include <basegfx/matrix/b2dhommatrixtools.hxx> #include <canvas/canvastools.hxx> #include <basegfx/tools/canvastools.hxx> @@ -78,9 +79,7 @@ namespace slideshow rendering::RenderState aRenderState; ::canvas::tools::initRenderState( aRenderState ); - ::basegfx::B2DHomMatrix aTranslation; - aTranslation.translate( maOutputPos.getX(), - maOutputPos.getY() ); + const basegfx::B2DHomMatrix aTranslation(basegfx::tools::createTranslateB2DHomMatrix(maOutputPos)); ::canvas::tools::setRenderStateTransform( aRenderState, aTranslation ); try |