summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-06-02 13:47:25 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-06-02 23:15:10 +0200
commitfa0e5e2928547398fdb53cafcefcd9c3ba9c6a7e (patch)
tree409b1793fbfcc2d5c177353a0ca9aabbbb1c010d /oox
parent1754c4d2abaf4360f973973035e51ba1685847bb (diff)
that special case was a really stupid idea, tdf#91685
The default value is context depending and not 0. So always export the rotation value. Change-Id: I36162459757c58846f3ecea7dcbcb58b6ef3d1f6
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 2f0853b935a3..f0911267ec3b 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1110,7 +1110,7 @@ void ChartExport::exportTitle( Reference< XShape > xShape )
pFS->singleElement( FSNS( XML_a, XML_bodyPr ),
XML_vert, sWritingMode,
- XML_rot, nRotation == 0 ? NULL : calcRotationValue(nRotation).getStr(),
+ XML_rot, calcRotationValue(nRotation).getStr(),
FSEND );
// TODO: lstStyle
pFS->singleElement( FSNS( XML_a, XML_lstStyle ),