summaryrefslogtreecommitdiff
path: root/vcl/inc/osx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-03-18 19:58:53 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2017-03-19 05:26:50 +0000
commit2667435ea5e6b73e58e57703b6fc3896e87eb370 (patch)
tree27bfdcd59e28819e644cc6a8c475a1637d5df713 /vcl/inc/osx
parent96a9b38db5fd9c21bffe4274fa7d5083d4bc2ee9 (diff)
vcl: have AcquaSalInstance use osl::Condition instead of oslCondition
Condition is deprecated already, but there is no need for the AcquaSalInstance class to use the low-level C-API, when in fact there is a C++ fascade that calls on this via the C++ abstraction, osl::Condition. This will make it much easier to switch to using std::condition_variable in the future. Change-Id: Ic495c4120a59480bf50a8c5b73608874fc4228ea Reviewed-on: https://gerrit.libreoffice.org/35392 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl/inc/osx')
-rw-r--r--vcl/inc/osx/salinst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/osx/salinst.h b/vcl/inc/osx/salinst.h
index 151fea94a4dd..6570ab32a7e2 100644
--- a/vcl/inc/osx/salinst.h
+++ b/vcl/inc/osx/salinst.h
@@ -24,7 +24,7 @@
#include <list>
#include <comphelper/solarmutex.hxx>
-#include <osl/conditn.h>
+#include <osl/conditn.hxx>
#include <osl/thread.hxx>
#ifdef MACOSX
@@ -73,7 +73,7 @@ public:
int mnActivePrintJobs;
std::list< SalUserEvent > maUserEvents;
osl::Mutex maUserEventListMutex;
- oslCondition maWaitingYieldCond;
+ osl::Condition maWaitingYieldCond;
static std::list<const ApplicationEvent*> aAppEventList;