[Libreoffice-commits] core.git: sc/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Dec 13 17:24:03 UTC 2018


 sc/inc/subtotal.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0a772eeefdbc42f5c17c8c0e39476b95cae237c2
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Thu Dec 13 14:27:31 2018 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Thu Dec 13 18:23:31 2018 +0100

    Allow better packing of ScFunctionData
    
    Change-Id: I10fde27502903c5fdbd474995237502d2636a403
    Reviewed-on: https://gerrit.libreoffice.org/65106
    Tested-by: Jenkins
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/inc/subtotal.hxx b/sc/inc/subtotal.hxx
index d8bf53de6050..441e2e18c0d3 100644
--- a/sc/inc/subtotal.hxx
+++ b/sc/inc/subtotal.hxx
@@ -53,13 +53,13 @@ private:
 struct ScFunctionData                   // to calculate single functions
 {
     WelfordRunner   maWelford;
-    ScSubTotalFunc const  eFunc;
     double          nVal;
     sal_uInt64      nCount;
+    ScSubTotalFunc const  eFunc;
     bool            bError;
 
     ScFunctionData( ScSubTotalFunc eFn ) :
-        eFunc(eFn), nVal(0.0), nCount(0), bError(false) {}
+        nVal(0.0), nCount(0), eFunc(eFn), bError(false) {}
     void update( double fNewVal );
     /// Check bError after (!) obtaining the result.
     double getResult();


More information about the Libreoffice-commits mailing list