diff options
author | Muthu Subramanian <sumuthu@collabora.com> | 2014-03-26 16:05:44 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@collabora.com> | 2014-03-27 13:27:28 +0530 |
commit | e3e12b1d1e36e1a0d4fc4c6423b584d677693897 (patch) | |
tree | 1831d0f8a782a70aecefb1bd0d1f95796354fe41 /oox | |
parent | ddecc215614de485ab1b64812cb1b51644cad280 (diff) |
n#862510: Fix text rotation.
Fix breaks document in n#783433 - the one there is
damaged - resaving it using mso 2010 should fix the problem there.
Change-Id: Ib2ee7ab20489d716dc189ac6810d705763a16476
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/transform2dcontext.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/drawingml/transform2dcontext.cxx b/oox/source/drawingml/transform2dcontext.cxx index e232b4d27e33..0a1bb592f8c7 100644 --- a/oox/source/drawingml/transform2dcontext.cxx +++ b/oox/source/drawingml/transform2dcontext.cxx @@ -46,7 +46,8 @@ Transform2DContext::Transform2DContext( ContextHandler2Helper& rParent, const At } else { - mrShape.getTextBody()->getTextProperties().moRotation = rAttribs.getInteger( XML_rot ); + if( rAttribs.hasAttribute( XML_rot ) ) + mrShape.getTextBody()->getTextProperties().moRotation = -rAttribs.getInteger( XML_rot ).get(); } } |