editeng/source/misc/hangulhanja.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit d1f99bdf2abf591994b6efb2e73dcd31fdee8384 Author: Matteo Casalin <matteo.casa...@yahoo.com> Date: Sun Apr 21 17:38:39 2013 +0200 bDocumentDone is always false Change-Id: Ifde4d9235d3eacf0317b19885f5ea57e1c695cb3 Reviewed-on: https://gerrit.libreoffice.org/3538 Reviewed-by: Fridrich Strba <fridr...@documentfoundation.org> Tested-by: Fridrich Strba <fridr...@documentfoundation.org> diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx index a1493fe..4f7189a 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits