summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2012-10-25 16:12:16 +0530
committerMuthu Subramanian <sumuthu@suse.com>2012-10-25 16:12:16 +0530
commitd6f6086f850720d77b48b06b51e873d90e9ad5ee (patch)
treeadf5fc3f2969f0ab09539b37aacdec8b42b77e99 /oox
parent5c64ed1bc3782b71f4eda5971759d61b88444c71 (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 e3c0e1be34dd..273c5cf63719 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 );