summaryrefslogtreecommitdiff
path: root/vcl/source/window/layout.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-07 13:36:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-07 20:24:04 +0200
commitd46456b07df11bf774c3a7dcbcd843bb97efbe38 (patch)
treedf5be0a3ea649a44aa2e28a4e7d6a2870343380e /vcl/source/window/layout.cxx
parent76681af6d846f9b285b4034826722766e47415e2 (diff)
weld ScreenshotAnnotationDlg
Change-Id: I94e42c1d10922170f53af917bba6848c9f006a11 Reviewed-on: https://gerrit.libreoffice.org/80383 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r--vcl/source/window/layout.cxx2
1 files changed, 1 insertions, 1 deletions
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<AbstractScreenshotAnnotationDlg> pTmp = pFact->CreateScreenshotAnnotationDlg(
- Application::GetDefDialogParent(),
+ pParentDialog->GetFrameWeld(),
*pParentDialog);
ScopedVclPtr<AbstractScreenshotAnnotationDlg> pDialog(pTmp);