summaryrefslogtreecommitdiff
path: root/linguistic/source/spelldsp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-02-04 16:18:01 +0200
committerNoel Grandin <noel@peralex.com>2013-02-12 10:14:43 +0200
commit53ec703c14470cb18845fc4483ec36c13b0d744e (patch)
tree4cde768b9b70c00e34801680ac6bcc4a889c5489 /linguistic/source/spelldsp.cxx
parenta6a8a8707b6ae111f94bac094d3c2909f523ca6f (diff)
fdo#46808, Adapt linguistic2::DictionaryList UNO service to new style
Change-Id: Iaf81a38063411b8a003b78f7eb7d6aab6c9df292
Diffstat (limited to 'linguistic/source/spelldsp.cxx')
-rw-r--r--linguistic/source/spelldsp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx
index 5b6727f2e9c2..d44cbdfeee20 100644
--- a/linguistic/source/spelldsp.cxx
+++ b/linguistic/source/spelldsp.cxx
@@ -261,7 +261,7 @@ static Reference< XDictionaryEntry > lcl_GetRulingDictionaryEntry(
xRes = xIgnoreAll->getEntry( rWord );
if (!xRes.is())
{
- Reference< XDictionaryList > xDList( GetDictionaryList() );
+ Reference< XSearchableDictionaryList > xDList( GetDictionaryList() );
Reference< XDictionaryEntry > xNegEntry( SearchDicList( xDList,
rWord, nLanguage, sal_False, sal_True ) );
if (xNegEntry.is())
@@ -646,9 +646,9 @@ Reference< XSpellAlternatives > SpellCheckerDispatcher::spell_Impl(
aProposalList.Append( xRes->getAlternatives() );
eFailureType = xRes->getFailureType();
}
- Reference< XDictionaryList > xDList;
+ Reference< XSearchableDictionaryList > xDList;
if (GetDicList().is() && IsUseDicList( rProperties, GetPropSet() ))
- xDList = Reference< XDictionaryList >( GetDicList(), UNO_QUERY );
+ xDList = GetDicList();
// cross-check against results from user-dictionaries which have precedence!
if (bCheckDics && xDList.is())