summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/ChartModel_Persistence.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-06 13:00:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-06 15:11:59 +0000
commitb37bce11cf59c6c9544e62e81f71a07e4d987a34 (patch)
tree855229c7d6e375846352dad3d06610700c7f337b /chart2/source/model/main/ChartModel_Persistence.cxx
parenteb07ab05c3b8774ab2b2059befef0eadf61c97d6 (diff)
Resolves: rhbz#975421 wrong chart direction in Farsi
Where Farsi (and apparenly Moroccon) are RTL but have LTR math and charts should reportedly follow the math direction Change-Id: Ib60eaaaa90fe46ef240030a91169fdff3f736329
Diffstat (limited to 'chart2/source/model/main/ChartModel_Persistence.cxx')
-rw-r--r--chart2/source/model/main/ChartModel_Persistence.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx
index d964ced0d9ff..003e3354a271 100644
--- a/chart2/source/model/main/ChartModel_Persistence.cxx
+++ b/chart2/source/model/main/ChartModel_Persistence.cxx
@@ -412,7 +412,7 @@ void SAL_CALL ChartModel::initNew()
setFirstDiagram( xDiagram );
- bool bIsRTL = Application::GetSettings().GetLayoutRTL();
+ bool bIsRTL = Application::GetSettings().GetMathLayoutRTL();
//reverse x axis for rtl charts
if( bIsRTL )
AxisHelper::setRTLAxisLayout( AxisHelper::getCoordinateSystemByIndex( xDiagram, 0 ) );