From 3eb694a2ba080095bc1ac2e3bcea61aa6881bee7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 Dec 2019 12:45:11 +0200 Subject: loplugin:unusedfields Change-Id: I28c8d60543d85ea878698a3e3661bbd5891ad9c7 Reviewed-on: https://gerrit.libreoffice.org/85075 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/inc/olmenu.hxx | 3 --- sw/source/uibase/lingu/olmenu.cxx | 3 --- 2 files changed, 6 deletions(-) (limited to 'sw') diff --git a/sw/source/uibase/inc/olmenu.hxx b/sw/source/uibase/inc/olmenu.hxx index 4b67c9090bce..a357ff4433de 100644 --- a/sw/source/uibase/inc/olmenu.hxx +++ b/sw/source/uibase/inc/olmenu.hxx @@ -93,9 +93,6 @@ class SW_DLLPUBLIC SwSpellPopup css::uno::Sequence< css::uno::Reference< css::linguistic2::XDictionary > > m_aDics; css::uno::Reference< css::linguistic2::XSpellAlternatives > m_xSpellAlt; - css::linguistic2::ProofreadingResult m_xGrammarResult; - sal_Int32 m_nGrammarError; - OUString m_sExplanationLink; LanguageType m_nCheckedLanguage; diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index 48c538a75a6a..97053459853f 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -233,7 +233,6 @@ SwSpellPopup::SwSpellPopup( , m_nRedlinePrevId(m_xPopupMenu->GetItemId("prev")) , m_pSh( pWrtSh ) , m_xSpellAlt(xAlt) - , m_nGrammarError(0) , m_bGrammarResults(false) { OSL_ENSURE(m_xSpellAlt.is(), "no spelling alternatives available"); @@ -446,12 +445,10 @@ SwSpellPopup::SwSpellPopup( , m_nRedlineNextId(m_xPopupMenu->GetItemId("next")) , m_nRedlinePrevId(m_xPopupMenu->GetItemId("prev")) , m_pSh(pWrtSh) - , m_xGrammarResult(rResult) , m_sExplanationLink() , m_bGrammarResults(true) { m_nCheckedLanguage = LanguageTag::convertToLanguageType( rResult.aLocale ); - m_nGrammarError = nErrorInResult; bool bUseImagesInMenus = Application::GetSettings().GetStyleSettings().GetUseImagesInMenus(); sal_uInt16 nPos = 0; -- cgit