mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 23:10:40 +00:00
ICU-2924 Fix HP-UX compiler error, and don't use a converter for a simple UnicodeString
X-SVN-Rev: 13761
This commit is contained in:
parent
f32f95772c
commit
58d3dec95e
1 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) {
|
|||
fRefCount = 1;
|
||||
|
||||
/// todo: maybe add this formally to the builder
|
||||
UnicodeString hardbreak("!!lookAheadHardBreak");
|
||||
UnicodeString hardbreak = UNICODE_STRING_SIMPLE("!!lookAheadHardBreak");
|
||||
if (fRuleString.indexOf(hardbreak) >= 0) {
|
||||
fLookAheadHardBreak = TRUE;
|
||||
}
|
||||
|
@ -256,6 +256,8 @@ void RBBIDataWrapper::printData() {
|
|||
#endif
|
||||
}
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// ubrk_swap - byte swap and char encoding swap of RBBI data
|
||||
|
@ -374,6 +376,4 @@ ubrk_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outD
|
|||
}
|
||||
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
||||
#endif /* #if !UCONFIG_NO_BREAK_ITERATION */
|
||||
|
|
Loading…
Add table
Reference in a new issue