diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 18:20:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 18:20:39 +0200 |
commit | aae1018af692fec4b983cc68db7cc13c27512b1e (patch) | |
tree | e5ea86453b3b6578c751d0dba5aee3e555b5b66d /editeng | |
parent | be08f61d6f4121079c534af386139db23d0dd2c3 (diff) |
SvxGetOrCreatePosDic parameter is unused
...ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import", so kill
the equally old "TODO: remove argument or provide SvxGetIgnoreAllList with the
same one" comment for good now
Change-Id: Ie7b64306b8d06fc72d0bb49cc1e5fa3b00f59d6b
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editview.cxx | 2 | ||||
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 2 | ||||
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index dcf09688e17b..df0692c443ee 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -873,7 +873,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo // add the default positive dictionary to dic-list (if not already done). // This is to ensure that there is at least one dictionary to which // words could be added. - uno::Reference< linguistic2::XDictionary > xDic( SvxGetOrCreatePosDic( xDicList ) ); + uno::Reference< linguistic2::XDictionary > xDic( SvxGetOrCreatePosDic() ); if (xDic.is()) xDic->setActive( true ); diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index ded82e7a7bd3..9b58733f9061 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -431,7 +431,7 @@ Reference< XDictionary > SvxSpellWrapper::GetAllRightDic() if (!xDic.is()) { - xDic = SvxGetOrCreatePosDic( xDicList ); + xDic = SvxGetOrCreatePosDic(); if (xDic.is()) xDic->setActive( true ); } diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index 2656e8feae6f..06b5c2201b2e 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -742,9 +742,7 @@ uno::Reference< XLinguProperties > SvxGetLinguPropertySet() return LinguMgr::GetLinguPropertySet(); } -//TODO: remove argument or provide SvxGetIgnoreAllList with the same one -uno::Reference< XDictionary > SvxGetOrCreatePosDic( - uno::Reference< XSearchableDictionaryList > const & /* xDicList */ ) +uno::Reference< XDictionary > SvxGetOrCreatePosDic() { return LinguMgr::GetStandardDic(); } |