[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - svl/source

Laurent Balland-Poirier laurent.balland-poirier at laposte.net
Mon Mar 6 16:46:54 UTC 2017


 svl/source/numbers/zforscan.cxx |    2 +-
 svl/source/numbers/zforscan.hxx |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 439c820e873b6f6c1c9ce189d05ea7426c102b46
Author: Laurent Balland-Poirier <laurent.balland-poirier at laposte.net>
Date:   Mon Mar 6 06:47:32 2017 +0100

    tdf#106190 Move meber variable to local
    
    Update b2738c6f67cb650ac32228f3cd20b9dfe4b41c9c
    
    Change-Id: I8417dcf948e72376c7e67bee78df56c3021b55de
    Reviewed-on: https://gerrit.libreoffice.org/34913
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>
    (cherry picked from commit 90cf564324ed9421f52742a0955bacab9407a872)
    Reviewed-on: https://gerrit.libreoffice.org/34921

diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 5529dcc..34137cb 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -1079,7 +1079,6 @@ void ImpSvNumberformatScan::Reset()
     nCntExp = 0;
     bFrac = false;
     bBlank = false;
-    bDenomin = false;
     nNatNumModifier = 0;
 }
 
@@ -1562,6 +1561,7 @@ sal_Int32 ImpSvNumberformatScan::FinalScan( OUString& rString )
     bDecSep = false;                       // reset in case already used in TypeCheck
     bool bThaiT = false;                   // Thai T NatNum modifier present
     bool bTimePart = false;
+    bool bDenomin = false;                 // Set when reading end of denominator
 
     switch (eScannedType)
     {
diff --git a/svl/source/numbers/zforscan.hxx b/svl/source/numbers/zforscan.hxx
index e0cec64..001abe6 100644
--- a/svl/source/numbers/zforscan.hxx
+++ b/svl/source/numbers/zforscan.hxx
@@ -174,7 +174,6 @@ private: // Private section
     bool bExp;                                  // Set when reading E
     bool bFrac;                                 // Set when reading /
     bool bBlank;                                // Set when reading ' ' (Fraction)
-    bool bDenomin;                              // Set when reading end of denominator
     bool bDecSep;                               // Set on first ,
     mutable bool bKeywordsNeedInit;             // Locale dependent keywords need to be initialized
     mutable bool bCompatCurNeedInit;            // Locale dependent compatibility currency need to be initialized


More information about the Libreoffice-commits mailing list