summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2012-10-25 16:12:16 +0530
committerTor Lillqvist <tlillqvist@novell.com>2012-10-29 17:54:59 +0100
commit91d057474682c52e978e1ea93d05655622cc5914 (patch)
tree13d0c632cfd8a7e821e72a3bfa570a338e9b5273 /oox
parent9eac0d367a3933db5c482c79642a141a8670b51c (diff)
n#773048: Adjust rotate in relation to fix for n#783433
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textbodypropertiescontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx
index 4cd0cfe2361c..8c66aa7311e8 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 );