Kaydet (Commit) d1f99bdf authored tarafından Matteo Casalin's avatar Matteo Casalin Kaydeden (comit) Fridrich Strba

bDocumentDone is always false

Change-Id: Ifde4d9235d3eacf0317b19885f5ea57e1c695cb3
Reviewed-on: https://gerrit.libreoffice.org/3538Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst e0067f84
...@@ -535,9 +535,8 @@ namespace editeng ...@@ -535,9 +535,8 @@ namespace editeng
bool HangulHanjaConversion_Impl::ContinueConversion( bool _bRepeatCurrentUnit ) bool HangulHanjaConversion_Impl::ContinueConversion( bool _bRepeatCurrentUnit )
{ {
bool bNeedUserInteraction = false; // when we leave here, do we need user interaction? 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() ); OUString sCurrentUnit( GetCurrentUnit() );
...@@ -581,7 +580,7 @@ namespace editeng ...@@ -581,7 +580,7 @@ namespace editeng
} }
} }
return bDocumentDone || !bNeedUserInteraction; return !bNeedUserInteraction;
} }
bool HangulHanjaConversion_Impl::implGetConversionDirectionForCurrentPortion( HHC::ConversionDirection& rDirection ) bool HangulHanjaConversion_Impl::implGetConversionDirectionForCurrentPortion( HHC::ConversionDirection& rDirection )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment