summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2012-01-06 23:21:01 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-06 23:55:50 +0100
commit5845c5b6ec04cff9239716ee9cadfa3708e551c0 (patch)
tree8dbda17b569d07856300e5c5fc3cd035c146117e
parent259e51677bde56dbfc45e41b28ae3bdfd08a0e82 (diff)
Removed unnecessary tools/link.hxx includes.
-rw-r--r--basic/inc/basic/sbstar.hxx1
-rw-r--r--dbaccess/source/ui/inc/linkeddocuments.hxx1
-rw-r--r--editeng/inc/editeng/unoedsrc.hxx1
-rw-r--r--embeddedobj/source/msole/graphconvert.cxx1
-rw-r--r--embeddedobj/test/mtexecutor/bitmapcreator.hxx2
-rw-r--r--forms/source/component/Edit.hxx1
-rw-r--r--forms/source/component/EditBase.hxx1
-rw-r--r--forms/source/component/FormattedField.hxx1
-rw-r--r--forms/source/component/Grid.hxx1
-rw-r--r--framework/source/services/autorecovery.cxx1
-rw-r--r--sc/inc/cellsuno.hxx1
-rw-r--r--sc/inc/chgtrack.hxx1
-rw-r--r--sc/source/core/inc/poolhelp.hxx1
-rw-r--r--sc/source/ui/unoobj/scdetect.hxx1
-rw-r--r--sd/source/filter/html/htmlattr.cxx1
-rw-r--r--sd/source/ui/framework/factories/ChildWindowPane.hxx1
-rw-r--r--sd/source/ui/framework/module/ReadOnlyModeObserver.hxx1
-rw-r--r--sd/source/ui/inc/MasterPageObserver.hxx1
-rw-r--r--sd/source/ui/inc/ViewShellManager.hxx1
-rw-r--r--sd/source/ui/inc/framework/ConfigurationController.hxx1
-rw-r--r--sd/source/ui/inc/framework/Pane.hxx1
-rw-r--r--sd/source/ui/slidesorter/controller/SlideSorterController.cxx1
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx1
-rw-r--r--sd/source/ui/toolpanel/TaskPaneShellManager.hxx1
-rw-r--r--sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx1
-rw-r--r--sd/source/ui/tools/PreviewRenderer.cxx1
-rw-r--r--sd/source/ui/unoidl/sddetect.hxx1
-rw-r--r--sfx2/inc/frmload.hxx1
-rw-r--r--sfx2/inc/sfx2/bindings.hxx1
-rw-r--r--sfx2/inc/sfx2/docfile.hxx1
-rw-r--r--sfx2/inc/sfx2/frame.hxx1
-rw-r--r--sfx2/inc/sfx2/linksrc.hxx1
-rw-r--r--sfx2/inc/sfx2/sfxbasemodel.hxx2
-rw-r--r--sfx2/source/appl/shutdownicon.cxx1
-rw-r--r--sfx2/source/inc/appdata.hxx1
-rw-r--r--sfx2/source/inc/sfxtypes.hxx1
-rw-r--r--sot/source/sdstor/stgio.hxx1
-rw-r--r--starmath/source/smdetect.hxx1
-rw-r--r--svtools/inc/svtools/svparser.hxx1
-rw-r--r--svx/inc/svx/fmsearch.hxx1
-rw-r--r--svx/source/inc/AccessibleFrameSelector.hxx1
-rw-r--r--sw/inc/numrule.hxx1
-rw-r--r--sw/inc/swmodule.hxx1
-rw-r--r--sw/source/core/access/accdoc.cxx1
-rwxr-xr-xsw/source/core/graphic/ndgrf.cxx1
-rw-r--r--sw/source/core/unocore/unochart.cxx2
-rw-r--r--sw/source/ui/uno/swdetect.hxx2
-rw-r--r--tools/inc/tools/cachestr.hxx1
-rw-r--r--tools/inc/tools/ref.hxx1
-rw-r--r--vcl/inc/unx/i18n_status.hxx1
-rw-r--r--vcl/inc/vcl/accel.hxx1
-rw-r--r--vcl/inc/vcl/sound.hxx1
52 files changed, 13 insertions, 43 deletions
diff --git a/basic/inc/basic/sbstar.hxx b/basic/inc/basic/sbstar.hxx
index 6a27ebe4dc40..f71bf51fc48a 100644
--- a/basic/inc/basic/sbstar.hxx
+++ b/basic/inc/basic/sbstar.hxx
@@ -33,6 +33,7 @@
#include <basic/sbxobj.hxx>
#include <rtl/ustring.hxx>
#include <osl/mutex.hxx>
+#include <tools/link.hxx>
#include <basic/sbdef.hxx>
#include <basic/sberrors.hxx>
diff --git a/dbaccess/source/ui/inc/linkeddocuments.hxx b/dbaccess/source/ui/inc/linkeddocuments.hxx
index 84609bb1e5d2..e9949d1f1f99 100644
--- a/dbaccess/source/ui/inc/linkeddocuments.hxx
+++ b/dbaccess/source/ui/inc/linkeddocuments.hxx
@@ -40,7 +40,6 @@
#include <com/sun/star/frame/XComponentLoader.hpp>
#include <com/sun/star/ucb/XContent.hpp>
#include <com/sun/star/sdb/application/XDatabaseDocumentUI.hpp>
-#include <tools/link.hxx>
#include <tools/string.hxx>
#include <comphelper/namedvaluecollection.hxx>
diff --git a/editeng/inc/editeng/unoedsrc.hxx b/editeng/inc/editeng/unoedsrc.hxx
index 7f31d37a0134..bd699e194ad3 100644
--- a/editeng/inc/editeng/unoedsrc.hxx
+++ b/editeng/inc/editeng/unoedsrc.hxx
@@ -33,7 +33,6 @@
#include <tools/solar.h>
#include <i18npool/lang.h>
-#include <tools/link.hxx>
#include <tools/gen.hxx>
#include <vcl/mapmod.hxx>
#include <tools/string.hxx>
diff --git a/embeddedobj/source/msole/graphconvert.cxx b/embeddedobj/source/msole/graphconvert.cxx
index b39c88888583..ca83da870135 100644
--- a/embeddedobj/source/msole/graphconvert.cxx
+++ b/embeddedobj/source/msole/graphconvert.cxx
@@ -35,7 +35,6 @@
#include <com/sun/star/graphic/XGraphicProvider.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
-#include <tools/link.hxx>
#include <osl/mutex.hxx>
#include <unotools/streamwrap.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/embeddedobj/test/mtexecutor/bitmapcreator.hxx b/embeddedobj/test/mtexecutor/bitmapcreator.hxx
index 207bc0977ec6..c79b9cc8e6c5 100644
--- a/embeddedobj/test/mtexecutor/bitmapcreator.hxx
+++ b/embeddedobj/test/mtexecutor/bitmapcreator.hxx
@@ -36,8 +36,6 @@
#include <cppuhelper/implbase2.hxx>
-#include <tools/link.hxx>
-
class VCLBitmapCreator : public ::cppu::WeakImplHelper2<
::com::sun::star::lang::XSingleServiceFactory,
::com::sun::star::lang::XServiceInfo >
diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx
index bbe7063c66f1..7f1454047b6e 100644
--- a/forms/source/component/Edit.hxx
+++ b/forms/source/component/Edit.hxx
@@ -31,6 +31,7 @@
#include "EditBase.hxx"
+#include <tools/link.hxx>
#include <cppuhelper/implbase3.hxx>
namespace dbtools { class FormattedColumnValue; }
diff --git a/forms/source/component/EditBase.hxx b/forms/source/component/EditBase.hxx
index e15e3a620119..447f06f9047f 100644
--- a/forms/source/component/EditBase.hxx
+++ b/forms/source/component/EditBase.hxx
@@ -30,7 +30,6 @@
#define _FORMS_EDITBASE_HXX_
#include "FormComponent.hxx"
-#include <tools/link.hxx>
#include <com/sun/star/util/XNumberFormatter.hpp>
#include <com/sun/star/awt/XFocusListener.hpp>
#include <com/sun/star/awt/XKeyListener.hpp>
diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx
index 9891a71bf654..ad19b6b571d8 100644
--- a/forms/source/component/FormattedField.hxx
+++ b/forms/source/component/FormattedField.hxx
@@ -30,6 +30,7 @@
#define _FORMS_FORMATTEDFIELD_HXX_
#include "EditBase.hxx"
+#include <tools/link.hxx>
#include <comphelper/propmultiplex.hxx>
#include <cppuhelper/implbase1.hxx>
#include "errorbroadcaster.hxx"
diff --git a/forms/source/component/Grid.hxx b/forms/source/component/Grid.hxx
index 5b4b645d77f0..a75f9971eb59 100644
--- a/forms/source/component/Grid.hxx
+++ b/forms/source/component/Grid.hxx
@@ -41,7 +41,6 @@
#include <comphelper/proparrhlp.hxx>
#include <cppuhelper/implbase7.hxx>
-#include <tools/link.hxx>
//.........................................................................
namespace frm
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index f3fc4de16d0d..689cae95a67d 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -83,7 +83,6 @@
#include <comphelper/namedvaluecollection.hxx>
#include <vcl/svapp.hxx>
#include <unotools/pathoptions.hxx>
-#include <tools/link.hxx>
#include <tools/string.hxx>
#include <tools/diagnose_ex.h>
#include <unotools/tempfile.hxx>
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 24dcb850881d..b2e6097bdcd6 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -33,6 +33,7 @@
#include "rangelst.hxx" // ScRangeList
#include "formula/grammar.hxx"
+#include <tools/link.hxx>
#include <svl/lstner.hxx>
#include <svl/listener.hxx>
#include <svl/itemprop.hxx>
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index 9dd27cac72a5..e33ed5061ba0 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -36,7 +36,6 @@
#include <tools/string.hxx>
#include <tools/datetime.hxx>
#include <tools/mempool.hxx>
-#include <tools/link.hxx>
#include <unotools/options.hxx>
#include "global.hxx"
#include "bigrange.hxx"
diff --git a/sc/source/core/inc/poolhelp.hxx b/sc/source/core/inc/poolhelp.hxx
index 2b3946f8ddcf..5ddc179c5fc4 100644
--- a/sc/source/core/inc/poolhelp.hxx
+++ b/sc/source/core/inc/poolhelp.hxx
@@ -31,7 +31,6 @@
#include <rtl/ref.hxx>
#include <salhelper/simplereferenceobject.hxx>
-#include <tools/link.hxx>
#include "docoptio.hxx"
class ScDocument;
diff --git a/sc/source/ui/unoobj/scdetect.hxx b/sc/source/ui/unoobj/scdetect.hxx
index 85f214c845f1..0ad2d2cd8e8e 100644
--- a/sc/source/ui/unoobj/scdetect.hxx
+++ b/sc/source/ui/unoobj/scdetect.hxx
@@ -38,7 +38,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <cppuhelper/factory.hxx>
-#include <tools/link.hxx>
class SfxObjectFactory;
class SfxFilterMatcher;
diff --git a/sd/source/filter/html/htmlattr.cxx b/sd/source/filter/html/htmlattr.cxx
index f363e932d5bc..ee3f436ada07 100644
--- a/sd/source/filter/html/htmlattr.cxx
+++ b/sd/source/filter/html/htmlattr.cxx
@@ -33,7 +33,6 @@
#include "htmlattr.hxx"
#include "htmlex.hxx"
-#include <tools/link.hxx>
#include <vcl/decoview.hxx>
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.hxx b/sd/source/ui/framework/factories/ChildWindowPane.hxx
index 714d84ae10dd..208c532ba045 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.hxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.hxx
@@ -37,7 +37,6 @@
#include <com/sun/star/awt/XWindow.hpp>
#include <cppuhelper/implbase1.hxx>
#include <comphelper/uno3.hxx>
-#include <tools/link.hxx>
#include <memory>
namespace {
diff --git a/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx b/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx
index e1172b2d1f20..e0878e7a088d 100644
--- a/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx
+++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx
@@ -41,7 +41,6 @@
#include <com/sun/star/drawing/framework/XConfigurationChangeListener.hpp>
#include <osl/mutex.hxx>
#include <cppuhelper/compbase2.hxx>
-#include <tools/link.hxx>
#include <boost/function.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
diff --git a/sd/source/ui/inc/MasterPageObserver.hxx b/sd/source/ui/inc/MasterPageObserver.hxx
index 4526a1cd1530..f0cf7eb268be 100644
--- a/sd/source/ui/inc/MasterPageObserver.hxx
+++ b/sd/source/ui/inc/MasterPageObserver.hxx
@@ -31,7 +31,6 @@
#include "tools/SdGlobalResourceContainer.hxx"
#include <osl/mutex.hxx>
-#include <tools/link.hxx>
#include <memory>
#include <set>
diff --git a/sd/source/ui/inc/ViewShellManager.hxx b/sd/source/ui/inc/ViewShellManager.hxx
index b7561ea9f744..03bc3ffe1c3b 100644
--- a/sd/source/ui/inc/ViewShellManager.hxx
+++ b/sd/source/ui/inc/ViewShellManager.hxx
@@ -30,7 +30,6 @@
#define SD_VIEW_SHELL_MANAGER_HXX
#include "ShellFactory.hxx"
-#include <tools/link.hxx>
#include <memory>
#include <vector>
#include <boost/shared_ptr.hpp>
diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx
index b4b41d07064d..ce671cffee15 100644
--- a/sd/source/ui/inc/framework/ConfigurationController.hxx
+++ b/sd/source/ui/inc/framework/ConfigurationController.hxx
@@ -42,7 +42,6 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/compbase2.hxx>
-#include <tools/link.hxx>
#include <rtl/ref.hxx>
#include <boost/scoped_ptr.hpp>
diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx
index 89de980fe5f9..f981ecdf48e7 100644
--- a/sd/source/ui/inc/framework/Pane.hxx
+++ b/sd/source/ui/inc/framework/Pane.hxx
@@ -36,7 +36,6 @@
#include <com/sun/star/drawing/framework/TabBarButton.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <cppuhelper/compbase3.hxx>
-#include <tools/link.hxx>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
index d86ce83e8289..a68f78235dab 100644
--- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
+++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
@@ -86,7 +86,6 @@
#include <sfx2/request.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/dispatch.hxx>
-#include <tools/link.hxx>
#include <vcl/svapp.hxx>
#include <com/sun/star/lang/XComponent.hpp>
diff --git a/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx b/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
index 7f3bd43bbab6..934b6f10202b 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
@@ -32,7 +32,6 @@
#include "model/SlsVisualState.hxx"
#include <com/sun/star/drawing/XDrawPage.hpp>
#include <tools/gen.hxx>
-#include <tools/link.hxx>
#include <vcl/bitmap.hxx>
#include <sfx2/viewfrm.hxx>
diff --git a/sd/source/ui/toolpanel/TaskPaneShellManager.hxx b/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
index f07ff157a0f2..ea7f793cc84b 100644
--- a/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
+++ b/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
@@ -31,6 +31,7 @@
#include "ShellFactory.hxx"
#include "ViewShellManager.hxx"
+#include <tools/link.hxx>
#include <map>
class FrameView;
diff --git a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
index 31b2892c6855..1401bb94726e 100644
--- a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
@@ -32,7 +32,6 @@
#include "app.hrc"
#include "MasterPageContainer.hxx"
#include "MasterPageDescriptor.hxx"
-#include <tools/link.hxx>
#include <set>
namespace {
diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx
index 6481d8540765..fb81193fb82e 100644
--- a/sd/source/ui/tools/PreviewRenderer.cxx
+++ b/sd/source/ui/tools/PreviewRenderer.cxx
@@ -39,7 +39,6 @@
#include <svx/svdoutl.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/editstat.hxx>
-#include <tools/link.hxx>
#include <vcl/svapp.hxx>
#include <tools/diagnose_ex.h>
#include <svx/sdr/contact/viewobjectcontact.hxx>
diff --git a/sd/source/ui/unoidl/sddetect.hxx b/sd/source/ui/unoidl/sddetect.hxx
index 12364367474e..7114739242cb 100644
--- a/sd/source/ui/unoidl/sddetect.hxx
+++ b/sd/source/ui/unoidl/sddetect.hxx
@@ -39,7 +39,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <cppuhelper/factory.hxx>
-#include <tools/link.hxx>
class SfxObjectFactory;
class SfxFilterMatcher;
diff --git a/sfx2/inc/frmload.hxx b/sfx2/inc/frmload.hxx
index 3a7df319e018..bee8d332c536 100644
--- a/sfx2/inc/frmload.hxx
+++ b/sfx2/inc/frmload.hxx
@@ -52,7 +52,6 @@
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/factory.hxx>
-#include <tools/link.hxx>
#include <comphelper/componentcontext.hxx>
#include <comphelper/namedvaluecollection.hxx>
diff --git a/sfx2/inc/sfx2/bindings.hxx b/sfx2/inc/sfx2/bindings.hxx
index 96b8e6b0c9af..3c47eb2eea3d 100644
--- a/sfx2/inc/sfx2/bindings.hxx
+++ b/sfx2/inc/sfx2/bindings.hxx
@@ -32,6 +32,7 @@
#include "sfx2/dllapi.h"
#include "sal/types.h"
#include "rtl/strbuf.hxx"
+#include <tools/link.hxx>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/uno/Reference.h>
diff --git a/sfx2/inc/sfx2/docfile.hxx b/sfx2/inc/sfx2/docfile.hxx
index b2c999549fda..62f93ee93050 100644
--- a/sfx2/inc/sfx2/docfile.hxx
+++ b/sfx2/inc/sfx2/docfile.hxx
@@ -43,6 +43,7 @@
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
+#include <tools/link.hxx>
#include <tools/stream.hxx>
#include <tools/string.hxx>
#include <svl/lstner.hxx>
diff --git a/sfx2/inc/sfx2/frame.hxx b/sfx2/inc/sfx2/frame.hxx
index a76e6fad5ea6..793c5283f5ec 100644
--- a/sfx2/inc/sfx2/frame.hxx
+++ b/sfx2/inc/sfx2/frame.hxx
@@ -63,7 +63,6 @@ namespace com
}
}
}
-#include <tools/link.hxx>
#include <tools/ref.hxx>
#include <tools/string.hxx>
#include <svl/brdcst.hxx>
diff --git a/sfx2/inc/sfx2/linksrc.hxx b/sfx2/inc/sfx2/linksrc.hxx
index 7b6f1fbb26d1..a60ebdabbdd5 100644
--- a/sfx2/inc/sfx2/linksrc.hxx
+++ b/sfx2/inc/sfx2/linksrc.hxx
@@ -31,6 +31,7 @@
#include "sal/config.h"
#include "sfx2/dllapi.h"
+#include <tools/link.hxx>
#include <tools/ref.hxx>
#include <tools/rtti.hxx>
#include <com/sun/star/io/XInputStream.hpp>
diff --git a/sfx2/inc/sfx2/sfxbasemodel.hxx b/sfx2/inc/sfx2/sfxbasemodel.hxx
index 0a15156484d7..a0cf50414daa 100644
--- a/sfx2/inc/sfx2/sfxbasemodel.hxx
+++ b/sfx2/inc/sfx2/sfxbasemodel.hxx
@@ -91,8 +91,6 @@
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
-#include <tools/link.hxx>
-
#include <com/sun/star/document/XViewDataSupplier.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index f3293ecdf994..fd1bddd31e14 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -59,7 +59,6 @@
#include <osl/security.hxx>
#include <osl/file.hxx>
#include <rtl/bootstrap.hxx>
-#include <tools/link.hxx>
#ifdef UNX // need symlink
#include <unistd.h>
#include <errno.h>
diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx
index 99baa538b132..32590661c259 100644
--- a/sfx2/source/inc/appdata.hxx
+++ b/sfx2/source/inc/appdata.hxx
@@ -28,7 +28,6 @@
#ifndef _SFX_APPDATA_HXX
#define _SFX_APPDATA_HXX
-#include <tools/link.hxx>
#include <svl/lstner.hxx>
#include <vcl/timer.hxx>
#include <tools/string.hxx>
diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx
index 5b5c6b565293..c075f2ab8083 100644
--- a/sfx2/source/inc/sfxtypes.hxx
+++ b/sfx2/source/inc/sfxtypes.hxx
@@ -32,7 +32,6 @@
#include <tools/rc.hxx>
#include <tools/rcid.h>
#include <tools/resid.hxx>
-#include <tools/link.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
diff --git a/sot/source/sdstor/stgio.hxx b/sot/source/sdstor/stgio.hxx
index 91c32c7f0e1b..d3d57b304e05 100644
--- a/sot/source/sdstor/stgio.hxx
+++ b/sot/source/sdstor/stgio.hxx
@@ -31,6 +31,7 @@
#include <stgcache.hxx>
#include <stgelem.hxx>
+#include <tools/link.hxx>
#include <tools/string.hxx>
class StgFATStrm;
diff --git a/starmath/source/smdetect.hxx b/starmath/source/smdetect.hxx
index 3513bb6c0e9b..609694e9b8ff 100644
--- a/starmath/source/smdetect.hxx
+++ b/starmath/source/smdetect.hxx
@@ -39,7 +39,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <cppuhelper/factory.hxx>
-#include <tools/link.hxx>
class SfxObjectFactory;
class SfxFilterMatcher;
diff --git a/svtools/inc/svtools/svparser.hxx b/svtools/inc/svtools/svparser.hxx
index eac4a92a8f47..340236de1962 100644
--- a/svtools/inc/svtools/svparser.hxx
+++ b/svtools/inc/svtools/svparser.hxx
@@ -30,6 +30,7 @@
#define _SVPARSER_HXX
#include "svtools/svtdllapi.h"
+#include <tools/link.hxx>
#include <tools/string.hxx>
#include <tools/ref.hxx>
#include <rtl/textenc.h>
diff --git a/svx/inc/svx/fmsearch.hxx b/svx/inc/svx/fmsearch.hxx
index 1f6c7ed88b17..0e23fb077de1 100644
--- a/svx/inc/svx/fmsearch.hxx
+++ b/svx/inc/svx/fmsearch.hxx
@@ -43,7 +43,6 @@
#include <vcl/edit.hxx>
#include <vcl/combobox.hxx>
#include <vcl/lstbox.hxx>
-#include <tools/link.hxx>
#include <comphelper/uno3.hxx>
#include <comphelper/stl_types.hxx>
#include <tools/string.hxx>
diff --git a/svx/source/inc/AccessibleFrameSelector.hxx b/svx/source/inc/AccessibleFrameSelector.hxx
index 052dbefd4094..3204b62ce84c 100644
--- a/svx/source/inc/AccessibleFrameSelector.hxx
+++ b/svx/source/inc/AccessibleFrameSelector.hxx
@@ -36,6 +36,7 @@
#include <com/sun/star/accessibility/XAccessibleContext.hpp>
#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
+#include <tools/link.hxx>
#include <tools/resary.hxx>
#include <tools/rc.hxx>
#include <cppuhelper/implbase5.hxx>
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index eb7d83aee996..f4c35ea9813a 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -28,7 +28,6 @@
#ifndef _NUMRULE_HXX
#define _NUMRULE_HXX
-#include <tools/link.hxx>
#include <tools/gen.hxx>
#include <tools/string.hxx>
#include <editeng/svxenum.hxx>
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx
index aca0d48925db..df7f34bd7338 100644
--- a/sw/inc/swmodule.hxx
+++ b/sw/inc/swmodule.hxx
@@ -27,7 +27,6 @@
************************************************************************/
#ifndef _SWMODULE_HXX
#define _SWMODULE_HXX
-#include <tools/link.hxx>
#include <tools/string.hxx>
#include <tools/fldunit.hxx>
#include <svl/lstner.hxx>
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index 9f3632cbd98a..89c3c251055e 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -35,7 +35,6 @@
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <unotools/accessiblestatesethelper.hxx>
-#include <tools/link.hxx>
#include <sfx2/viewsh.hxx>
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 52ffd0797c73..151d79528810 100755
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -56,7 +56,6 @@
#include <unotools/ucbstreamhelper.hxx>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/XTransactedObject.hpp>
-#include <tools/link.hxx>
#include <vcl/svapp.hxx>
#include <com/sun/star/io/XSeekable.hpp>
// #i73788#
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 0960456b2f7d..048faf85bbef 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -38,8 +38,6 @@
#include <svl/zforlist.hxx> // SvNumberFormatter
#include <svtools/chartprettypainter.hxx>
-#include <tools/link.hxx>
-
#include <XMLRangeHelper.hxx>
#include <unochart.hxx>
#include <swtable.hxx>
diff --git a/sw/source/ui/uno/swdetect.hxx b/sw/source/ui/uno/swdetect.hxx
index 1c729391245a..0ece0dcaa1fc 100644
--- a/sw/source/ui/uno/swdetect.hxx
+++ b/sw/source/ui/uno/swdetect.hxx
@@ -28,6 +28,7 @@
#ifndef _SW_TYPEDETECT_HXX
#define _SW_TYPEDETECT_HXX
+#include <tools/solar.h>
#include <rtl/ustring.hxx>
#include <osl/diagnose.h>
#include <com/sun/star/document/XExtendedFilterDetection.hpp>
@@ -38,7 +39,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <cppuhelper/factory.hxx>
-#include <tools/link.hxx>
class SfxMedium;
diff --git a/tools/inc/tools/cachestr.hxx b/tools/inc/tools/cachestr.hxx
index 0d88bca455d4..010333a55cd4 100644
--- a/tools/inc/tools/cachestr.hxx
+++ b/tools/inc/tools/cachestr.hxx
@@ -31,7 +31,6 @@
#include <tools/stream.hxx>
#include <tools/string.hxx>
-#include <tools/link.hxx>
#include "tools/toolsdllapi.h"
// -----------------
diff --git a/tools/inc/tools/ref.hxx b/tools/inc/tools/ref.hxx
index c3e2d19d4766..d5ecfe452743 100644
--- a/tools/inc/tools/ref.hxx
+++ b/tools/inc/tools/ref.hxx
@@ -30,7 +30,6 @@
#include "tools/toolsdllapi.h"
#include <tools/list.hxx>
-#include <tools/link.hxx>
//=========================================================================
diff --git a/vcl/inc/unx/i18n_status.hxx b/vcl/inc/unx/i18n_status.hxx
index a35e1d669e9a..b869e88ffa64 100644
--- a/vcl/inc/unx/i18n_status.hxx
+++ b/vcl/inc/unx/i18n_status.hxx
@@ -30,7 +30,6 @@
#define _SAL_I18N_STATUS_HXX
#include <tools/string.hxx>
-#include <tools/link.hxx>
#include <tools/gen.hxx>
#include <rtl/ustring.hxx>
diff --git a/vcl/inc/vcl/accel.hxx b/vcl/inc/vcl/accel.hxx
index 79109e08cd4c..cef418cc2907 100644
--- a/vcl/inc/vcl/accel.hxx
+++ b/vcl/inc/vcl/accel.hxx
@@ -31,6 +31,7 @@
#include <vcl/sv.h>
#include <vcl/dllapi.h>
+#include <tools/link.hxx>
#include <tools/resid.hxx>
#include <tools/rc.hxx>
#include <vcl/keycod.hxx>
diff --git a/vcl/inc/vcl/sound.hxx b/vcl/inc/vcl/sound.hxx
index 344d1a7b3a97..92e4c0ad4f4c 100644
--- a/vcl/inc/vcl/sound.hxx
+++ b/vcl/inc/vcl/sound.hxx
@@ -31,7 +31,6 @@
#include <vcl/dllapi.h>
#include <vcl/sndstyle.hxx>
-#include <tools/link.hxx>
class Window;
class Timer;