diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-16 16:22:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-17 08:40:39 +0200 |
commit | 82afd77a00c036f106a3aa5fb3402c92e10e2aa4 (patch) | |
tree | 2a07561d945b920c18f9e9b7fb5bde3eaf648945 /include/editeng | |
parent | 59f398e934541e05dc9b77c1191227f8c68ea037 (diff) |
loplugin:unusedfields in editeng..filter
Change-Id: I42e41ec69667a5560c5f31c85eb05074666a7bab
Reviewed-on: https://gerrit.libreoffice.org/54455
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editstat.hxx | 5 | ||||
-rw-r--r-- | include/editeng/unotext.hxx | 3 |
2 files changed, 1 insertions, 7 deletions
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<SvxEditSource> mpEditSource; sal_Int32 mnNextParagraph; const SvxUnoTextBase& mrText; - const ESelection maSelection; std::vector< rtl::Reference<SvxUnoTextContent> > maContents; public: @@ -611,11 +610,9 @@ class SvxUnoTextRangeEnumeration : public ::cppu::WeakAggImplHelper1< css::conta private: std::unique_ptr<SvxEditSource> mpEditSource; css::uno::Reference< css::text::XText > mxParentText; - const SvxUnoTextBase& mrParentText; sal_Int32 mnParagraph; std::vector< rtl::Reference<SvxUnoTextRange> > maPortions; sal_uInt16 mnNextPortion; - const ESelection mnSel; public: SvxUnoTextRangeEnumeration(const SvxUnoTextBase& rText, sal_Int32 nPara, const ESelection& rSel); |