From 1dbe54fd2e0c776c1f11c20bdb029fab14fc61ad Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 22 Dec 2015 15:29:45 +0200 Subject: loplugin:unusedfields in /include Change-Id: Ia406e727890a365cc89831c96140cad8240f9b61 --- editeng/source/editeng/edtspell.cxx | 3 +-- editeng/source/editeng/edtspell.hxx | 2 -- editeng/source/editeng/impedit4.cxx | 2 +- editeng/source/misc/splwrap.cxx | 4 +--- 4 files changed, 3 insertions(+), 8 deletions(-) (limited to 'editeng') diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx index 6f7241013c99..896a562415b8 100644 --- a/editeng/source/editeng/edtspell.cxx +++ b/editeng/source/editeng/edtspell.cxx @@ -41,9 +41,8 @@ using namespace com::sun::star::linguistic2; EditSpellWrapper::EditSpellWrapper( vcl::Window* _pWin, - Reference< XSpellChecker1 > &xChecker, bool bIsStart, bool bIsAllRight, EditView* pView ) : - SvxSpellWrapper( _pWin, xChecker, bIsStart, bIsAllRight ) + SvxSpellWrapper( _pWin, bIsStart, bIsAllRight ) { SAL_WARN_IF( !pView, "editeng", "One view has to be abandoned!" ); // Keep IgnoreList, delete ReplaceList... diff --git a/editeng/source/editeng/edtspell.hxx b/editeng/source/editeng/edtspell.hxx index 9fe8798a3caf..fb37d85aab69 100644 --- a/editeng/source/editeng/edtspell.hxx +++ b/editeng/source/editeng/edtspell.hxx @@ -54,8 +54,6 @@ protected: public: EditSpellWrapper( vcl::Window* pWin, - css::uno::Reference< - css::linguistic2::XSpellChecker1 > &xChecker, bool bIsStart, bool bIsAllRight, EditView* pView ); diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index f6d5aeed014d..1f8bf5299876 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -1499,7 +1499,7 @@ EESpellState ImpEditEngine::Spell( EditView* pEditView, bool bMultipleDoc ) bIsStart = true; EditSpellWrapper* pWrp = new EditSpellWrapper( Application::GetDefDialogParent(), - xSpeller, bIsStart, false, pEditView ); + bIsStart, false, pEditView ); pWrp->SpellDocument(); delete pWrp; diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index 64a07c99e728..031d4050f78c 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -144,13 +144,11 @@ SvxSpellWrapper::~SvxSpellWrapper() --------------------------------------------------------------------*/ SvxSpellWrapper::SvxSpellWrapper( vcl::Window* pWn, - Reference< XSpellChecker1 > &xSpellChecker, const bool bStart, const bool bIsAllRight, const bool bOther, const bool bRevAllow ) : pWin ( pWn ), - xSpell ( xSpellChecker ), - mpTextObj( nullptr), + mpTextObj ( nullptr), bOtherCntnt ( bOther ), bDialog ( false ), bHyphen ( false ), -- cgit