diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-31 10:24:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-31 11:17:48 +0200 |
commit | c3d446522d0bd1ec0f1d9e0c4a83e3472eb108da (patch) | |
tree | 191690a7a010e7bfc8947eed186abad69f46d2ff /include/comphelper | |
parent | 2bfd51eab364c6b00603e2fa1e9c354eec90dc7f (diff) |
loplugin:unusedmethods
Change-Id: I0d888b565b0b53b318b790926667d7ba49504411
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99854
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/componentmodule.hxx | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/include/comphelper/componentmodule.hxx b/include/comphelper/componentmodule.hxx deleted file mode 100644 index 1d52cfd067b9..000000000000 --- a/include/comphelper/componentmodule.hxx +++ /dev/null @@ -1,63 +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_COMPHELPER_COMPONENTMODULE_HXX -#define INCLUDED_COMPHELPER_COMPONENTMODULE_HXX - -#include <comphelper/comphelperdllapi.h> - -#include <com/sun/star/uno/Sequence.hxx> - -#include <cppuhelper/factory.hxx> - -#include <osl/mutex.hxx> - -#include <memory> - - -namespace comphelper -{ - - - //= OModule - - class OModuleImpl; - class COMPHELPER_DLLPUBLIC OModule - { - private: - std::unique_ptr<OModuleImpl> m_pImpl; /// impl class. lives as long as at least one client for the module is registered - - protected: - mutable ::osl::Mutex m_aMutex; /// access safety - - public: - OModule(); - - virtual ~OModule(); - - private: - OModule( const OModule& ) = delete; - OModule& operator=( const OModule& ) = delete; - }; - -} // namespace comphelper - - -#endif // INCLUDED_COMPHELPER_COMPONENTMODULE_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |