diff options
author | Henry Castro <hcastro@collabora.com> | 2018-02-18 11:26:20 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2018-02-18 17:48:15 +0100 |
commit | 55f5afe532c61c6bc382f23e17dfeb6ed3985790 (patch) | |
tree | 35479631ca9c37926ba01c78447944c8f145ed5a | |
parent | ff570b4b58dbf274d3094d21d974f18b613e9b4b (diff) |
sw lok: assign a parent window to property dialog
Change-Id: Ief98b93502c3c69f84e7de47393718370a839208
Reviewed-on: https://gerrit.libreoffice.org/49926
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
-rw-r--r-- | sw/source/uibase/app/docsh2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx index 94cec4238872..870766a2312e 100644 --- a/sw/source/uibase/app/docsh2.cxx +++ b/sw/source/uibase/app/docsh2.cxx @@ -142,7 +142,7 @@ using namespace ::sfx2; // create DocInfo (virtual) VclPtr<SfxDocumentInfoDialog> SwDocShell::CreateDocumentInfoDialog(const SfxItemSet &rSet) { - VclPtr<SfxDocumentInfoDialog> pDlg = VclPtr<SfxDocumentInfoDialog>::Create(nullptr, rSet); + VclPtr<SfxDocumentInfoDialog> pDlg = VclPtr<SfxDocumentInfoDialog>::Create(&GetView()->GetViewFrame()->GetWindow(), rSet); //only with statistics, when this document is being shown, not //from within the Doc-Manager SwDocShell* pDocSh = static_cast<SwDocShell*>( SfxObjectShell::Current()); |