From 58fa1889eeaa1d8e4abdf49a18660721309362ce Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 12 Feb 2019 21:00:26 +0100 Subject: tdf#42949 Fix IWYU warnings in include/framework/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ia9616f644a68ec6da22e646ba0d919a3489a9481 Reviewed-on: https://gerrit.libreoffice.org/67745 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- framework/source/fwe/classes/addonmenu.cxx | 4 +++- framework/source/fwe/classes/addonsoptions.cxx | 2 ++ framework/source/fwe/classes/framelistanalyzer.cxx | 1 + framework/source/fwe/dispatch/interaction.cxx | 2 ++ framework/source/fwe/helper/configimporter.cxx | 1 + framework/source/fwe/helper/titlehelper.cxx | 1 + framework/source/fwe/helper/undomanagerhelper.cxx | 3 +++ framework/source/fwe/xml/menudocumenthandler.cxx | 2 ++ framework/source/fwe/xml/statusbardocumenthandler.cxx | 2 ++ framework/source/fwe/xml/toolboxdocumenthandler.cxx | 2 ++ framework/source/layoutmanager/layoutmanager.cxx | 1 + framework/source/layoutmanager/toolbarlayoutmanager.cxx | 1 + framework/source/uielement/generictoolbarcontroller.cxx | 1 + framework/source/uielement/popuptoolbarcontroller.cxx | 1 + framework/source/uielement/resourcemenucontroller.cxx | 1 + framework/source/uielement/statusbarmanager.cxx | 1 + framework/source/uielement/toolbarmodemenucontroller.cxx | 1 + framework/source/uielement/toolbarsmenucontroller.cxx | 1 + 18 files changed, 27 insertions(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/fwe/classes/addonmenu.cxx b/framework/source/fwe/classes/addonmenu.cxx index 861b403ffb00..ebaf190b9a4d 100644 --- a/framework/source/fwe/classes/addonmenu.cxx +++ b/framework/source/fwe/classes/addonmenu.cxx @@ -24,17 +24,19 @@ #include #include +#include +#include #include #include #include #include +#include #include #include #include using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::lang; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index 4131a4381736..6652b1972ca5 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include #include @@ -32,6 +33,7 @@ #include #include #include +#include #include #include diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx index 3bb31726244a..694ebebefa8c 100644 --- a/framework/source/fwe/classes/framelistanalyzer.cxx +++ b/framework/source/fwe/classes/framelistanalyzer.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx index 543e309495c4..fbcf9df3dc86 100644 --- a/framework/source/fwe/dispatch/interaction.cxx +++ b/framework/source/fwe/dispatch/interaction.cxx @@ -20,6 +20,8 @@ #include #include #include +#include +#include using namespace ::com::sun::star; diff --git a/framework/source/fwe/helper/configimporter.cxx b/framework/source/fwe/helper/configimporter.cxx index 48eee08384c2..d277947b8eaf 100644 --- a/framework/source/fwe/helper/configimporter.cxx +++ b/framework/source/fwe/helper/configimporter.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index 070ec79bdfe0..cd7551882e89 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index f4d5e8bee508..411d32ed7b67 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -18,13 +18,16 @@ */ #include +#include #include #include #include +#include #include #include #include +#include #include #include diff --git a/framework/source/fwe/xml/menudocumenthandler.cxx b/framework/source/fwe/xml/menudocumenthandler.cxx index 6bb685ae24e2..0a30b76cadec 100644 --- a/framework/source/fwe/xml/menudocumenthandler.cxx +++ b/framework/source/fwe/xml/menudocumenthandler.cxx @@ -19,6 +19,8 @@ #include #include +#include +#include #include #include diff --git a/framework/source/fwe/xml/statusbardocumenthandler.cxx b/framework/source/fwe/xml/statusbardocumenthandler.cxx index b8bf232da2ce..296ba978c0c7 100644 --- a/framework/source/fwe/xml/statusbardocumenthandler.cxx +++ b/framework/source/fwe/xml/statusbardocumenthandler.cxx @@ -26,6 +26,8 @@ #include #include #include +#include +#include #include #include diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx index f2fbb715a6e6..e8f0fb1fde21 100644 --- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx +++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx @@ -27,6 +27,8 @@ #include #include #include +#include +#include #include #include diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 1b60c9e82d04..0489804ed5fc 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index 6380c4ae86ee..644eacb8d05b 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -43,6 +43,7 @@ #include #include #include +#include #include diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx index fea6f71d5f29..61ddc35a4ffc 100644 --- a/framework/source/uielement/generictoolbarcontroller.cxx +++ b/framework/source/uielement/generictoolbarcontroller.cxx @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx index 433f581cdc19..64117b00e18d 100644 --- a/framework/source/uielement/popuptoolbarcontroller.cxx +++ b/framework/source/uielement/popuptoolbarcontroller.cxx @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/uielement/resourcemenucontroller.cxx b/framework/source/uielement/resourcemenucontroller.cxx index 72513cf7fe32..bc5fd7a842a1 100644 --- a/framework/source/uielement/resourcemenucontroller.cxx +++ b/framework/source/uielement/resourcemenucontroller.cxx @@ -11,6 +11,7 @@ #include #include +#include #include #include diff --git a/framework/source/uielement/statusbarmanager.cxx b/framework/source/uielement/statusbarmanager.cxx index 219f54cc2016..82394d2748a9 100644 --- a/framework/source/uielement/statusbarmanager.cxx +++ b/framework/source/uielement/statusbarmanager.cxx @@ -43,6 +43,7 @@ #include #include #include +#include #include #include diff --git a/framework/source/uielement/toolbarmodemenucontroller.cxx b/framework/source/uielement/toolbarmodemenucontroller.cxx index 9770bec7ec6d..e0ff9f385682 100644 --- a/framework/source/uielement/toolbarmodemenucontroller.cxx +++ b/framework/source/uielement/toolbarmodemenucontroller.cxx @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx index 606300d46c27..a0e7ec353a0c 100644 --- a/framework/source/uielement/toolbarsmenucontroller.cxx +++ b/framework/source/uielement/toolbarsmenucontroller.cxx @@ -57,6 +57,7 @@ #include #include #include +#include // Defines -- cgit