summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-10-10 17:23:52 +0200
committerRadek Doulik <rodo@novell.com>2012-10-10 17:25:48 +0200
commite1d8f611021d04a0f48101d8416bd0f1ff3eb07c (patch)
tree03913e6d5c61ad52221b405eb3e785597fe060f4 /oox
parent40796af946498d7fb69396dc7b07be40790863df (diff)
fix text rotation for txXfrm element, fixes n#783433
Change-Id: I82a14170ce8d58184b1a86f7fc0f9e9d93238c92
Diffstat (limited to 'oox')
-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 a9f006287d52..6debbcbd4291 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 << "'");