From 21705873711b1c8665d3604dcd48cffd3ed96b89 Mon Sep 17 00:00:00 2001 From: Ingrid Halama Date: Fri, 7 May 2010 20:06:36 +0200 Subject: chart47: #i111456# use 9 sub intervals per default for logarithmic scales --- oox/source/drawingml/chart/axisconverter.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'oox/source/drawingml/chart/axisconverter.cxx') diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx index 3ad1c0023ebe..5fa4c6fe28e0 100644 --- a/oox/source/drawingml/chart/axisconverter.cxx +++ b/oox/source/drawingml/chart/axisconverter.cxx @@ -241,7 +241,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo Any& rIntervalCount = rSubIncrementSeq[ 0 ].IntervalCount; if( bLogScale ) { - rIntervalCount <<= sal_Int32( 10 ); + if( mrModel.mofMinorUnit.has() ) + rIntervalCount <<= sal_Int32( 9 ); } else { -- cgit