From f09eaefafbc8fe279ef07a6889f80c06c34b17dd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 18 Dec 2021 09:12:42 +0200 Subject: use more cppu::BaseMutex Change-Id: Ida8eb69bb90a2ce53a9a783595b1dc0b0c9f334c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127076 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/inc/MutexOwner.hxx | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 sd/source/ui/inc/MutexOwner.hxx (limited to 'sd/source/ui/inc/MutexOwner.hxx') diff --git a/sd/source/ui/inc/MutexOwner.hxx b/sd/source/ui/inc/MutexOwner.hxx deleted file mode 100644 index ce68902deeef..000000000000 --- a/sd/source/ui/inc/MutexOwner.hxx +++ /dev/null @@ -1,38 +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 . - */ - -#pragma once - -#include - -namespace sd -{ -/** This class provides a mutex to derived classes. It exists to - satisfy some helper classes from cppuhelper who expect a mutex as - argument to their constructor. -*/ -class MutexOwner -{ -protected: - mutable ::osl::Mutex maMutex; -}; - -} // end of namespace ::sd - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3