summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xichart.cxx
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2010-05-07 20:06:36 +0200
committerIngrid Halama <iha@openoffice.org>2010-05-07 20:06:36 +0200
commite0d2837a01dd60a2103d26b59e96da0d45f2b09a (patch)
tree089b94b1bd7aac9827d162e411bfcbdbdc48b9de /sc/source/filter/excel/xichart.cxx
parent719a8ec12a09384e9ef08c671a0b07b7872fa085 (diff)
chart47: #i111456# use 9 sub intervals per default for logarithmic scales
Diffstat (limited to 'sc/source/filter/excel/xichart.cxx')
-rw-r--r--sc/source/filter/excel/xichart.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx
index 6734f90948e4..67cce13a15a2 100644
--- a/sc/source/filter/excel/xichart.cxx
+++ b/sc/source/filter/excel/xichart.cxx
@@ -2741,7 +2741,8 @@ void XclImpChValueRange::Convert( ScaleData& rScaleData, bool bMirrorOrient ) co
Any& rIntervalCount = rSubIncrementSeq[ 0 ].IntervalCount;
if( bLogScale )
{
- rIntervalCount <<= sal_Int32( 10 );
+ if( !bAutoMinor )
+ rIntervalCount <<= sal_Int32( 9 );
}
else
{