maTransform had to go ( was always = identity)

This commit is contained in:
Christina Rossmanith
2012-03-20 20:35:01 +01:00
committed by Fridrich Štrba
parent 7be233e60a
commit e55595d0e0
2 changed files with 0 additions and 3 deletions

View File

@@ -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)
@@ -142,7 +141,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),

View File

@@ -73,7 +73,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;