From 53ec703c14470cb18845fc4483ec36c13b0d744e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Feb 2013 16:18:01 +0200 Subject: fdo#46808, Adapt linguistic2::DictionaryList UNO service to new style Change-Id: Iaf81a38063411b8a003b78f7eb7d6aab6c9df292 --- cui/source/dialogs/SpellDialog.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cui/source/dialogs/SpellDialog.cxx') diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index c397738adbeb..6847e0e77f92 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -247,7 +247,7 @@ SpellDialog::SpellDialog(SpellDialogChildWindow* pChildWindow, SpellDialog::~SpellDialog() { // save possibly modified user-dictionaries - Reference< XDictionaryList > xDicList( SvxGetDictionaryList() ); + Reference< XSearchableDictionaryList > xDicList( SvxGetDictionaryList() ); if (xDicList.is()) { linguistic::SaveDictionaries( xDicList ); @@ -824,7 +824,7 @@ int SpellDialog::InitUserDicts() const Reference< XDictionary > *pDic = 0; // get list of dictionaries - Reference< XDictionaryList > xDicList( SvxGetDictionaryList() ); + Reference< XSearchableDictionaryList > xDicList( SvxGetDictionaryList() ); if (xDicList.is()) { // add active, positive dictionary to dic-list (if not already done). @@ -914,7 +914,7 @@ int SpellDialog::AddToDictionaryExecute( sal_uInt16 nItemId, PopupMenu *pMenu ) String aDicName ( pMenu->GetItemText( nItemId ) ); uno::Reference< linguistic2::XDictionary > xDic; - uno::Reference< linguistic2::XDictionaryList > xDicList( SvxGetDictionaryList() ); + uno::Reference< linguistic2::XSearchableDictionaryList > xDicList( SvxGetDictionaryList() ); if (xDicList.is()) xDic = xDicList->getDictionaryByName( aDicName ); -- cgit