From 90cf564324ed9421f52742a0955bacab9407a872 Mon Sep 17 00:00:00 2001 From: Laurent Balland-Poirier Date: Mon, 6 Mar 2017 06:47:32 +0100 Subject: tdf#106190 Move meber variable to local Update b2738c6f67cb650ac32228f3cd20b9dfe4b41c9c Change-Id: I8417dcf948e72376c7e67bee78df56c3021b55de Reviewed-on: https://gerrit.libreoffice.org/34913 Tested-by: Jenkins Reviewed-by: Eike Rathke --- svl/source/numbers/zforscan.cxx | 2 +- svl/source/numbers/zforscan.hxx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'svl/source/numbers') diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index 485ec405084f..7dbbb99a43da 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 62a6629cb9d3..30fc8384e80b 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 -- cgit