summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-16 13:04:52 +0100
committerKohei Yoshida <libreoffice@kohei.us>2014-04-16 19:46:34 +0000
commitf7e32ba07910956bd09d79e37eb8ce6eb8a0ac30 (patch)
tree2c19f2e814dee4673ddd628b39170317b6cc41d3
parent44c9235ba8ab513451fcc6cd5dbdf82c577481f1 (diff)
Resolves: fdo#75525 out by one error
(cherry picked from commit 12984e46704f1e55f76b210cf65217e54662dc26) Conflicts: starmath/source/dialog.cxx Change-Id: I0171d2a79b6b015fa2f01d78228e901005017fb0 Reviewed-on: https://gerrit.libreoffice.org/9066 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
-rw-r--r--starmath/source/dialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 73d93ab611eb..fc9641bafd80 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -643,7 +643,7 @@ SmCategoryDesc::SmCategoryDesc(VclBuilderContainer& rBuilder, sal_uInt16 nCatego
Graphics [i] = 0;
}
- const FieldMinMax &rMinMax = pMinMaxData[ nCategoryIdx ][i];
+ const FieldMinMax &rMinMax = pMinMaxData[ nCategoryIdx-1 ][i];
Value[i] = Minimum[i] = rMinMax.nMin;
Maximum[i] = rMinMax.nMax;
}