fpicker/source/office/iodlg.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6aaa4693ab7665d6239ed57c221ea92c5554398d
Author: Pranav Kant <pran...@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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to