summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/SpellDialog.cxx2
-rw-r--r--editeng/source/editeng/editview.cxx2
-rw-r--r--editeng/source/misc/splwrap.cxx2
-rw-r--r--editeng/source/misc/unolingu.cxx4
-rw-r--r--include/editeng/unolingu.hxx3
-rw-r--r--sw/source/uibase/lingu/olmenu.cxx2
6 files changed, 6 insertions, 9 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 5fa1b72ca20f..528489f0b721 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -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 );
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();
}
diff --git a/include/editeng/unolingu.hxx b/include/editeng/unolingu.hxx
index 20e3b2e35ea9..539e120e6a20 100644
--- a/include/editeng/unolingu.hxx
+++ b/include/editeng/unolingu.hxx
@@ -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<
diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx
index d4b1aceea5e2..2d931167906e 100644
--- a/sw/source/uibase/lingu/olmenu.cxx
+++ b/sw/source/uibase/lingu/olmenu.cxx
@@ -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 );