diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-04-21 17:38:39 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-22 07:19:21 +0000 |
commit | d1f99bdf2abf591994b6efb2e73dcd31fdee8384 (patch) | |
tree | 1c7ad92b1e33bb5ff6c12d83d91b8b5b3002343b /editeng/source/misc | |
parent | e0067f8451402f84093836e000acd09fe3ab820d (diff) |
bDocumentDone is always false
Change-Id: Ifde4d9235d3eacf0317b19885f5ea57e1c695cb3
Reviewed-on: https://gerrit.libreoffice.org/3538
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/hangulhanja.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx index a1493fe9a4d8..4f7189ac9b5b 100644 --- a/editeng/source/misc/hangulhanja.cxx +++ b/editeng/source/misc/hangulhanja.cxx @@ -535,9 +535,8 @@ namespace editeng bool HangulHanjaConversion_Impl::ContinueConversion( bool _bRepeatCurrentUnit ) { bool bNeedUserInteraction = false; // when we leave here, do we need user interaction? - bool bDocumentDone = false; // did we already check the whole document? - while ( !bDocumentDone && !bNeedUserInteraction && implNextConvertible( _bRepeatCurrentUnit ) ) + while ( !bNeedUserInteraction && implNextConvertible( _bRepeatCurrentUnit ) ) { OUString sCurrentUnit( GetCurrentUnit() ); @@ -581,7 +580,7 @@ namespace editeng } } - return bDocumentDone || !bNeedUserInteraction; + return !bNeedUserInteraction; } bool HangulHanjaConversion_Impl::implGetConversionDirectionForCurrentPortion( HHC::ConversionDirection& rDirection ) |