summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-16 15:23:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-16 21:00:56 +0200
commitb264c9276888bb952deeec31abe3a77e05dac164 (patch)
tree5866afe6129d7ef9e0938c60f3e3a51a004d1350
parentf260284c3915fbd84430833f19ad8c053205ebce (diff)
data->sort->options->copy sort results to, enter "asd"->ok crashes
Change-Id: If0748d26f8e65b07e98fdda577931348fc479724 Reviewed-on: https://gerrit.libreoffice.org/59186 Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/ui/dbgui/tpsort.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index 6009f8b35b4b..1f7a71c249be 100644
--- a/sc/source/ui/dbgui/tpsort.cxx
+++ b/sc/source/ui/dbgui/tpsort.cxx
@@ -755,7 +755,7 @@ DeactivateRC ScTabPageSortOptions::DeactivatePage( SfxItemSet* pSetP )
if ( !bPosInputOk )
{
- std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetTabDialog()->GetFrameWeld(),
+ std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetDialogController()->getDialog(),
VclMessageType::Warning, VclButtonsType::Ok,
ScResId(STR_INVALID_TABREF)));
xBox->run();