[Libreoffice-commits] .: Branch 'distro/suse/suse-3.6' - oox/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 15 06:46:26 PDT 2012


 oox/source/drawingml/shape.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4480fb71ff605fe5325a06c99f737b795111bbba
Author: Radek Doulik <rodo at novell.com>
Date:   Wed Oct 10 17:23:52 2012 +0200

    fix text rotation for txXfrm element, fixes n#783433
    
    Change-Id: I82a14170ce8d58184b1a86f7fc0f9e9d93238c92

diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 242dd43..792cce4 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 << "'");


More information about the Libreoffice-commits mailing list