diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-18 09:12:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-19 11:21:13 +0100 |
commit | f09eaefafbc8fe279ef07a6889f80c06c34b17dd (patch) | |
tree | 78294928ca28cd5983f6c00faac06600efefea08 /sd/source/ui/inc/MutexOwner.hxx | |
parent | 4547c4d208a8978684d602a582b933898385008e (diff) |
use more cppu::BaseMutex
Change-Id: Ida8eb69bb90a2ce53a9a783595b1dc0b0c9f334c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127076
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/inc/MutexOwner.hxx')
-rw-r--r-- | sd/source/ui/inc/MutexOwner.hxx | 38 |
1 files changed, 0 insertions, 38 deletions
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 <osl/mutex.hxx> - -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: */ |