diff options
author | Brad Sowden <code@sowden.org> | 2012-06-18 20:01:35 +1200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-18 12:39:39 +0200 |
commit | 3953c293e435d8ff7656d395feb15d88a5ec6492 (patch) | |
tree | fdaad034d154143e8610a43a5a84c52509f78cbc /sw/source/ui | |
parent | 1f77d7c0c316cce295329a338e7df37394831f51 (diff) |
Remove redundant IF clause
ClearCntnt() already sets m_bIsTip and m_bIsAutoText to true.
Change-Id: Ic3ad53a7659dbfe4f28f7995976e659f5bd14afb
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 9cd1ba287e81..04e6e732b58b 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -5690,12 +5690,8 @@ void SwEditWin::ShowAutoTextCorrectQuickHelp( pList->HasLongName( rWord, &pQuickHlpData->m_aHelpStrings ); } - if( !pQuickHlpData->m_aHelpStrings.empty() ) - { - pQuickHlpData->m_bIsTip = true; - pQuickHlpData->m_bIsAutoText = true; - } - else if( pACorr->GetSwFlags().bAutoCompleteWords ) + if( pQuickHlpData->m_aHelpStrings.empty() && + pACorr->GetSwFlags().bAutoCompleteWords ) { pQuickHlpData->m_bIsAutoText = false; pQuickHlpData->m_bIsTip = bFromIME || |