diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-04 14:28:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-07 05:56:43 +0000 |
commit | 5f6e5cb695ff4ab1e17653661d8243d836436a7e (patch) | |
tree | 83257515559766153bdf522c53ed560d9840660d /editeng/source/editeng/editview.cxx | |
parent | b89feb8018bf3610faf01e73995d576f6566e20b (diff) |
loplugin:unuseddefaultparam in editeng
Change-Id: Ifd86b0f6cca5d5d30daeee1c087c0124f2f18f3c
Reviewed-on: https://gerrit.libreoffice.org/22899
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng/source/editeng/editview.cxx')
-rw-r--r-- | editeng/source/editeng/editview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index cfc6a88dd75c..eb3a7f2417b7 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -737,13 +737,13 @@ sal_Int32 EditView::StartSearchAndReplace( const SvxSearchItem& rSearchItem ) return pImpEditView->pEditEngine->pImpEditEngine->StartSearchAndReplace( this, rSearchItem ); } -bool EditView::IsCursorAtWrongSpelledWord( bool bMarkIfWrong ) +bool EditView::IsCursorAtWrongSpelledWord() { bool bIsWrong = false; if ( !HasSelection() ) { EditPaM aPaM = pImpEditView->GetEditSelection().Max(); - bIsWrong = pImpEditView->IsWrongSpelledWord( aPaM, bMarkIfWrong ); + bIsWrong = pImpEditView->IsWrongSpelledWord( aPaM, false/*bMarkIfWrong*/ ); } return bIsWrong; } |