[Libreoffice-commits] .: svl/source
Muthu Subramanian
sumuthu at kemper.freedesktop.org
Tue Jan 11 23:04:16 PST 2011
svl/source/numbers/zforscan.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 49dc4b9d5fe9352764950650d569aa2b5ef9d153
Author: Muthu Subramanian K <sumuthu at novell.com>
Date: Wed Jan 12 12:30:06 2011 +0530
Fix forced div formatting (when nCntPre = 0)
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 495314a..ef33c00 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
More information about the Libreoffice-commits
mailing list