summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx4
-rw-r--r--cui/source/inc/SpellDialog.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 64df45d5d386..602289e71cc1 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -1017,9 +1017,9 @@ int SpellDialog::InitUserDicts()
}
//-----------------------------------------------------------------------
-IMPL_LINK(SpellDialog, AddToDictClickHdl, MenuButton*, pButton )
+IMPL_LINK(SpellDialog, AddToDictClickHdl, PushButton*, EMPTYARG )
{
- return AddToDictionaryExecute(1, pButton->GetPopupMenu());
+ return AddToDictionaryExecute(1, aAddToDictMB.GetPopupMenu());
}
//-----------------------------------------------------------------------
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx
index 1343b044a168..fc6448e9f8ff 100644
--- a/cui/source/inc/SpellDialog.hxx
+++ b/cui/source/inc/SpellDialog.hxx
@@ -214,7 +214,7 @@ private:
DECL_LINK( ModifyHdl, SentenceEditWindow_Impl *);
DECL_LINK(UndoHdl, void *);
DECL_LINK( AddToDictSelectHdl, MenuButton* );
- DECL_LINK( AddToDictClickHdl, MenuButton* );
+ DECL_LINK( AddToDictClickHdl, PushButton* );
DECL_LINK( LanguageSelectHdl, SvxLanguageBox* );
DECL_LINK( DialogUndoHdl, SpellUndoAction_Impl* );
DECL_LINK( HandleHyperlink, svt::FixedHyperlink * );