[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - starmath/source

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


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

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

    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 at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>

diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 73d93ab..fc9641b 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;
         }


More information about the Libreoffice-commits mailing list