From 316fca0f68982835c835d28cada71560c42657bc Mon Sep 17 00:00:00 2001
From: Noel Grandin
Date: Sun, 15 Jun 2025 15:16:34 +0200
Subject: [PATCH] Remove some dead IDL files
ever since
commit bfb8706466b52298def33d47d31b6efffc3ed531
Author: Noel Grandin
Date: Wed Jan 25 10:09:55 2023 +0200
no need for sd::ModuleController to load these factories via UNO
Change-Id: I5d912d2bc41e7fd1991d88d1e887d9ee27769bc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186585
Tested-by: Jenkins
Reviewed-by: Noel Grandin
---
offapi/UnoApi_offapi.mk | 3 --
.../drawing/framework/BasicPaneFactory.idl | 44 -----------------
.../drawing/framework/BasicToolBarFactory.idl | 47 ------------------
.../drawing/framework/BasicViewFactory.idl | 49 -------------------
4 files changed, 143 deletions(-)
delete mode 100644 offapi/com/sun/star/drawing/framework/BasicPaneFactory.idl
delete mode 100644 offapi/com/sun/star/drawing/framework/BasicToolBarFactory.idl
delete mode 100644 offapi/com/sun/star/drawing/framework/BasicViewFactory.idl
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 878e3138f561..ff9a81cb04f1 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -143,9 +143,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/drawing,\
ShapeCollection \
))
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/drawing/framework,\
- BasicPaneFactory \
- BasicToolBarFactory \
- BasicViewFactory \
ResourceId \
))
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/embed,\
diff --git a/offapi/com/sun/star/drawing/framework/BasicPaneFactory.idl b/offapi/com/sun/star/drawing/framework/BasicPaneFactory.idl
deleted file mode 100644
index 2defacca102b..000000000000
--- a/offapi/com/sun/star/drawing/framework/BasicPaneFactory.idl
+++ /dev/null
@@ -1,44 +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 .
- */
-
-module com { module sun { module star { module drawing { module framework {
-
-/** The BasicPaneFactory is a resource factory that provides the
- panes used by the Draw and Impress applications.
- This factory provides the center, left, and right pane. For the left
- pane there are two URLS, private:resource/floater/LeftImpressPane
- and private:resource/floater/LeftDrawPane, one for Impress,
- the other for Draw. The center pane and the right pane have the URLs
- private:resource/floater/CenterPane and
- private:resource/floater/RightPane respectively.
- This factory is typically created indirectly by registering it in the
- configuration and have the XModuleController create it on
- demand.
-*/
-service BasicPaneFactory : XResourceFactory
-{
- /** Give the controller to new instances so that they have access to the
- drawing framework controllers.
- */
- create ([in] ::com::sun::star::frame::XController xController);
-};
-
-}; }; }; }; }; // ::com::sun::star::drawing::framework
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/drawing/framework/BasicToolBarFactory.idl b/offapi/com/sun/star/drawing/framework/BasicToolBarFactory.idl
deleted file mode 100644
index d2dcea150154..000000000000
--- a/offapi/com/sun/star/drawing/framework/BasicToolBarFactory.idl
+++ /dev/null
@@ -1,47 +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 .
- */
-
-module com { module sun { module star { module drawing { module framework {
-
-/** The BasicToolBarFactory is a resource factory that provides
- (some of) the tool bars used by the Draw and Impress applications.
-
- The factory recognizes the following URLs:
- private:resource/toolbar/ViewTabBar for the tab bar
- that allows the switching between views.
-
- This short list marks the implementation of this service clearly as
- being in transition.
-
-
- This factory is typically created indirectly by registering it in the
- configuration and have the XModuleController create it on
- demand.
-*/
-service BasicToolBarFactory : XResourceFactory
-{
- /** Give the controller to new instances so that they have access to the
- drawing framework controllers.
- */
- create ([in] ::com::sun::star::frame::XController xController);
-};
-
-}; }; }; }; }; // ::com::sun::star::drawing::framework
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/drawing/framework/BasicViewFactory.idl b/offapi/com/sun/star/drawing/framework/BasicViewFactory.idl
deleted file mode 100644
index 816959985d86..000000000000
--- a/offapi/com/sun/star/drawing/framework/BasicViewFactory.idl
+++ /dev/null
@@ -1,49 +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 .
- */
-
-module com { module sun { module star { module drawing { module framework {
-
-/** The BasicViewFactory is a view factory that provides the
- panes used by the Draw and Impress applications.
-
- The factory recognizes the following URLs:
- private:resource/view/ImpressView for the regular edit
- view of the Impress application.
- private:resource/view/GraphicView for the regular edit
- view of the Draw application.
- private:resource/view/OutlineView for the outline view.
- private:resource/view/NotesView for the notes view.
- private:resource/view/HandoutView for the handout view.
- private:resource/view/SlideSorter for the slide sorter
- regardless of which pane it is used in.
- private:resource/view/PresentationView for the slide show.
- private:resource/view/TaskPane for the task pane.
-
-*/
-service BasicViewFactory : XResourceFactory
-{
- /** Give the controller to new instances so that they have access to the
- drawing framework controllers.
- */
- create ([in] ::com::sun::star::frame::XController xController);
-};
-
-}; }; }; }; }; // ::com::sun::star::drawing::framework
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */