summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-04-21 17:38:39 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-04-22 07:19:21 +0000
commitd1f99bdf2abf591994b6efb2e73dcd31fdee8384 (patch)
tree1c7ad92b1e33bb5ff6c12d83d91b8b5b3002343b /editeng
parente0067f8451402f84093836e000acd09fe3ab820d (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')
-rw-r--r--editeng/source/misc/hangulhanja.cxx5
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 )