| author | Caolán McNamara <caolanm@redhat.com> | 2012-05-22 15:10:22 (GMT) |
|---|---|---|
| committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-22 15:10:22 (GMT) |
| commit | e5d589bb3c2285362e2c89576cf14fc5e77262d0 (patch) (side-by-side diff) | |
| tree | c7931500ae51d9a346ac92b11fcdf0b5039762d0 | |
| parent | ae167f81e68fc05693f195fa9a680071b741dcbf (diff) | |
| download | core-e5d589bb3c2285362e2c89576cf14fc5e77262d0.zip core-e5d589bb3c2285362e2c89576cf14fc5e77262d0.tar.gz | |
Resolves: fdo#40778 wrong type used for callback arg
Change-Id: If97589c7b7ad647b22de229a6161b4fd78c757c8
| -rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 4 | ||||
| -rw-r--r-- | cui/source/inc/SpellDialog.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 64df45d..602289e 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 1343b04..fc6448e 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 * ); |
