summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2019-11-16 10:46:28 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2019-11-23 21:14:12 +0100
commit0b7a529b364b36dfc53fcf1bce139e0ced7d2bef (patch)
tree963b852a8b15bdac6323a83219cc4021da18925e /sw
parent8400f8ef3b5dcaec4867c27bee7ad8f7820564ad (diff)
SpellingPopup: Remove unused variables
Change-Id: I3cb3b128ec54f82381bf6f0c17401a5d5fb58a96 Reviewed-on: https://gerrit.libreoffice.org/83578 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/lingu/olmenu.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx
index 5be1f29b859c..e1ef7a80621d 100644
--- a/sw/source/uibase/lingu/olmenu.cxx
+++ b/sw/source/uibase/lingu/olmenu.cxx
@@ -702,8 +702,6 @@ void SwSpellPopup::Execute( sal_uInt16 nId )
}
m_pSh->Left(CRSR_SKIP_CHARS, false, 1, false );
{
- uno::Reference<linguistic2::XSearchableDictionaryList> xDictionaryList( LinguMgr::GetDictionaryList() );
- SvxDicListChgClamp aClamp( xDictionaryList );
m_pSh->GetView().GetViewFrame()->GetDispatcher()->
Execute( FN_SPELL_GRAMMAR_DIALOG, SfxCallMode::ASYNCHRON );
}