[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sw/source
Henry Castro
hcastro at collabora.com
Wed Feb 21 14:44:02 UTC 2018
sw/source/uibase/app/docsh2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3fb7d26fa4d326b407114f1b48372960d2c671da
Author: Henry Castro <hcastro at collabora.com>
Date: Sun Feb 18 11:26:20 2018 -0400
sw lok: assign a parent window to property dialog
Change-Id: Ief98b93502c3c69f84e7de47393718370a839208
Reviewed-on: https://gerrit.libreoffice.org/49926
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Henry Castro <hcastro at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/49943
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx
index f82ce9bc66e9..afcd25351308 100644
--- a/sw/source/uibase/app/docsh2.cxx
+++ b/sw/source/uibase/app/docsh2.cxx
@@ -139,7 +139,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());
More information about the Libreoffice-commits
mailing list