summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-20 18:10:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-20 18:10:51 +0100
commitad28ffaa37e87d8d4f57dbfd5ed2eb3aae918d68 (patch)
tree39b9ab4c7800cd886ea0ce4c5478a172c3f9122f /vcl/source/app
parent36be3d94c2e142d01c026a93fa88454cb5316bff (diff)
Remove unnecessary vcl::SolarMutexObject
Change-Id: I6dfdd7d5d211b66019dfbe364101140e28a3584d
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/solarmutex.cxx48
1 files changed, 0 insertions, 48 deletions
diff --git a/vcl/source/app/solarmutex.cxx b/vcl/source/app/solarmutex.cxx
deleted file mode 100644
index fb5f416073d9..000000000000
--- a/vcl/source/app/solarmutex.cxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <vcl/solarmutex.hxx>
-
-using namespace vcl;
-
-SolarMutexObject::SolarMutexObject() : m_solarMutex( osl_createMutex() )
-{
-}
-
-SolarMutexObject::~SolarMutexObject()
-{
- osl_destroyMutex( m_solarMutex );
-}
-
-void SolarMutexObject::acquire()
-{
- osl_acquireMutex( m_solarMutex );
-}
-
-bool SolarMutexObject::tryToAcquire()
-{
- return osl_tryToAcquireMutex( m_solarMutex );
-}
-
-void SolarMutexObject::release()
-{
- osl_releaseMutex( m_solarMutex );
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */