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
This commit is contained in:
parent
be08f61d6f
commit
aae1018af6
@ -825,7 +825,7 @@ int SpellDialog::InitUserDicts()
|
||||
// add active, positive dictionary to dic-list (if not already done).
|
||||
// This is to ensure that there is at least on dictionary to which
|
||||
// words could be added.
|
||||
Reference< XDictionary > xDic( SvxGetOrCreatePosDic( xDicList ) );
|
||||
Reference< XDictionary > xDic( SvxGetOrCreatePosDic() );
|
||||
if (xDic.is())
|
||||
xDic->setActive( true );
|
||||
|
||||
|
@ -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 );
|
||||
|
||||
|
@ -431,7 +431,7 @@ Reference< XDictionary > SvxSpellWrapper::GetAllRightDic()
|
||||
|
||||
if (!xDic.is())
|
||||
{
|
||||
xDic = SvxGetOrCreatePosDic( xDicList );
|
||||
xDic = SvxGetOrCreatePosDic();
|
||||
if (xDic.is())
|
||||
xDic->setActive( true );
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -139,8 +139,7 @@ EDITENG_DLLPUBLIC css::uno::Reference<
|
||||
css::linguistic2::XLinguProperties > SvxGetLinguPropertySet();
|
||||
//TODO: remove argument or provide SvxGetIgnoreAllList with the same one
|
||||
EDITENG_DLLPUBLIC css::uno::Reference<
|
||||
css::linguistic2::XDictionary > SvxGetOrCreatePosDic(
|
||||
css::uno::Reference< css::linguistic2::XSearchableDictionaryList > const & xDicList );
|
||||
css::linguistic2::XDictionary > SvxGetOrCreatePosDic();
|
||||
EDITENG_DLLPUBLIC css::uno::Reference<
|
||||
css::linguistic2::XDictionary > SvxGetIgnoreAllList();
|
||||
EDITENG_DLLPUBLIC css::uno::Reference<
|
||||
|
@ -358,7 +358,7 @@ SwSpellPopup::SwSpellPopup(
|
||||
// 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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user