summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/SpellDialog.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-22 16:10:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-22 16:10:22 +0100
commite5d589bb3c2285362e2c89576cf14fc5e77262d0 (patch)
treec7931500ae51d9a346ac92b11fcdf0b5039762d0 /cui/source/dialogs/SpellDialog.cxx
parentae167f81e68fc05693f195fa9a680071b741dcbf (diff)
Resolves: fdo#40778 wrong type used for callback arg
Change-Id: If97589c7b7ad647b22de229a6161b4fd78c757c8
Diffstat (limited to 'cui/source/dialogs/SpellDialog.cxx')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx4
1 files changed, 2 insertions, 2 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());
}
//-----------------------------------------------------------------------