summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-27 14:12:28 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:10:37 +0100
commit23eada8dbbf10de29b85e9d965f5c0ed11942efc (patch)
tree204ecc65bc49a77c43b8f9d6e071d0eeb552f300
parentget messagebox dispose ordering right. (diff)
downloadcore-23eada8dbbf10de29b85e9d965f5c0ed11942efc.tar.gz
core-23eada8dbbf10de29b85e9d965f5c0ed11942efc.zip
repair dialog related lifecycle bits.
Change-Id: I33ec0318a257929583aa4bb0d107f16d1f8edbcd
-rw-r--r--vcl/source/window/dialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 9ca9c30a1b40..56c5dd4a4130 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -488,7 +488,7 @@ OUString VclBuilderContainer::getUIRootDir()
//do the init. Find the real parent stashed in mpDialogParent.
void Dialog::doDeferredInit(WinBits nBits)
{
- vcl::Window *pParent = mpDialogParent;
+ VclPtr<vcl::Window> pParent = mpDialogParent;
mpDialogParent = NULL;
ImplInit(pParent, nBits);
mbIsDefferedInit = false;