diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-19 18:20:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-20 00:56:59 +0100 |
commit | 17d08d421e3d6ef48f8ad2b94537143aaf3a5ebb (patch) | |
tree | f17f22e1b5b33912ac24b9b39c8f15a0677884a0 /vcl | |
parent | e92b3a092b48494a4fdc90f62685f668f59a874b (diff) |
use correct deferred parent window
Change-Id: Id9d56d9f014cee216f1478d764082b97ddd30b01
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dialog.cxx | 4 |
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); } |