diff options
-rw-r--r-- | editeng/source/misc/hangulhanja.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx index 4f7189ac9b5b..7d2c01e30167 100644 --- a/editeng/source/misc/hangulhanja.cxx +++ b/editeng/source/misc/hangulhanja.cxx @@ -534,9 +534,7 @@ namespace editeng bool HangulHanjaConversion_Impl::ContinueConversion( bool _bRepeatCurrentUnit ) { - bool bNeedUserInteraction = false; // when we leave here, do we need user interaction? - - while ( !bNeedUserInteraction && implNextConvertible( _bRepeatCurrentUnit ) ) + while ( implNextConvertible( _bRepeatCurrentUnit ) ) { OUString sCurrentUnit( GetCurrentUnit() ); @@ -576,11 +574,11 @@ namespace editeng // do not look for the next convertible: We have to wait for the user to interactivly // decide what happens with the current convertible - bNeedUserInteraction = true; + return false; } } - return !bNeedUserInteraction; + return true; } bool HangulHanjaConversion_Impl::implGetConversionDirectionForCurrentPortion( HHC::ConversionDirection& rDirection ) |