| commit | 8e475035a77b47001ad09ca0c333d3eabe82bf27 | [log] |
|---|---|---|
| author | Mike Kaganski <mike.kaganski@collabora.com> | Sun Apr 28 00:47:50 2019 +0300 |
| committer | Mike Kaganski <mike.kaganski@collabora.com> | Sun Apr 28 08:35:57 2019 +0200 |
| tree | ba01b522d499a518a991ac0dd1a7c8bbf9304342 | |
| parent | 38e7f933c86b66010f65d821155eccd9e8a4135e [diff] |
tdf#120703 PVS: Blind attempt to implement original idea The strange implementation was there ever since commit bd36338009672fdabd5b6d585f8c1092b617196a. The other possibility is to just remove the block above the last assignment to aRet Change-Id: I5bd3bf1f518ab894e5df4cbc7d86a76d325e4600 Reviewed-on: https://gerrit.libreoffice.org/71447 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx index c55c03d..efd8028 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx
@@ -555,10 +555,10 @@ 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: