[Libreoffice-commits] core.git: starmath/source

Caolán McNamara caolanm at redhat.com
Wed Apr 16 05:05:48 PDT 2014


 starmath/source/dialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 12984e46704f1e55f76b210cf65217e54662dc26
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 16 13:04:52 2014 +0100

    Resolves: fdo#75525 out by one error
    
    Change-Id: I0171d2a79b6b015fa2f01d78228e901005017fb0

diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 919aff8..6e9dfde 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -641,7 +641,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;
     }


More information about the Libreoffice-commits mailing list