summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-25 19:59:49 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-26 14:06:40 +0100
commitf0bbafba9d490c2628f1f60070aee877b64f5520 (patch)
treeac569030df1061f8e603cf6aac3738b3c6f91d67 /extensions
parent9aebad8b58a7ee36284e465a40101d2a045d00dd (diff)
Audit all PostUserEvent calls and instrument for VclPtr.
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/bibview.cxx2
-rw-r--r--extensions/source/propctrlr/formlinkdialog.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/bibliography/bibview.cxx b/extensions/source/bibliography/bibview.cxx
index 9e62d154ec1b..d1a8b95642de 100644
--- a/extensions/source/bibliography/bibview.cxx
+++ b/extensions/source/bibliography/bibview.cxx
@@ -153,7 +153,7 @@ namespace bib
}
if(bExecute)
{
- Application::PostUserEvent( LINK( this, BibView, CallMappingHdl ) );
+ Application::PostUserEvent( LINK( this, BibView, CallMappingHdl ), NULL, true );
}
}
}
diff --git a/extensions/source/propctrlr/formlinkdialog.cxx b/extensions/source/propctrlr/formlinkdialog.cxx
index 3f02bd3a0b0c..7101fe6fee12 100644
--- a/extensions/source/propctrlr/formlinkdialog.cxx
+++ b/extensions/source/propctrlr/formlinkdialog.cxx
@@ -195,7 +195,7 @@ namespace pcr
m_aRow3->SetLinkChangeHandler( LINK( this, FormLinkDialog, OnFieldChanged ) );
m_aRow4->SetLinkChangeHandler( LINK( this, FormLinkDialog, OnFieldChanged ) );
- PostUserEvent( LINK( this, FormLinkDialog, OnInitialize ) );
+ PostUserEvent( LINK( this, FormLinkDialog, OnInitialize ), NULL, true );
updateOkButton();
}