diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2018-01-25 16:25:25 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2018-01-25 21:47:10 +0530 |
commit | 6aaa4693ab7665d6239ed57c221ea92c5554398d (patch) | |
tree | b158be67bd08507025a191fbf90bc19c46d2c3f4 /fpicker/source | |
parent | 6d5e2ca07fb0c8686c9e09645933ca0f2f58ab71 (diff) |
fpicker: Respect the PrepareExecute() result
Change-Id: I351eaa76da01656638de5f04eb376e5b16102b4a
Diffstat (limited to 'fpicker/source')
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); |