summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-08 14:22:01 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-08 14:56:41 +0200
commit28ca767e57e00990428b804154bf15b940c63bd1 (patch)
tree45e7febf2e9bdda8ca816d24e5e82209ddb8171b
parent07e3155a666e85b8213608423ae84dbd2b30c3dc (diff)
default text rotation for secondary axis is also from parent, tdf#75316
Change-Id: I0d17787e1b554854853910b1196582985864c944
-rw-r--r--oox/source/drawingml/chart/axiscontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/axiscontext.cxx b/oox/source/drawingml/chart/axiscontext.cxx
index 058f75966ce5..e735ac82fd45 100644
--- a/oox/source/drawingml/chart/axiscontext.cxx
+++ b/oox/source/drawingml/chart/axiscontext.cxx
@@ -135,7 +135,7 @@ ContextHandlerRef AxisContextBase::onCreateContext( sal_Int32 nElement, const At
return 0;
case C_TOKEN( title ):
{
- bool bVerticalDefault = mrModel.mnAxisPos == XML_l;
+ bool bVerticalDefault = mrModel.mnAxisPos == XML_l || mrModel.mnAxisPos == XML_r;
sal_Int32 nDefaultRotation = bVerticalDefault ? -5400000 : 0;
return new TitleContext( *this, mrModel.mxTitle.create(nDefaultRotation) );
}