summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-19 18:20:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-20 00:56:59 +0100
commit17d08d421e3d6ef48f8ad2b94537143aaf3a5ebb (patch)
treef17f22e1b5b33912ac24b9b39c8f15a0677884a0 /vcl
parente92b3a092b48494a4fdc90f62685f668f59a874b (diff)
use correct deferred parent window
Change-Id: Id9d56d9f014cee216f1478d764082b97ddd30b01
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 7a17f0ffdbed..41b5b74d5fe4 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -520,19 +520,19 @@ void Dialog::doDeferredInit(bool bResizable)
Dialog::Dialog(Window* pParent, const rtl::OString& rID, const rtl::OUString& rUIXMLDescription)
: SystemWindow( WINDOW_DIALOG )
- , mpDialogParent(pParent) //will be unset in doDeferredInit
, mbIsDefferedInit(true)
{
ImplInitDialogData();
+ mpDialogParent = pParent; //will be unset in doDeferredInit
m_pUIBuilder = new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID);
}
Dialog::Dialog(Window* pParent, const rtl::OString& rID, const rtl::OUString& rUIXMLDescription, WindowType nType)
: SystemWindow( nType )
- , mpDialogParent(pParent) //will be unset in doDeferredInit
, mbIsDefferedInit(true)
{
ImplInitDialogData();
+ mpDialogParent = pParent; //will be unset in doDeferredInit
m_pUIBuilder = new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID);
}