summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-16 13:04:52 +0100
committerAndras Timar <andras.timar@collabora.com>2014-04-22 09:38:16 +0200
commit3df488ded4391872fe9a1d428018e7f7a73dbaad (patch)
treedae0c2f697be4d0bbd7e23200ccc4228db1908d0 /starmath
parent391ff32a348234711225394ded3b2c67c0f58037 (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>
Diffstat (limited to 'starmath')
-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;
}