summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2017-03-06 06:47:32 +0100
committerAndras Timar <andras.timar@collabora.com>2017-03-10 16:22:37 +0100
commit003fa424053ed63b2d7d1a0c66fbbb4cad6268b0 (patch)
tree4d81a6522150a36a147695c749c74c1e2d217a4f /svl
parent2fc7778ba2ce545ecb6bd2e60a09eeb8fdb44b49 (diff)
tdf#106190 Move meber variable to local
Update b2738c6f67cb650ac32228f3cd20b9dfe4b41c9c Change-Id: I8417dcf948e72376c7e67bee78df56c3021b55de Reviewed-on: https://gerrit.libreoffice.org/34913 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 90cf564324ed9421f52742a0955bacab9407a872) Reviewed-on: https://gerrit.libreoffice.org/34921 (cherry picked from commit 439c820e873b6f6c1c9ce189d05ea7426c102b46)
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforscan.cxx2
-rw-r--r--svl/source/numbers/zforscan.hxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 5529dcc29462..34137cb85f42 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 e0cec64bc859..001abe6de491 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