summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-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;