diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-06-16 12:03:24 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-06-16 12:03:24 +0100 |
commit | c6e8f302e634112781929e398fe6874b9a762adf (patch) | |
tree | 745111be1b6906f1e64a7ff83bbe9c7cbfba7c93 /svl/source | |
parent | 2efac6b4d53821ef9167f3e04f205e1f6ae28638 (diff) |
initialize number scanner.
Change-Id: I259754957a5ff7d07d5d6e4a252c3460f236f034
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/numbers/zforfind.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index bd68ab4d3f3f..9fdc167bcb9e 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -139,6 +139,12 @@ void ImpSvNumberInputScan::Reset() nDatePatternStart = 0; nDatePatternNumbers = 0; nCanForceToIso8601 = 0; + + for (sal_uInt32 i = 0; i < SV_MAX_ANZ_INPUT_STRINGS; i++) + { + IsNum[i] = false; + nNums[i] = 0; + } } |