summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry/indexentrysupplier.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-01-20 12:39:36 +0000
committerRüdiger Timm <rt@openoffice.org>2004-01-20 12:39:36 +0000
commit5dcdf8fca3574a93a507187e8c0c359d0458f744 (patch)
treee9dccd7b2899945705c2f77cdec21e82753a247d /i18npool/source/indexentry/indexentrysupplier.cxx
parente66f4a9206863be24cbb35c696b36ffda64ff6a1 (diff)
INTEGRATION: CWS i18n10 (1.12.48); FILE MERGED
2003/12/17 20:19:05 khong 1.12.48.1: #i22138# remove TOOLS usage from i18npool
Diffstat (limited to 'i18npool/source/indexentry/indexentrysupplier.cxx')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier.cxx b/i18npool/source/indexentry/indexentrysupplier.cxx
index 118a19058c29..21127b28604e 100644
--- a/i18npool/source/indexentry/indexentrysupplier.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: indexentrysupplier.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: vg $ $Date: 2003-04-24 11:07:14 $
+ * last change: $Author: rt $ $Date: 2004-01-20 13:39:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -60,9 +60,6 @@
************************************************************************/
#include <rtl/ustrbuf.hxx>
-#include <tools/string.hxx>
-#include <tools/intn.hxx>
-#include <tools/isolang.hxx>
#include <indexentrysupplier.hxx>
#include <data/zh_pinyin.h>
#include <data/zh_zhuyin.h>
@@ -238,7 +235,7 @@ OUString SAL_CALL IndexEntrySupplier::getPhoneticCandidate( const OUString& rInd
if (address != 0xFFFF)
address = PhoneticCharacter_ko[address + (ch & 0xFF)];
if (address != 0xFFFF)
- candidate += OUString(address);
+ candidate += OUString(&address, 1);
else
candidate += space;
}