From 82afd77a00c036f106a3aa5fb3402c92e10e2aa4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 May 2018 16:22:49 +0200 Subject: loplugin:unusedfields in editeng..filter Change-Id: I42e41ec69667a5560c5f31c85eb05074666a7bab Reviewed-on: https://gerrit.libreoffice.org/54455 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/editeng/editstat.hxx | 5 +---- include/editeng/unotext.hxx | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'include/editeng') diff --git a/include/editeng/editstat.hxx b/include/editeng/editstat.hxx index c6b099d2202a..a88b00d15c7b 100644 --- a/include/editeng/editstat.hxx +++ b/include/editeng/editstat.hxx @@ -140,19 +140,16 @@ struct SpellCallbackInfo { SpellCallbackCommand nCommand; OUString aWord; - LanguageType eLanguage; SpellCallbackInfo( SpellCallbackCommand nCMD, const OUString& rWord ) : aWord( rWord ) { nCommand = nCMD; - eLanguage = LANGUAGE_DONTKNOW; } - SpellCallbackInfo( SpellCallbackCommand nCMD, LanguageType eLang ) + SpellCallbackInfo( SpellCallbackCommand nCMD ) { nCommand = nCMD; - eLanguage = eLang; } }; diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index 3c94d3675e61..07b1171e59f9 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -593,7 +593,6 @@ private: std::unique_ptr mpEditSource; sal_Int32 mnNextParagraph; const SvxUnoTextBase& mrText; - const ESelection maSelection; std::vector< rtl::Reference > maContents; public: @@ -611,11 +610,9 @@ class SvxUnoTextRangeEnumeration : public ::cppu::WeakAggImplHelper1< css::conta private: std::unique_ptr mpEditSource; css::uno::Reference< css::text::XText > mxParentText; - const SvxUnoTextBase& mrParentText; sal_Int32 mnParagraph; std::vector< rtl::Reference > maPortions; sal_uInt16 mnNextPortion; - const ESelection mnSel; public: SvxUnoTextRangeEnumeration(const SvxUnoTextBase& rText, sal_Int32 nPara, const ESelection& rSel); -- cgit