summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 12:45:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-13 07:05:10 +0100
commit3eb694a2ba080095bc1ac2e3bcea61aa6881bee7 (patch)
tree7f96527d7a8c489e9ee346283785e3018861cf73 /sw
parentafad9ccb381a02b90654a5fa302480e46f38a1fc (diff)
loplugin:unusedfields
Change-Id: I28c8d60543d85ea878698a3e3661bbd5891ad9c7 Reviewed-on: https://gerrit.libreoffice.org/85075 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/inc/olmenu.hxx3
-rw-r--r--sw/source/uibase/lingu/olmenu.cxx3
2 files changed, 0 insertions, 6 deletions
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;