summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2019-04-10 13:32:25 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-04-10 18:03:27 +0200
commit728ee3839ea94e3391c36a847bf6b28c12ad7647 (patch)
tree65518b3eade72ae243a4d0459fb37cfeac3dd08f /vcl
parent14abbc6e86ba234996dfed477a54030adeac2a52 (diff)
tdf#124652 Guard Gtk3KDE5FolderPicker::execute with SolarMutexGuard
S.a. commit 8dbe0af729c9e054135a0f41706165033441f867 which already did the same for Gtk3KDE5FilePicker. Change-Id: I35f837b7b8fdaebc5625ff8ea5e20b3f48a3b4ec Reviewed-on: https://gerrit.libreoffice.org/70519 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3_kde5/gtk3_kde5_folderpicker.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/unx/gtk3_kde5/gtk3_kde5_folderpicker.cxx b/vcl/unx/gtk3_kde5/gtk3_kde5_folderpicker.cxx
index ad89374b47c7..fcfe9f51d685 100644
--- a/vcl/unx/gtk3_kde5/gtk3_kde5_folderpicker.cxx
+++ b/vcl/unx/gtk3_kde5/gtk3_kde5_folderpicker.cxx
@@ -76,7 +76,11 @@ void SAL_CALL Gtk3KDE5FolderPicker::setTitle(const OUString& aTitle)
m_ipc.sendCommand(Commands::SetTitle, aTitle);
}
-sal_Int16 SAL_CALL Gtk3KDE5FolderPicker::execute() { return m_ipc.execute(); }
+sal_Int16 SAL_CALL Gtk3KDE5FolderPicker::execute()
+{
+ SolarMutexGuard g;
+ return m_ipc.execute();
+}
// XCancellable