From bddbc496942948f94f4c9665ac6eea4b1b28da61 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 Jan 2023 13:28:42 +0200 Subject: [PATCH] AsyncFunc header is dead MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit since commit 688489959e69994d455f36f3e9bb4c0ba3ee87aa Author: Caolán McNamara Date: Tue Nov 2 14:25:24 2021 +0000 Revert "tdf#117895: "Edit document properties before saving"..." Change-Id: I65239b4d9ca96075701121edc32d07c91631c629 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145966 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/IwyuFilter_sfx2.yaml | 3 --- sfx2/source/inc/asyncfunc.hxx | 36 ----------------------------------- 2 files changed, 39 deletions(-) delete mode 100644 sfx2/source/inc/asyncfunc.hxx diff --git a/sfx2/IwyuFilter_sfx2.yaml b/sfx2/IwyuFilter_sfx2.yaml index f432ce5a3896..9d653c2ae023 100644 --- a/sfx2/IwyuFilter_sfx2.yaml +++ b/sfx2/IwyuFilter_sfx2.yaml @@ -131,9 +131,6 @@ excludelist: sfx2/source/doc/signaturestate.cxx: # Actually used - com/sun/star/security/DocumentSignatureInformation.hpp - sfx2/source/inc/asyncfunc.hxx: - # base class has to be a complete type - - com/sun/star/lang/XUnoTunnel.hpp sfx2/source/sidebar/ControllerFactory.cxx: # Actually used - com/sun/star/frame/XFrame.hpp diff --git a/sfx2/source/inc/asyncfunc.hxx b/sfx2/source/inc/asyncfunc.hxx deleted file mode 100644 index 708750baaf3b..000000000000 --- a/sfx2/source/inc/asyncfunc.hxx +++ /dev/null @@ -1,36 +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/. - */ - -#ifndef INCLUDED_SFX2_ASYNCFUNC_HXX -#define INCLUDED_SFX2_ASYNCFUNC_HXX - -#include - -#include -#include -#include - -class AsyncFunc final : public cppu::WeakImplHelper -{ -private: - std::function m_pAsyncFunc; - -public: - AsyncFunc(const std::function&); - virtual ~AsyncFunc() override; - - void Execute(); - - //XUnoTunnel - UNO3_GETIMPLEMENTATION_DECL(AsyncFunc) -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */