summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-04-15 12:50:57 +0200
committerJan Holesovsky <kendy@collabora.com>2014-04-15 13:10:56 +0200
commitdc6175ff1fb317a4536722e2adb5302988316e9a (patch)
treed2cfde89f5751bd516a9c86f1797b4634ccf141b /framework/inc
parent4bc0bd734847160d3eb94d9e49d9b99f2c7c1afc (diff)
Remove LockHelper::getGlobalMutex().
Do what the TODO suggests - change it to SolarMutex in most cases. In some cases it is only there to guard a local static, introduce a local mutex for those. Change-Id: Idc3155818f737b958b36ee9125e2e9e8cb1b91a1
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/threadhelp/lockhelper.hxx39
1 files changed, 0 insertions, 39 deletions
diff --git a/framework/inc/threadhelp/lockhelper.hxx b/framework/inc/threadhelp/lockhelper.hxx
deleted file mode 100644
index eb2260a6378a..000000000000
--- a/framework/inc/threadhelp/lockhelper.hxx
+++ /dev/null
@@ -1,39 +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 .
- */
-
-#ifndef INCLUDED_FRAMEWORK_INC_THREADHELP_LOCKHELPER_HXX
-#define INCLUDED_FRAMEWORK_INC_THREADHELP_LOCKHELPER_HXX
-
-#include <sal/config.h>
-
-#include <fwidllapi.h>
-
-namespace osl { class Mutex; }
-
-namespace framework { namespace LockHelper {
-
-//TODO: This presumable should return the SolarMutex, though it actually returns
-// some independent mutex:
-FWI_DLLPUBLIC osl::Mutex & getGlobalLock();
-
-} }
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */