diff options
author | thb <thb@openoffice.org> | 2010-01-28 12:49:43 +0100 |
---|---|---|
committer | thb <thb@openoffice.org> | 2010-01-28 12:49:43 +0100 |
commit | 84ed0f699225aa8271057920a62f4faa597a6654 (patch) | |
tree | 5f10368dd63d16111cf9c0cff248279ba203136e /slideshow/source/engine/tools.cxx | |
parent | f9279fa745422207350eabc8f67edc3eba94d6d3 (diff) | |
parent | 5c2d284b0f9973aada365a8f464f1152671bd629 (diff) |
eraser01: merge with DEV300 m70
Diffstat (limited to 'slideshow/source/engine/tools.cxx')
-rw-r--r-- | slideshow/source/engine/tools.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/tools.cxx b/slideshow/source/engine/tools.cxx index 2f3a18744144..9d214ad0fd0b 100644 --- a/slideshow/source/engine/tools.cxx +++ b/slideshow/source/engine/tools.cxx @@ -51,6 +51,7 @@ #include <basegfx/vector/b2ivector.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/numeric/ftools.hxx> +#include <basegfx/matrix/b2dhommatrixtools.hxx> #include <cppcanvas/basegfxfactory.hxx> @@ -524,10 +525,9 @@ namespace slideshow { if( !pAttr ) { - ::basegfx::B2DHomMatrix aTransform; - - aTransform.scale( rShapeBounds.getWidth(), rShapeBounds.getHeight() ); - aTransform.translate( rShapeBounds.getMinX(), rShapeBounds.getMinY() ); + const basegfx::B2DHomMatrix aTransform(basegfx::tools::createScaleTranslateB2DHomMatrix( + rShapeBounds.getWidth(), rShapeBounds.getHeight(), + rShapeBounds.getMinX(), rShapeBounds.getMinY())); return aTransform; } |