[Libreoffice-commits] .: oox/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Oct 25 03:52:07 PDT 2012


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

New commits:
commit d6f6086f850720d77b48b06b51e873d90e9ad5ee
Author: Muthu Subramanian <sumuthu at suse.com>
Date:   Thu Oct 25 16:12:16 2012 +0530

    n#773048: Adjust rotate in relation to fix for n#783433

diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx
index e3c0e1b..273c5cf 100644
--- a/oox/source/drawingml/textbodypropertiescontext.cxx
+++ b/oox/source/drawingml/textbodypropertiescontext.cxx
@@ -94,7 +94,7 @@ TextBodyPropertiesContext::TextBodyPropertiesContext( ContextHandler& rParent,
         bool bRtl = aAttribs.getBool( XML_rtl, false );
         sal_Int32 tVert = mrTextBodyProp.moVert.get( XML_horz );
         if( tVert == XML_vert || tVert == XML_eaVert || tVert == XML_vert270 || tVert == XML_mongolianVert )
-            mrTextBodyProp.moRotation = 5400000*(tVert==XML_vert270?3:1);
+            mrTextBodyProp.moRotation = -5400000*(tVert==XML_vert270?3:1);
         else
             mrTextBodyProp.maPropertyMap[ PROP_TextWritingMode ]
                 <<= ( bRtl ? WritingMode_RL_TB : WritingMode_LR_TB );


More information about the Libreoffice-commits mailing list