diff options
author | Noel Grandin <noel@peralex.com> | 2013-02-04 16:18:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-12 10:14:43 +0200 |
commit | 53ec703c14470cb18845fc4483ec36c13b0d744e (patch) | |
tree | 4cde768b9b70c00e34801680ac6bcc4a889c5489 /cui/source/dialogs | |
parent | a6a8a8707b6ae111f94bac094d3c2909f523ca6f (diff) |
fdo#46808, Adapt linguistic2::DictionaryList UNO service to new style
Change-Id: Iaf81a38063411b8a003b78f7eb7d6aab6c9df292
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); |