summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorKarl Hong <khong@openoffice.org>2002-10-11 01:04:21 +0000
committerKarl Hong <khong@openoffice.org>2002-10-11 01:04:21 +0000
commit5b0017eb756a2c61be4640a13baa83129a008016 (patch)
treea8ce15bbfa8a49a2e46e79392717a7fc002e3eca /i18npool
parent8723d55b671dee23ce6497bcdbc025ae769c2b24 (diff)
#104141# fix a problem in Japanese NatNum7
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/nativenumber/nativenumbersupplier.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx
index 86d9f9a180a5..806516013cc4 100644
--- a/i18npool/source/nativenumber/nativenumbersupplier.cxx
+++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: nativenumbersupplier.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: khong $ $Date: 2002-10-10 19:02:25 $
+ * last change: $Author: khong $ $Date: 2002-10-11 02:04:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -170,7 +170,8 @@ sal_Bool SAL_CALL AsciiToNative_numberMaker(const sal_Unicode *str, sal_Int32 be
}
}
if (printPower) {
- if (count > 0 && dst[count-1] == numberChar[0])
+ if (count > 0 && number->multiplierExponent[number->exponentCount-1] == 1 &&
+ dst[count-1] == numberChar[0])
count--;
if (multiChar > 0) {
dst[count] = multiChar;