[PATCH] maTransform had to go ( was always = identity)

Christina Rossmanith ChrRossmanith at web.de
Tue Mar 20 12:35:01 PDT 2012


---
 sdext/source/presenter/PresenterSprite.cxx |    2 --
 sdext/source/presenter/PresenterSprite.hxx |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/sdext/source/presenter/PresenterSprite.cxx b/sdext/source/presenter/PresenterSprite.cxx
index 0fca939..428f34b 100644
--- a/sdext/source/presenter/PresenterSprite.cxx
+++ b/sdext/source/presenter/PresenterSprite.cxx
@@ -44,7 +44,6 @@ PresenterSprite::PresenterSprite (void)
       mxSprite(),
       maSize(0,0),
       maLocation(0,0),
-      maTransform(1,0,0, 0,1,0),
       mbIsVisible(false),
       mnPriority(0),
       mnAlpha(1.0)
@@ -149,7 +148,6 @@ void PresenterSprite::ProvideSprite (void)
         mxSprite = mxSpriteFactory->createCustomSprite(maSize);
         if (mxSprite.is())
         {
-            mxSprite->transform(maTransform);
             mxSprite->move(maLocation,
                 rendering::ViewState(
                 geometry::AffineMatrix2D(1,0,0, 0,1,0),
diff --git a/sdext/source/presenter/PresenterSprite.hxx b/sdext/source/presenter/PresenterSprite.hxx
index 58755d7..787d1fa 100644
--- a/sdext/source/presenter/PresenterSprite.hxx
+++ b/sdext/source/presenter/PresenterSprite.hxx
@@ -74,7 +74,6 @@ private:
     ::css::uno::Reference<css::rendering::XCustomSprite> mxSprite;
     css::geometry::RealSize2D maSize;
     css::geometry::RealPoint2D maLocation;
-    css::geometry::AffineMatrix2D maTransform;
     bool mbIsVisible;
     double mnPriority;
     double mnAlpha;
-- 
1.7.4.1


--------------060405090204070608030400--


More information about the LibreOffice mailing list