From d46456b07df11bf774c3a7dcbcd843bb97efbe38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 7 Oct 2019 13:36:56 +0100 Subject: weld ScreenshotAnnotationDlg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I94e42c1d10922170f53af917bba6848c9f006a11 Reviewed-on: https://gerrit.libreoffice.org/80383 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/source/window/layout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/window/layout.cxx') diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index b7a2d8464df9..6863a8ea4b66 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -314,7 +314,7 @@ void VclContainer::Command(const CommandEvent& rCEvt) // open screenshot annotation dialog VclAbstractDialogFactory* pFact = VclAbstractDialogFactory::Create(); VclPtr pTmp = pFact->CreateScreenshotAnnotationDlg( - Application::GetDefDialogParent(), + pParentDialog->GetFrameWeld(), *pParentDialog); ScopedVclPtr pDialog(pTmp); -- cgit v1.2.1