summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-22 15:29:45 +0200
committerNoel Grandin <noel@peralex.com>2015-12-23 08:13:53 +0200
commit1dbe54fd2e0c776c1f11c20bdb029fab14fc61ad (patch)
tree67a8bedde3368176b6a247275b960e05afed1e6a /editeng
parent7ecfdc8b97543fd50ee037632454b3c51e33e4bf (diff)
loplugin:unusedfields in /include
Change-Id: Ia406e727890a365cc89831c96140cad8240f9b61
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/edtspell.cxx3
-rw-r--r--editeng/source/editeng/edtspell.hxx2
-rw-r--r--editeng/source/editeng/impedit4.cxx2
-rw-r--r--editeng/source/misc/splwrap.cxx4
4 files changed, 3 insertions, 8 deletions
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 ),