summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/SpellDialog.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-08 22:13:08 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-08 22:40:29 +0100
commit8372b3c3d1c3e8a787e174cc31dca55627b74b15 (patch)
tree3e6265cd096c98490b52e4b9d733388ca7a232ab /cui/source/dialogs/SpellDialog.cxx
parente953cb1a3c2c240a385608658ffc481e33c6854b (diff)
PostUserEvent - first cut at keeping a VclPtr for posted UserEvents.
This should eventually enable more certainty that they are still live by the time we emit the event later. Change-Id: I7c9eb4c000753d4efe8c59a9e13ef3e11c93b2fa
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 c1238be481e1..10bc499e5d6b 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -238,8 +238,8 @@ SpellDialog::SpellDialog(SpellDialogChildWindow* pChildWindow,
//InitHdl wants to use virtual methods, so it
//can't be called during the ctor, so init
//it on next event cycle post-ctor
- Application::PostUserEvent( LINK(
- this, SpellDialog, InitHdl ) );
+ Application::PostUserEvent(
+ LINK( this, SpellDialog, InitHdl ), NULL, true );
}