diff options
author | Muthu Subramanian K <sumuthu@novell.com> | 2011-01-12 12:30:06 +0530 |
---|---|---|
committer | Muthu Subramanian K <sumuthu@novell.com> | 2011-01-12 12:30:06 +0530 |
commit | 16752e0ac995a3cc8829abaa723392d653055775 (patch) | |
tree | b536ec222ff78dc4e1bd433bf0564a996d843731 /svl/source/numbers/zforscan.cxx | |
parent | 4a85f127b9804a48c1ae995c010ddcf9d22ee859 (diff) |
Fix forced div formatting (when nCntPre = 0)
Diffstat (limited to 'svl/source/numbers/zforscan.cxx')
-rw-r--r-- | svl/source/numbers/zforscan.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index 550cf8399923..25471dae5107 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -1627,6 +1627,8 @@ xub_StrLen ImpSvNumberformatScan::FinalScan( String& rString, String& rComment ) nCounter = nCntPost; else if (nCntPre) nCounter = nCntPre; + if (!nCntPre) + nCntPre++; } } else |