diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-08-17 11:16:40 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-08-17 11:16:40 +0000 |
commit | 17985904ee3982397364b2e60903792325b92c5a (patch) | |
tree | 400c4299725081f9aae2443c37daff5151e2272b /chart2/source/view/main/VTitle.cxx | |
parent | INTEGRATION: CWS chart12 (1.19.4); FILE MERGED (diff) | |
download | core-17985904ee3982397364b2e60903792325b92c5a.tar.gz core-17985904ee3982397364b2e60903792325b92c5a.zip |
INTEGRATION: CWS chart12 (1.14.4); FILE MERGED
2007/08/09 12:25:53 iha 1.14.4.1: #i80521# rotated titles are loaded wrong and saved wrong
Diffstat (limited to 'chart2/source/view/main/VTitle.cxx')
-rw-r--r-- | chart2/source/view/main/VTitle.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chart2/source/view/main/VTitle.cxx b/chart2/source/view/main/VTitle.cxx index ba678b9e09e2..103b2113f0d0 100644 --- a/chart2/source/view/main/VTitle.cxx +++ b/chart2/source/view/main/VTitle.cxx @@ -4,9 +4,9 @@ * * $RCSfile: VTitle.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: hr $ $Date: 2007-08-03 12:37:36 $ + * last change: $Author: ihi $ $Date: 2007-08-17 12:16:40 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -136,8 +136,7 @@ void VTitle::changePosition( const awt::Point& rPos ) //set position matrix //the matrix needs to be set at the end behind autogrow and such position influencing properties ::basegfx::B2DHomMatrix aM; - // aM.Scale( 1, 1 ); Oops? A scale with this parameters is neutral, line commented out - aM.rotate( m_fRotationAngleDegree*F_PI/180.0 ); + aM.rotate( -m_fRotationAngleDegree*F_PI/180.0 );//#i78696#->#i80521# aM.translate( m_nXPos, m_nYPos); xShapeProp->setPropertyValue( C2U( "Transformation" ), uno::makeAny( B2DHomMatrixToHomogenMatrix3(aM) ) ); } @@ -297,8 +296,7 @@ void VTitle::createShapes( //set position matrix //the matrix needs to be set at the end behind autogrow and such position influencing properties ::basegfx::B2DHomMatrix aM; - // aM.Scale( 1, 1 ); Oops? A scale with this parameters is neutral, line commented out - aM.rotate( m_fRotationAngleDegree*F_PI/180.0 ); + aM.rotate( -m_fRotationAngleDegree*F_PI/180.0 );//#i78696#->#i80521# aM.translate( m_nXPos, m_nYPos ); xShapeProp->setPropertyValue( C2U( "Transformation" ), uno::makeAny( B2DHomMatrixToHomogenMatrix3(aM) ) ); } |