diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-22 16:23:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-23 08:13:54 +0200 |
commit | 4012390e0549e8cdc48e566608cad2c36e2df44e (patch) | |
tree | 83982483d2a0a0e58c2f9339a76e216099595e84 /cui/source/options | |
parent | a008a234252d94b0f644d020ea75ade551fbc01a (diff) |
loplugin:unusedfields in cui
Change-Id: I7a1092708881d1d43debf0217a5401c5b65838a5
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optdict.cxx | 13 | ||||
-rw-r--r-- | cui/source/options/optlingu.cxx | 5 | ||||
-rw-r--r-- | cui/source/options/personalization.hxx | 1 |
3 files changed, 5 insertions, 14 deletions
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx index 929179ee96cf..5fe38e7988fa 100644 --- a/cui/source/options/optdict.cxx +++ b/cui/source/options/optdict.cxx @@ -97,12 +97,8 @@ static CDE_RESULT cmpDicEntry_Impl( const OUString &rText1, const OUString &rTex // class SvxNewDictionaryDialog ------------------------------------------- -SvxNewDictionaryDialog::SvxNewDictionaryDialog( vcl::Window* pParent, - Reference< XSpellChecker1 > &xSpl ) : - - ModalDialog( pParent, "OptNewDictionaryDialog" , "cui/ui/optnewdictionarydialog.ui" ), - - xSpell( xSpl ) +SvxNewDictionaryDialog::SvxNewDictionaryDialog( vcl::Window* pParent ) : + ModalDialog( pParent, "OptNewDictionaryDialog" , "cui/ui/optnewdictionarydialog.ui" ) { get(pNameEdit,"nameedit"); get(pLanguageLB,"language"); @@ -219,14 +215,11 @@ VCL_BUILDER_FACTORY_ARGS(SvxDictEdit, WB_LEFT|WB_VCENTER|WB_BORDER|WB_3DLOOK) SvxEditDictionaryDialog::SvxEditDictionaryDialog( vcl::Window* pParent, - const OUString& rName, - Reference< XSpellChecker1 > &xSpl ) : + const OUString& rName ) : ModalDialog( pParent, "EditDictionaryDialog" ,"cui/ui/editdictionarydialog.ui" ), sModify (CUI_RESSTR(STR_MODIFY)), - aDecoView ( this), - xSpell ( xSpl ), nOld ( NOACTDICT ), bFirstSelect (true), bDoNothing (false), diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 55f0d2e3abd3..98dbbded979f 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -1613,11 +1613,10 @@ IMPL_LINK_TYPED( SvxLinguTabPage, ClickHdl_Impl, Button *, pBtn, void ) } else if (m_pLinguDicsNewPB == pBtn) { - uno::Reference< XSpellChecker1 > xSpellChecker1; SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if(pFact) { - std::unique_ptr<AbstractSvxNewDictionaryDialog> aDlg(pFact->CreateSvxNewDictionaryDialog( this, xSpellChecker1 )); + std::unique_ptr<AbstractSvxNewDictionaryDialog> aDlg(pFact->CreateSvxNewDictionaryDialog( this )); DBG_ASSERT(aDlg, "Dialog creation failed!"); uno::Reference< XDictionary > xNewDic; if ( aDlg->Execute() == RET_OK ) @@ -1652,7 +1651,7 @@ IMPL_LINK_TYPED( SvxLinguTabPage, ClickHdl_Impl, Button *, pBtn, void ) SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if(pFact) { - std::unique_ptr<VclAbstractDialog> aDlg(pFact->CreateSvxEditDictionaryDialog( this, xDic->getName(), xSpellChecker1, RID_SFXDLG_EDITDICT )); + std::unique_ptr<VclAbstractDialog> aDlg(pFact->CreateSvxEditDictionaryDialog( this, xDic->getName(), RID_SFXDLG_EDITDICT )); DBG_ASSERT(aDlg, "Dialog creation failed!"); aDlg->Execute(); } diff --git a/cui/source/options/personalization.hxx b/cui/source/options/personalization.hxx index fc9c626c5258..ea92dc22900d 100644 --- a/cui/source/options/personalization.hxx +++ b/cui/source/options/personalization.hxx @@ -39,7 +39,6 @@ private: std::vector<OUString> m_vExtensionPersonaSettings; public: - ::rtl::Reference< SearchAndParseThread > m_rApplyThread; SvxPersonalizationTabPage( vcl::Window *pParent, const SfxItemSet &rSet ); virtual ~SvxPersonalizationTabPage(); virtual void dispose() override; |