summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx
index c55c03d7b976..efd80288411c 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx
@@ -555,10 +555,10 @@ Any WrappedScaleProperty::getPropertyValue( tScaleProperty eScaleProperty, const
aTimeIncrement.TimeResolution <<= aExplicitScale.TimeResolution;
aRet <<= aTimeIncrement;
}
+ else
+ aRet <<= aScaleData.TimeIncrement;
}
- if( aScaleData.AxisType == AxisType::DATE || aScaleData.AutoDateAxis )
- aRet <<= aScaleData.TimeIncrement;
break;
}
case SCALE_PROP_LOGARITHMIC: