summaryrefslogtreecommitdiffstats
path: root/editeng/source/misc
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/splwrap.cxx10
-rw-r--r--editeng/source/misc/svxacorr.cxx2
-rw-r--r--editeng/source/misc/unolingu.cxx40
3 files changed, 6 insertions, 46 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx
index 9b58733f9061..c8f07694cf7a 100644
--- a/editeng/source/misc/splwrap.cxx
+++ b/editeng/source/misc/splwrap.cxx
@@ -155,7 +155,7 @@ SvxSpellWrapper::SvxSpellWrapper( vcl::Window* pWn,
bRevAllowed ( true ),
bAllRight ( bIsAllRight )
{
- Reference< linguistic2::XLinguProperties > xProp( SvxGetLinguPropertySet() );
+ Reference< linguistic2::XLinguProperties > xProp( LinguMgr::GetLinguPropertySet() );
bool bWrapReverse = xProp.is() && xProp->getIsWrapReverse();
bReverse = bWrapReverse;
bStartDone = !bReverse && bStart;
@@ -311,7 +311,7 @@ void SvxSpellWrapper::SpellDocument( )
bool SvxSpellWrapper::SpellNext( )
{
- Reference< linguistic2::XLinguProperties > xProp( SvxGetLinguPropertySet() );
+ Reference< linguistic2::XLinguProperties > xProp( LinguMgr::GetLinguPropertySet() );
bool bWrapReverse = xProp.is() && xProp->getIsWrapReverse();
bool bActRev = bRevAllowed && bWrapReverse;
@@ -402,7 +402,7 @@ Reference< XDictionary > SvxSpellWrapper::GetAllRightDic()
{
Reference< XDictionary > xDic;
- Reference< XSearchableDictionaryList > xDicList( SvxGetDictionaryList() );
+ Reference< XSearchableDictionaryList > xDicList( LinguMgr::GetDictionaryList() );
if (xDicList.is())
{
Sequence< Reference< XDictionary > > aDics( xDicList->getDictionaries() );
@@ -431,7 +431,7 @@ Reference< XDictionary > SvxSpellWrapper::GetAllRightDic()
if (!xDic.is())
{
- xDic = SvxGetOrCreatePosDic();
+ xDic = LinguMgr::GetStandardDic();
if (xDic.is())
xDic->setActive( true );
}
@@ -471,7 +471,7 @@ bool SvxSpellWrapper::FindSpellError()
{
// look up in ChangeAllList for misspelled word
Reference< XDictionary > xChangeAllList(
- SvxGetChangeAllList(), UNO_QUERY );
+ LinguMgr::GetChangeAllList(), UNO_QUERY );
Reference< XDictionaryEntry > xEntry;
if (xChangeAllList.is())
xEntry = xChangeAllList->getEntry( xAlt->getWord() );
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 11e56ef27492..5948e090d1f3 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -410,7 +410,7 @@ bool SvxAutoCorrect::FnCapitalStartWord( SvxAutoCorrDoc& rDoc, const OUString& r
{
// Check that word isn't correctly spelled before correcting:
css::uno::Reference< css::linguistic2::XSpellChecker1 > xSpeller =
- SvxGetSpellChecker();
+ LinguMgr::GetSpellChecker();
if( xSpeller->hasLanguage(eLang) )
{
Sequence< css::beans::PropertyValue > aEmptySeq;
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 06b5c2201b2e..17e3c08a74d4 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -717,46 +717,6 @@ uno::Reference< XDictionary > LinguMgr::GetStandard()
return xDic;
}
-uno::Reference< XSpellChecker1 > SvxGetSpellChecker()
-{
- return LinguMgr::GetSpellChecker();
-}
-
-uno::Reference< XHyphenator > SvxGetHyphenator()
-{
- return LinguMgr::GetHyphenator();
-}
-
-uno::Reference< XThesaurus > SvxGetThesaurus()
-{
- return LinguMgr::GetThesaurus();
-}
-
-uno::Reference< XSearchableDictionaryList > SvxGetDictionaryList()
-{
- return LinguMgr::GetDictionaryList();
-}
-
-uno::Reference< XLinguProperties > SvxGetLinguPropertySet()
-{
- return LinguMgr::GetLinguPropertySet();
-}
-
-uno::Reference< XDictionary > SvxGetOrCreatePosDic()
-{
- return LinguMgr::GetStandardDic();
-}
-
-uno::Reference< XDictionary > SvxGetIgnoreAllList()
-{
- return LinguMgr::GetIgnoreAllList();
-}
-
-uno::Reference< XDictionary > SvxGetChangeAllList()
-{
- return LinguMgr::GetChangeAllList();
-}
-
SvxAlternativeSpelling SvxGetAltSpelling(
const css::uno::Reference< css::linguistic2::XHyphenatedWord > & rHyphWord )
{