diff --git a/frameworks/font/ui_line_break.cpp b/frameworks/font/ui_line_break.cpp index c7e7552194d0fb73254568650d3260729a80e61d..8a2750b9df227c558afb843266a3d6c089becdca 100644 --- a/frameworks/font/ui_line_break.cpp +++ b/frameworks/font/ui_line_break.cpp @@ -101,9 +101,9 @@ void UILineBreakEngine::LoadRule() const RBBIDataHeader* rbbidh = reinterpret_cast(dataInBytes + dh->dataHeader.headerSize); stateTbl_ = reinterpret_cast(reinterpret_cast(rbbidh) + rbbidh->fFTable); status = U_ZERO_ERROR; - lineBreakTrie_ = reinterpret_cast( - ucptrie_openFromBinary(UCPTRIE_TYPE_FAST, UCPTRIE_VALUE_BITS_8, reinterpret_cast(rbbidh) + rbbidh->fTrie, - rbbidh->fTrieLen, nullptr, &status)); + lineBreakTrie_ = reinterpret_cast(ucptrie_openFromBinary(UCPTRIE_TYPE_FAST, UCPTRIE_VALUE_BITS_8, + reinterpret_cast(rbbidh) + rbbidh->fTrie, + rbbidh->fTrieLen, nullptr, &status)); if (status != U_ZERO_ERROR) { return; }