[Libreoffice-commits] core.git: editeng/source
Matteo Casalin
matteo.casalin at yahoo.com
Mon Apr 22 00:19:39 PDT 2013
editeng/source/misc/hangulhanja.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit d1f99bdf2abf591994b6efb2e73dcd31fdee8384
Author: Matteo Casalin <matteo.casalin at 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 <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at 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 )
More information about the Libreoffice-commits
mailing list