diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-01 16:53:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-01 20:36:05 +0100 |
commit | f4b353c1f52fc78a102413cac94c7fb24292bec6 (patch) | |
tree | 1e2b1328eb666ed40b3aea2b5ac7f865568474a8 /sw/source/ui/misc/titlepage.cxx | |
parent | e78a519285a5d2ca5ccc9ae6a5fda81975fa38d7 (diff) |
Related: tdf#145363 provide an explicit parent for page format
when launched from another dialog let it take that as the parent
Change-Id: I07bfe03717cbe140301060e6e85bdbdef953bf5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124560
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/misc/titlepage.cxx')
-rw-r--r-- | sw/source/ui/misc/titlepage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/titlepage.cxx b/sw/source/ui/misc/titlepage.cxx index 8925a60d0faf..c943b014ce2d 100644 --- a/sw/source/ui/misc/titlepage.cxx +++ b/sw/source/ui/misc/titlepage.cxx @@ -257,7 +257,7 @@ SwTitlePageDlg::~SwTitlePageDlg() IMPL_LINK_NOARG(SwTitlePageDlg, EditHdl, weld::Button&, void) { SwView& rView = mrSh.GetView(); - rView.GetDocShell()->FormatPage(m_xPagePropertiesLB->get_active_text(), "page", mrSh); + rView.GetDocShell()->FormatPage(getDialog(), m_xPagePropertiesLB->get_active_text(), "page", mrSh); rView.InvalidateRulerPos(); } |