summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-14 10:43:07 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-15 08:09:01 +0000
commit494bd08c48c40d6ddd807e0ec40a315786e93975 (patch)
tree4d1df7630ef9cda83dac70a0460f444213ff21a8 /tools
parent3daee9953da215fb7c0740259dcb37713dd17cd1 (diff)
remove tools/solarmutex.hxx
Deprecated in favour of comphelper::SolarMutex Change-Id: I159077562660de5df25601fa471447f4b64a2cf1 Reviewed-on: https://gerrit.libreoffice.org/24079 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Library_tl.mk1
-rw-r--r--tools/source/misc/solarmutex.cxx42
2 files changed, 0 insertions, 43 deletions
diff --git a/tools/Library_tl.mk b/tools/Library_tl.mk
index 2bca4a53424e..2916ad3becf4 100644
--- a/tools/Library_tl.mk
+++ b/tools/Library_tl.mk
@@ -71,7 +71,6 @@ $(eval $(call gb_Library_add_exception_objects,tl,\
tools/source/misc/cpuid \
tools/source/misc/extendapplicationenvironment \
tools/source/misc/getprocessworkingdir \
- tools/source/misc/solarmutex \
tools/source/misc/toolsdll \
tools/source/rc/rc \
tools/source/rc/resary \
diff --git a/tools/source/misc/solarmutex.cxx b/tools/source/misc/solarmutex.cxx
deleted file mode 100644
index 66029398a619..000000000000
--- a/tools/source/misc/solarmutex.cxx
+++ /dev/null
@@ -1,42 +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 <tools/solarmutex.hxx>
-
-namespace tools
-{
- bool SolarMutex::Acquire()
- {
- comphelper::SolarMutex *pSolarMutex = comphelper::SolarMutex::get();
- if ( pSolarMutex )
- pSolarMutex->acquire();
- else
- return false;
- return true;
- }
-
- void SolarMutex::Release()
- {
- comphelper::SolarMutex *pSolarMutex = comphelper::SolarMutex::get();
- if ( pSolarMutex )
- pSolarMutex->release();
- }
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */