From e95b076744da8911b2804501b418649a9147e3a9 Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Tue, 17 Sep 2013 08:52:21 -0300 Subject: fdo#63926: remove extra include paths in svtools/ and sfx2/ Change-Id: I0b47849ba0fa0dfaf4a481779a5ece09be496c1e Reviewed-on: https://gerrit.libreoffice.org/5973 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- sfx2/Library_qstart_gtk.mk | 1 - sfx2/Library_sfx.mk | 2 -- sfx2/inc/bluthsndapi.hxx | 2 +- sfx2/inc/pch/precompiled_sfx.hxx | 16 ++++++++-------- sfx2/source/control/thumbnailviewitem.cxx | 2 +- sfx2/source/dialog/dinfdlg.cxx | 4 ++-- sfx2/source/dialog/documentfontsdialog.cxx | 2 +- sfx2/source/dialog/securitypage.cxx | 2 +- sfx2/source/dialog/taskpane.cxx | 4 ++-- sfx2/source/dialog/titledockwin.cxx | 2 +- sfx2/source/doc/zoomitem.cxx | 2 +- sfx2/source/sidebar/ControlFactory.cxx | 2 +- sfx2/source/sidebar/ControllerItem.cxx | 2 +- sfx2/source/sidebar/EnumContext.cxx | 2 +- sfx2/source/sidebar/SidebarController.cxx | 2 +- sfx2/source/sidebar/TabBar.cxx | 2 +- svtools/Library_svt.mk | 1 - svtools/inc/pch/precompiled_svt.hxx | 12 ++++++------ svtools/source/control/toolbarmenuimp.hxx | 2 +- svtools/source/dialogs/PlaceEditDialog.cxx | 4 ++-- svtools/source/dialogs/ServerDetailsControls.cxx | 4 ++-- svtools/source/filter/DocumentToGraphicRenderer.cxx | 2 +- svtools/source/filter/GraphicExportOptionsDialog.cxx | 2 +- svtools/source/misc/bindablecontrolhelper.cxx | 2 +- svtools/source/misc/transfer.cxx | 2 +- 25 files changed, 38 insertions(+), 42 deletions(-) diff --git a/sfx2/Library_qstart_gtk.mk b/sfx2/Library_qstart_gtk.mk index 2090658710e0..a16dbd3faf75 100644 --- a/sfx2/Library_qstart_gtk.mk +++ b/sfx2/Library_qstart_gtk.mk @@ -23,7 +23,6 @@ $(eval $(call gb_Library_Library,qstart_gtk)) $(eval $(call gb_Library_set_include,qstart_gtk,\ $$(INCLUDE) \ -I$(SRCDIR)/sfx2/inc \ - -I$(SRCDIR)/include/sfx2/ \ )) $(eval $(call gb_Library_use_sdk_api,qstart_gtk)) diff --git a/sfx2/Library_sfx.mk b/sfx2/Library_sfx.mk index a95e2b7644ec..46ed25d449e2 100644 --- a/sfx2/Library_sfx.mk +++ b/sfx2/Library_sfx.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Library_use_sdk_api,sfx)) $(eval $(call gb_Library_set_include,sfx,\ -I$(SRCDIR)/sfx2/inc \ - -I$(SRCDIR)/include/sfx2/ \ -I$(SRCDIR)/sfx2/source/inc \ -I$(WORKDIR)/SdiTarget/sfx2/sdi \ $$(INCLUDE) \ @@ -306,7 +305,6 @@ $(eval $(call gb_SdiTarget_SdiTarget,sfx2/sdi/sfxslots,sfx2/sdi/sfx)) $(eval $(call gb_SdiTarget_set_include,sfx2/sdi/sfxslots,\ $$(INCLUDE) \ - -I$(SRCDIR)/include/sfx2/ \ -I$(SRCDIR)/sfx2/inc \ -I$(SRCDIR)/sfx2/sdi \ )) diff --git a/sfx2/inc/bluthsndapi.hxx b/sfx2/inc/bluthsndapi.hxx index abd9e42e2515..6a190d2b0d41 100644 --- a/sfx2/inc/bluthsndapi.hxx +++ b/sfx2/inc/bluthsndapi.hxx @@ -16,7 +16,7 @@ #include #include #include "sfx2/dllapi.h" -#include "mailmodelapi.hxx" +#include // class SfxBluetoothModel_Impl ----------------------------------------------- diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx index ac79cc32d548..7d293f12c26b 100644 --- a/sfx2/inc/pch/precompiled_sfx.hxx +++ b/sfx2/inc/pch/precompiled_sfx.hxx @@ -76,9 +76,9 @@ #include "cppuhelper/factory.hxx" #include "cppuhelper/implementationentry.hxx" #include "cppuhelper/interfacecontainer.hxx" -#include "dinfedt.hxx" +#include #include "i18nlangtag/languagetag.hxx" -#include "imagemgr.hxx" +#include #include "officecfg/Office/Common.hxx" #include "osl/diagnose.h" #include "osl/mutex.hxx" @@ -88,15 +88,15 @@ #include "sal/config.h" #include "sal/types.h" #include "sax/tools/converter.hxx" -#include "sfxresid.hxx" -#include "sidebar/ControlFactory.hxx" -#include "sidebar/ControllerItem.hxx" -#include "sidebar/EnumContext.hxx" +#include +#include +#include +#include #include "sot/storage.hxx" #include "svl/urihelper.hxx" #include "svtools/htmlkywd.hxx" #include "svtools/treelistentry.hxx" -#include "thumbnailview.hxx" +#include #include "toolkit/awt/vclxdevice.hxx" #include "tools/datetime.hxx" #include "tools/debug.hxx" @@ -613,7 +613,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx index b8b4bd33bd60..b2beb6dc786d 100644 --- a/sfx2/source/control/thumbnailviewitem.cxx +++ b/sfx2/source/control/thumbnailviewitem.cxx @@ -19,7 +19,7 @@ #include -#include "thumbnailview.hxx" +#include #include "thumbnailviewacc.hxx" #include diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 28de74fabcf3..ffaf425da32e 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -50,8 +50,8 @@ #include #include "sfx2/dinfdlg.hxx" #include "sfx2/securitypage.hxx" -#include "sfxresid.hxx" -#include "dinfedt.hxx" +#include +#include #include #include #include diff --git a/sfx2/source/dialog/documentfontsdialog.cxx b/sfx2/source/dialog/documentfontsdialog.cxx index 46094fbd4fd4..3320121ce64a 100644 --- a/sfx2/source/dialog/documentfontsdialog.cxx +++ b/sfx2/source/dialog/documentfontsdialog.cxx @@ -19,7 +19,7 @@ #include "documentfontsdialog.hxx" -#include +#include using namespace ::com::sun::star; diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx index f4fc05444781..e8130f44e062 100644 --- a/sfx2/source/dialog/securitypage.cxx +++ b/sfx2/source/dialog/securitypage.cxx @@ -20,7 +20,7 @@ #include "sfx2/securitypage.hxx" -#include "sfxresid.hxx" +#include #include #include diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx index eaf831f84194..98d7ca768007 100644 --- a/sfx2/source/dialog/taskpane.cxx +++ b/sfx2/source/dialog/taskpane.cxx @@ -19,11 +19,11 @@ #include "sfx2/taskpane.hxx" -#include "imagemgr.hxx" +#include #include "sfx2/sfxsids.hrc" #include "sfx2/bindings.hxx" #include "sfx2/dispatch.hxx" -#include "sfxresid.hxx" +#include #include "sfxlocal.hrc" #include "helpid.hrc" diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx index 6d33c3933036..255e1fc5edf9 100644 --- a/sfx2/source/dialog/titledockwin.cxx +++ b/sfx2/source/dialog/titledockwin.cxx @@ -22,7 +22,7 @@ #include "sfx2/bindings.hxx" #include "sfx2/dispatch.hxx" #include "sfxlocal.hrc" -#include "sfxresid.hxx" +#include #include diff --git a/sfx2/source/doc/zoomitem.cxx b/sfx2/source/doc/zoomitem.cxx index c6a40f94e2f6..e5520c7d767d 100644 --- a/sfx2/source/doc/zoomitem.cxx +++ b/sfx2/source/doc/zoomitem.cxx @@ -23,7 +23,7 @@ #include #include #include -#include "sfx.hrc" +#include // ----------------------------------------------------------------------- TYPEINIT1_FACTORY(SvxZoomItem,SfxUInt16Item, new SvxZoomItem); diff --git a/sfx2/source/sidebar/ControlFactory.cxx b/sfx2/source/sidebar/ControlFactory.cxx index fa73d347419b..936357ab93f1 100644 --- a/sfx2/source/sidebar/ControlFactory.cxx +++ b/sfx2/source/sidebar/ControlFactory.cxx @@ -16,7 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sidebar/ControlFactory.hxx" +#include #include "MenuButton.hxx" #include "TabItem.hxx" diff --git a/sfx2/source/sidebar/ControllerItem.cxx b/sfx2/source/sidebar/ControllerItem.cxx index 439f9b3ac55a..88ec38b0a917 100644 --- a/sfx2/source/sidebar/ControllerItem.cxx +++ b/sfx2/source/sidebar/ControllerItem.cxx @@ -16,7 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sidebar/ControllerItem.hxx" +#include #include #include diff --git a/sfx2/source/sidebar/EnumContext.cxx b/sfx2/source/sidebar/EnumContext.cxx index 2b0c3cea3184..5ba6957f5c86 100644 --- a/sfx2/source/sidebar/EnumContext.cxx +++ b/sfx2/source/sidebar/EnumContext.cxx @@ -16,7 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sidebar/EnumContext.hxx" +#include #include diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index fc2aa5378a56..224295a4cce0 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -30,7 +30,7 @@ #include "SidebarDockingWindow.hxx" #include "Context.hxx" -#include "sfxresid.hxx" +#include #include "sfx2/sfxsids.hrc" #include "sfx2/titledockwin.hxx" #include "sfxlocal.hrc" diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index 167a74e5a6cb..8c5a1a557290 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -19,7 +19,7 @@ #include "TabBar.hxx" #include "TabItem.hxx" -#include "sidebar/ControlFactory.hxx" +#include #include "DeckDescriptor.hxx" #include "Paint.hxx" #include "sfx2/sidebar/Theme.hxx" diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk index e5d3f399d002..1a176519675e 100644 --- a/svtools/Library_svt.mk +++ b/svtools/Library_svt.mk @@ -31,7 +31,6 @@ $(eval $(call gb_Library_use_sdk_api,svt)) $(eval $(call gb_Library_set_include,svt,\ $$(INCLUDE) \ - -I$(SRCDIR)/include/svtools/ \ -I$(SRCDIR)/svtools/source/inc \ -I$(SRCDIR)/svtools/inc \ )) diff --git a/svtools/inc/pch/precompiled_svt.hxx b/svtools/inc/pch/precompiled_svt.hxx index dfd106a444bd..9b55944eaf8a 100644 --- a/svtools/inc/pch/precompiled_svt.hxx +++ b/svtools/inc/pch/precompiled_svt.hxx @@ -14,11 +14,11 @@ also fixes all possible problems, so it's usually better to use it). */ -#include "DocumentToGraphicRenderer.hxx" -#include "GraphicExportOptionsDialog.hxx" -#include "PlaceEditDialog.hxx" -#include "ServerDetailsControls.hxx" -#include "bindablecontrolhelper.hxx" +#include +#include +#include +#include +#include #include "com/sun/star/beans/XPropertySet.hpp" #include "com/sun/star/document/XDocumentProperties.hpp" #include "com/sun/star/script/Converter.hpp" @@ -33,7 +33,7 @@ #include "comphelper/servicedecl.hxx" #include "comphelper/string.hxx" #include "cppuhelper/implementationentry.hxx" -#include "inetimg.hxx" +#include #include "osl/diagnose.h" #include "rtl/ustring.hxx" #include "sal/config.h" diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx index 34b1e1f7f232..36d851d151af 100644 --- a/svtools/source/control/toolbarmenuimp.hxx +++ b/svtools/source/control/toolbarmenuimp.hxx @@ -37,7 +37,7 @@ #include -#include "framestatuslistener.hxx" +#include namespace svtools { diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index 8b51a33ef211..c2f44e936a91 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -7,8 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "PlaceEditDialog.hxx" -#include "ServerDetailsControls.hxx" +#include +#include #include #include diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx index 33803f10c0a0..f7a76390f5f2 100644 --- a/svtools/source/dialogs/ServerDetailsControls.cxx +++ b/svtools/source/dialogs/ServerDetailsControls.cxx @@ -20,8 +20,8 @@ #include #include -#include "PlaceEditDialog.hxx" -#include "ServerDetailsControls.hxx" +#include +#include using namespace std; using namespace com::sun::star::lang; diff --git a/svtools/source/filter/DocumentToGraphicRenderer.cxx b/svtools/source/filter/DocumentToGraphicRenderer.cxx index dd2a33001eb6..42bc0b22f65e 100644 --- a/svtools/source/filter/DocumentToGraphicRenderer.cxx +++ b/svtools/source/filter/DocumentToGraphicRenderer.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "DocumentToGraphicRenderer.hxx" +#include #include #include diff --git a/svtools/source/filter/GraphicExportOptionsDialog.cxx b/svtools/source/filter/GraphicExportOptionsDialog.cxx index cf248da84c54..260b22aa5918 100644 --- a/svtools/source/filter/GraphicExportOptionsDialog.cxx +++ b/svtools/source/filter/GraphicExportOptionsDialog.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "GraphicExportOptionsDialog.hxx" +#include using namespace css::beans; using namespace css::lang; diff --git a/svtools/source/misc/bindablecontrolhelper.cxx b/svtools/source/misc/bindablecontrolhelper.cxx index c6243c1c9169..f94a3e0a15c6 100644 --- a/svtools/source/misc/bindablecontrolhelper.cxx +++ b/svtools/source/misc/bindablecontrolhelper.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "bindablecontrolhelper.hxx" +#include #include #include #include diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index 8680134d39b2..282f594575d7 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -49,7 +49,7 @@ #include #include "svl/urlbmk.hxx" -#include "inetimg.hxx" +#include #include #include #include -- cgit v1.2.3