Kaydet (Commit) e1d8f611 authored tarafından Radek Doulik's avatar Radek Doulik

fix text rotation for txXfrm element, fixes n#783433

Change-Id: I82a14170ce8d58184b1a86f7fc0f9e9d93238c92
üst 40796af9
......@@ -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 << "'");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment