diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-16 03:15:13 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 17:57:36 -0500 |
commit | c94a7511bf72185b189f0535f2963a78817f8c39 (patch) | |
tree | c72a28961cc0d3992bea74eb2aa762528eb1967a /sc/inc/refreshtimer.hxx | |
parent | d2c8e2e76f1c363dd7a07bd7c47d78d3e50ae5c1 (diff) |
merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
Diffstat (limited to 'sc/inc/refreshtimer.hxx')
-rw-r--r-- | sc/inc/refreshtimer.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/refreshtimer.hxx b/sc/inc/refreshtimer.hxx index 2a8512848ef0..f60ccc74afb8 100644 --- a/sc/inc/refreshtimer.hxx +++ b/sc/inc/refreshtimer.hxx @@ -30,7 +30,7 @@ #include <tools/list.hxx> #include <vcl/timer.hxx> -#include <vos/mutex.hxx> +#include <osl/mutex.hxx> #include <scdllapi.h> #define SC_REFRESHTIMER_CONTROL_LIST 0 @@ -42,8 +42,8 @@ DECLARE_LIST( ScRefreshTimerList, ScRefreshTimer* ) class ScRefreshTimerControl { private: - ::vos::OMutex aMutex; - USHORT nBlockRefresh; + ::osl::Mutex aMutex; + USHORT nBlockRefresh; public: #if SC_REFRESHTIMER_CONTROL_LIST @@ -60,7 +60,7 @@ public: ++nBlockRefresh; } BOOL IsRefreshAllowed() const { return !nBlockRefresh; } - ::vos::OMutex& GetMutex() { return aMutex; } + ::osl::Mutex& GetMutex() { return aMutex; } }; |