This function calls icu::BreakIterator::createLineInstance() but does not clean up after it. Instead use a static instance that is cloned (for thread-safety) and deleted as necessary.
1.5 KiB
1.5 KiB