From dc6175ff1fb317a4536722e2adb5302988316e9a Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Tue, 15 Apr 2014 12:50:57 +0200 Subject: 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 --- framework/inc/threadhelp/lockhelper.hxx | 39 --------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 framework/inc/threadhelp/lockhelper.hxx (limited to 'framework/inc') 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 - -#include - -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: */ -- cgit v1.2.3