From 8f999d656a737a175167e1af0d09e97516b84d58 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sat, 20 May 2017 18:16:39 +0200 Subject: cleanup unused css/animations/ and css/presentation/ includes Change-Id: Iafd106d431869d80f664bd540092bee4f10e14b5 Reviewed-on: https://gerrit.libreoffice.org/37862 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/inc/CustomAnimationPreset.hxx | 1 - sd/inc/sdattr.hxx | 1 - sd/qa/unit/export-tests-ooxml1.cxx | 5 ----- sd/qa/unit/export-tests-ooxml2.cxx | 3 --- sd/qa/unit/export-tests.cxx | 5 ----- sd/source/filter/eppt/eppt.cxx | 3 +++ sd/source/filter/eppt/eppt.hxx | 5 ----- sd/source/filter/eppt/epptso.cxx | 1 - sd/source/filter/eppt/pptexanimations.cxx | 3 --- sd/source/filter/eppt/pptexanimations.hxx | 1 - sd/source/filter/eppt/pptx-epptooxml.cxx | 4 +++- sd/source/filter/ppt/pptanimations.hxx | 3 --- sd/source/filter/ppt/pptin.cxx | 2 ++ sd/source/filter/ppt/pptinanimations.hxx | 1 - sd/source/ui/animations/CustomAnimationList.cxx | 2 -- sd/source/ui/animations/CustomAnimationPane.cxx | 1 + sd/source/ui/dlg/animobjs.cxx | 2 -- sd/source/ui/dlg/diactrl.cxx | 2 -- sd/source/ui/dlg/docprev.cxx | 1 - sd/source/ui/dlg/tpaction.cxx | 2 -- sd/source/ui/inc/docprev.hxx | 1 - sd/source/ui/inc/tpaction.hxx | 1 - sd/source/ui/remotecontrol/Communicator.cxx | 2 ++ sd/source/ui/remotecontrol/Listener.cxx | 2 -- sd/source/ui/remotecontrol/Receiver.hxx | 5 ----- sd/source/ui/sidebar/SlideBackground.cxx | 1 - sd/source/ui/slideshow/slideshowimpl.hxx | 2 -- sd/source/ui/slideshow/slideshowviewimpl.hxx | 3 --- sd/source/ui/slidesorter/controller/SlsSlotManager.cxx | 3 --- sd/source/ui/unoidl/randomnode.cxx | 1 + sd/source/ui/unoidl/unomodel.cxx | 1 - sd/source/ui/unoidl/unopage.cxx | 5 ----- sd/source/ui/view/outlnvs2.cxx | 2 -- sd/source/ui/view/presvish.cxx | 3 --- 34 files changed, 12 insertions(+), 68 deletions(-) (limited to 'sd') diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx index 7f8252fbc330..94f7448d62ae 100644 --- a/sd/inc/CustomAnimationPreset.hxx +++ b/sd/inc/CustomAnimationPreset.hxx @@ -26,7 +26,6 @@ #include #include -#include #include diff --git a/sd/inc/sdattr.hxx b/sd/inc/sdattr.hxx index afda93ceec26..efa78ac6957e 100644 --- a/sd/inc/sdattr.hxx +++ b/sd/inc/sdattr.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SD_INC_SDATTR_HXX #define INCLUDED_SD_INC_SDATTR_HXX -#include #include #include #include diff --git a/sd/qa/unit/export-tests-ooxml1.cxx b/sd/qa/unit/export-tests-ooxml1.cxx index ab59ffe226b1..c606e3873f62 100644 --- a/sd/qa/unit/export-tests-ooxml1.cxx +++ b/sd/qa/unit/export-tests-ooxml1.cxx @@ -44,11 +44,6 @@ #include #include -#include -#include -#include -#include -#include #include #include #include diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx index 0e6bd2542814..53f4af894add 100644 --- a/sd/qa/unit/export-tests-ooxml2.cxx +++ b/sd/qa/unit/export-tests-ooxml2.cxx @@ -44,9 +44,6 @@ #include #include -#include -#include -#include #include #include #include diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx index 80a03416d759..6ab7da20547d 100644 --- a/sd/qa/unit/export-tests.cxx +++ b/sd/qa/unit/export-tests.cxx @@ -44,11 +44,6 @@ #include #include -#include -#include -#include -#include -#include #include #include #include diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx index 2b98faf035af..fc6dce12a3e5 100644 --- a/sd/source/filter/eppt/eppt.cxx +++ b/sd/source/filter/eppt/eppt.cxx @@ -40,6 +40,9 @@ #include #include #include +#include +#include +#include #include #include #include diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx index ddba77f1b970..80a1ab4d9ffd 100644 --- a/sd/source/filter/eppt/eppt.hxx +++ b/sd/source/filter/eppt/eppt.hxx @@ -51,18 +51,13 @@ #include #include #include -#include -#include #include #include #include #include #include #include -#include #include -#include -#include #include #include #include diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index d4314994741d..4a465c5328fe 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -44,7 +44,6 @@ #include #include #include -#include #include #include #include diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx index 8e854220919f..5ffc215ded64 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -38,8 +37,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/sd/source/filter/eppt/pptexanimations.hxx b/sd/source/filter/eppt/pptexanimations.hxx index d9e38b030534..4628a104ac96 100644 --- a/sd/source/filter/eppt/pptexanimations.hxx +++ b/sd/source/filter/eppt/pptexanimations.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_PPTEXANIMATIONS_HXX #define INCLUDED_SD_SOURCE_FILTER_EPPT_PPTEXANIMATIONS_HXX -#include #include #include #include diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index cf5a37d32a48..68c0b6efa62e 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -43,8 +43,9 @@ #include #include #include +#include +#include #include -#include #include #include #include @@ -58,6 +59,7 @@ #include #include #include +#include #include #include diff --git a/sd/source/filter/ppt/pptanimations.hxx b/sd/source/filter/ppt/pptanimations.hxx index 599af58b01d7..a1277d6e40d8 100644 --- a/sd/source/filter/ppt/pptanimations.hxx +++ b/sd/source/filter/ppt/pptanimations.hxx @@ -21,9 +21,6 @@ #define INCLUDED_SD_SOURCE_FILTER_PPT_PPTANIMATIONS_HXX #include -#include -#include -#include #include diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 67cf9c3f81e0..9c4574d8729b 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -88,6 +88,8 @@ #include "pptinanimations.hxx" #include "ppt97animations.hxx" +#include +#include #include #include #include diff --git a/sd/source/filter/ppt/pptinanimations.hxx b/sd/source/filter/ppt/pptinanimations.hxx index 49b9012ec54d..a9e9e9fe2d16 100644 --- a/sd/source/filter/ppt/pptinanimations.hxx +++ b/sd/source/filter/ppt/pptinanimations.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPTINANIMATIONS_HXX #define INCLUDED_SD_SOURCE_FILTER_PPT_PPTINANIMATIONS_HXX -#include #include #include "pptanimations.hxx" diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index fa7aa1281bbd..88a5393495d3 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -50,7 +49,6 @@ #include using namespace ::com::sun::star; -using namespace ::com::sun::star::animations; using namespace ::com::sun::star::presentation; using ::com::sun::star::uno::UNO_QUERY; diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 715bdc97b327..c3ccb5ee1dd8 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include #include diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx index 22117cb810f2..9ab74aba8f0b 100644 --- a/sd/source/ui/dlg/animobjs.cxx +++ b/sd/source/ui/dlg/animobjs.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include #include #include #include diff --git a/sd/source/ui/dlg/diactrl.cxx b/sd/source/ui/dlg/diactrl.cxx index 842462414dc9..c70536b1dc76 100644 --- a/sd/source/ui/dlg/diactrl.cxx +++ b/sd/source/ui/dlg/diactrl.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include - #include #include "sdattr.hxx" diff --git a/sd/source/ui/dlg/docprev.cxx b/sd/source/ui/dlg/docprev.cxx index 919867d9cd6d..fb0130546a1f 100644 --- a/sd/source/ui/dlg/docprev.cxx +++ b/sd/source/ui/dlg/docprev.cxx @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx index e26bca9e196f..7e25804ba576 100644 --- a/sd/source/ui/dlg/tpaction.cxx +++ b/sd/source/ui/dlg/tpaction.cxx @@ -18,9 +18,7 @@ */ #include -#include #include -#include #include #include #include diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx index 42e329adac1b..32acb3059798 100644 --- a/sd/source/ui/inc/docprev.hxx +++ b/sd/source/ui/inc/docprev.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_DOCPREV_HXX #define INCLUDED_SD_SOURCE_UI_INC_DOCPREV_HXX -#include #include #include #include diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx index f461eca4f0ba..5f0f1a07a73d 100644 --- a/sd/source/ui/inc/tpaction.hxx +++ b/sd/source/ui/inc/tpaction.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SD_SOURCE_UI_INC_TPACTION_HXX #include -#include #include #include #include diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx index 43e069d0e2fa..6880d0d1cfbd 100644 --- a/sd/source/ui/remotecontrol/Communicator.cxx +++ b/sd/source/ui/remotecontrol/Communicator.cxx @@ -10,6 +10,8 @@ #include #include +#include +#include #include #include #include diff --git a/sd/source/ui/remotecontrol/Listener.cxx b/sd/source/ui/remotecontrol/Listener.cxx index 00e50c289093..05ee4a9e3404 100644 --- a/sd/source/ui/remotecontrol/Listener.cxx +++ b/sd/source/ui/remotecontrol/Listener.cxx @@ -8,8 +8,6 @@ */ #include -#include -#include #include #include diff --git a/sd/source/ui/remotecontrol/Receiver.hxx b/sd/source/ui/remotecontrol/Receiver.hxx index 025797c0963a..9d7652da3119 100644 --- a/sd/source/ui/remotecontrol/Receiver.hxx +++ b/sd/source/ui/remotecontrol/Receiver.hxx @@ -9,11 +9,6 @@ #ifndef INCLUDED_SD_SOURCE_UI_REMOTECONTROL_RECEIVER_HXX #define INCLUDED_SD_SOURCE_UI_REMOTECONTROL_RECEIVER_HXX -#include -#include -#include -#include -#include #include #include #include diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx index 7425518a5980..c238260f08d8 100644 --- a/sd/source/ui/sidebar/SlideBackground.cxx +++ b/sd/source/ui/sidebar/SlideBackground.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include #include "SlideBackground.hxx" diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index 0a3f5b8c6a69..2d528edd3e39 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include "com/sun/star/presentation/XShapeEventListener.hpp" @@ -42,7 +41,6 @@ #include #include #include -#include #include #include #include diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx index 4ebffd7df4e6..ef6291f644b2 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.hxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx @@ -33,11 +33,8 @@ #include #include #include -#include #include -#include #include -#include #include #include #include diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx index 67180808ecf2..5fcbb1894b28 100644 --- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include @@ -81,7 +80,6 @@ #include #include #include -#include #include #include #include @@ -90,7 +88,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::presentation; using namespace ::com::sun::star::beans; namespace sd { namespace slidesorter { namespace controller { diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx index 3edb7be657f3..03c35b140791 100644 --- a/sd/source/ui/unoidl/randomnode.cxx +++ b/sd/source/ui/unoidl/randomnode.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index bf8f41b28534..d1bae6bcf5b5 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -106,7 +106,6 @@ #include "optsitem.hxx" #include -#include #include #include #include diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 5a161ce673b2..71078895f0fb 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -19,14 +19,9 @@ #include #include -#include #include -#include -#include #include #include -#include -#include #include #include #include diff --git a/sd/source/ui/view/outlnvs2.cxx b/sd/source/ui/view/outlnvs2.cxx index b3df9d061523..250087afb10a 100644 --- a/sd/source/ui/view/outlnvs2.cxx +++ b/sd/source/ui/view/outlnvs2.cxx @@ -19,7 +19,6 @@ #include "OutlineViewShell.hxx" -#include #include #include "app.hrc" @@ -65,7 +64,6 @@ #include using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::presentation; using namespace ::com::sun::star::beans; namespace sd { diff --git a/sd/source/ui/view/presvish.cxx b/sd/source/ui/view/presvish.cxx index 206bd66ffea5..fac288dd9258 100644 --- a/sd/source/ui/view/presvish.cxx +++ b/sd/source/ui/view/presvish.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include - #include #include #include @@ -55,7 +53,6 @@ using namespace sd; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::presentation; namespace sd { -- cgit