diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 13:04:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 14:15:23 +0000 |
commit | c0fca42bf7c192292d0ab5058d6b1815477bf57c (patch) | |
tree | c4006915e366f6755c2a63bf3475256e9bf1f69f | |
parent | 0c4a6c614a798ac9844a90b1a89ae2db16293f79 (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>
(cherry picked from commit f7e32ba07910956bd09d79e37eb8ce6eb8a0ac30)
Reviewed-on: https://gerrit.libreoffice.org/9080
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | starmath/source/dialog.cxx | 2 |
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; } |