summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-28 15:07:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-28 17:31:25 +0100
commitc8ef1fcb49abb1222f9e4d329adb8a6a744be0f6 (patch)
treebc985831bbb5567f63b5c8ad003a9f5b2ed12d76 /sc
parentd16962fb59e7326b2868f794bb6246e12e98ce0f (diff)
Related: tdf#129082 set explicit parent for warning dialog
Change-Id: I600be635fef3f9c0d60a799af210e2c6b11b7c10 Reviewed-on: https://gerrit.libreoffice.org/84015 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/miscdlgs/instbdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx
index 303807299dc4..747cd524b70f 100644
--- a/sc/source/ui/miscdlgs/instbdlg.cxx
+++ b/sc/source/ui/miscdlgs/instbdlg.cxx
@@ -325,7 +325,7 @@ IMPL_LINK( ScInsertTableDlg, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg
ErrCode nErr = pDocShTables->GetErrorCode();
if ( nErr )
- ErrorHandler::HandleError( nErr ); // warnings, too
+ ErrorHandler::HandleError(nErr, m_xDialog.get()); // warnings, too
if ( !pDocShTables->GetError() ) // errors only
{