summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-10-10 17:23:52 +0200
committerRadek Doulik <rodo@novell.com>2012-10-15 15:45:49 +0200
commit4480fb71ff605fe5325a06c99f737b795111bbba (patch)
tree38b0c4c38f1ee63f40b8185e9dbfca1d525445f1
parenteb0950f81414aac112d814011c02413354a974b4 (diff)
fix text rotation for txXfrm element, fixes n#783433 suse-3.6-0distro/suse/suse-3-6
Change-Id: I82a14170ce8d58184b1a86f7fc0f9e9d93238c92
-rw-r--r--oox/source/drawingml/shape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 242dd43d5ac5..792cce4d570a 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -562,7 +562,7 @@ Reference< XShape > Shape::createAndInsert(
if( getTextBody() )
{
sal_Int32 nTextRotateAngle = static_cast< sal_Int32 >( getTextBody()->getTextProperties().moRotation.get( 0 ) );
- mpCustomShapePropertiesPtr->setTextRotateAngle( -nTextRotateAngle / 60000 );
+ mpCustomShapePropertiesPtr->setTextRotateAngle( nTextRotateAngle / 60000 );
}
SAL_INFO("oox", "==cscode== shape name: '" << msName << "'");