summaryrefslogtreecommitdiff
path: root/include/vcl/scheduler.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-09 18:09:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-09 18:09:08 +0200
commitdab0835c2f37e322cc64e63824bd4ec8f54c5b1d (patch)
tree0c8dbb267776ef453fff31022fdad9f27712ae02 /include/vcl/scheduler.hxx
parentc9b60d8884c125482959e3514cf14e60bfc86ba9 (diff)
osl::Mutex::acquire can effectively only fail upon programming errors
...so simplify the design a bit here (and there was no meaningful failure- handling code, anyway) Change-Id: I34bb3a7b5fc56f2213a4d22438f0733e1b65fe4b
Diffstat (limited to 'include/vcl/scheduler.hxx')
-rw-r--r--include/vcl/scheduler.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx
index 1196466cdb22..5c9d8f0d0d6e 100644
--- a/include/vcl/scheduler.hxx
+++ b/include/vcl/scheduler.hxx
@@ -40,7 +40,7 @@ class VCL_DLLPUBLIC Scheduler final
static void ImplStartTimer ( sal_uInt64 nMS, bool bForce, sal_uInt64 nTime );
- static bool Lock( sal_uInt32 nLockCount = 1 );
+ static void Lock( sal_uInt32 nLockCount = 1 );
static sal_uInt32 Unlock( bool bUnlockAll = false );
public: