diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2018-01-25 16:25:25 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-25 14:08:14 +0200 |
commit | b6c969e17fc42b2764c1ced5e8ba0eaa1e950309 (patch) | |
tree | e1bb790c88f513b5ac16c7c1c94d7c5c04d1f37c /fpicker | |
parent | 6959ec94f147d9b7a975162df0255b05211538b6 (diff) |
fpicker: Respect the PrepareExecute() result
Change-Id: I351eaa76da01656638de5f04eb376e5b16102b4a
(cherry picked from commit 6aaa4693ab7665d6239ed57c221ea92c5554398d)
Diffstat (limited to 'fpicker')
-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 fe1e3ba9dcc1..17dea678373d 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1684,7 +1684,8 @@ short SvtFileDialog::Execute() void SvtFileDialog::StartExecuteModal( const Link<Dialog&,void>& rEndDialogHdl ) { - PrepareExecute(); + if (!PrepareExecute()) + return; // start of the dialog ModalDialog::StartExecuteModal( rEndDialogHdl ); |