diff options
author | sushil_shinde <sushilshinde@libreoffice.org> | 2014-10-10 11:25:42 +0530 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2014-10-11 16:57:32 +0000 |
commit | 4027bc476a1df9df1924447795ddc2d8b7744e20 (patch) | |
tree | a40f9499e26f92c15691b4e55f39342ab41bd146 /oox/source | |
parent | 89c98b7d20d05ed0ee0f4d014295b430611b095f (diff) |
fdo#84647 : Fixed default value for TickLableSkip value.
1. 'TextCanOverlap' property was stored as false if TickLableSkip
is not equal to one.
2. For OOXML charts TickLableSkip can be between 1 to 999999999.
3. We can not apply zero or less than zero value to TickLableSkip.
( As per specification)
4. In axis model default value for TickLableSkip was zero which is
incorrect.
5. Added unit test to check 'TextCanOverlap' property for chart.
Change-Id: Ib3104b1d932f6e9376c149eabb201c8e9ad23da9
Reviewed-on: https://gerrit.libreoffice.org/11901
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/drawingml/chart/axismodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/axismodel.cxx b/oox/source/drawingml/chart/axismodel.cxx index d4163bca151f..cbd66b789a2a 100644 --- a/oox/source/drawingml/chart/axismodel.cxx +++ b/oox/source/drawingml/chart/axismodel.cxx @@ -46,7 +46,7 @@ AxisModel::AxisModel( sal_Int32 nTypeId ) : mnMinorTimeUnit( XML_days ), mnOrientation( XML_minMax ), mnTickLabelPos( XML_nextTo ), - mnTickLabelSkip( 0 ), + mnTickLabelSkip( 1 ), mnTickMarkSkip( 0 ), mnTypeId( nTypeId ), mbAuto( false ), |