summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-06-08 15:45:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-09 10:04:05 +0200
commit2b47c5f295589acb18d4404137c6b72d20f019b6 (patch)
tree2292dc860703e61f54ee337d19bf40ffed574e86 /sfx2
parent7a21b3f098a09e498e7d79f07d3b65463a0d0913 (diff)
remove the fake SvxScriptErrorDialog code
which just forwards to an async real dialog. Change-Id: I61936c4d105b9829042817e6a3cf5e60c451fb6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95830 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objmisc.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index e3e07dd5c306..e9adb018eae0 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -1435,9 +1435,7 @@ ErrCode SfxObjectShell::CallXScript( const Reference< XInterface >& _rxScriptCon
if ( bCaughtException && bRaiseError )
{
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
- ScopedVclPtr<VclAbstractDialog> pScriptErrDlg( pFact->CreateScriptErrorDialog( aException ) );
- if ( pScriptErrDlg )
- pScriptErrDlg->Execute();
+ pFact->ShowAsyncScriptErrorDialog( nullptr, aException );
}
SAL_INFO("sfx", "leaving CallXScript" );