[Libreoffice-commits] core.git: fpicker/source
Pranav Kant
pranavk at collabora.co.uk
Thu Jan 25 16:17:41 UTC 2018
fpicker/source/office/iodlg.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 6aaa4693ab7665d6239ed57c221ea92c5554398d
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Thu Jan 25 16:25:25 2018 +0530
fpicker: Respect the PrepareExecute() result
Change-Id: I351eaa76da01656638de5f04eb376e5b16102b4a
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index d40f93214411..f497ba451f1c 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1683,7 +1683,8 @@ short SvtFileDialog::Execute()
void SvtFileDialog::StartExecuteModal( const Link<Dialog&,void>& rEndDialogHdl )
{
- PrepareExecute();
+ if (!PrepareExecute())
+ return;
// start of the dialog
ModalDialog::StartExecuteModal( rEndDialogHdl );
More information about the Libreoffice-commits
mailing list