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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 29 09:55:38 PDT 2012


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

New commits:
commit 91d057474682c52e978e1ea93d05655622cc5914
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 4cd0cfe..8c66aa7 100644
--- a/oox/source/drawingml/textbodypropertiescontext.cxx
+++ b/oox/source/drawingml/textbodypropertiescontext.cxx
@@ -104,7 +104,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