summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-21 18:32:36 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-21 18:32:36 +0100
commit86f964d438eeb6b4b5f9da019d85e641e6a4590d (patch)
treeb9cccb4862e9653a79d93c93be3aa843262b81c7
parentf97dcd3d93cdec4fe7daca49b62b00e8a47cac02 (diff)
Remove doubled headers.
-rw-r--r--UnoControls/source/controls/framecontrol.cxx1
-rw-r--r--accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx1
-rw-r--r--accessibility/source/standard/vclxaccessibletoolbox.cxx1
-rw-r--r--automation/source/server/XMLParser.cxx1
-rw-r--r--automation/source/server/statemnt.cxx1
-rw-r--r--automation/source/testtool/objtest.cxx1
-rw-r--r--basctl/inc/pch/precompiled_basctl.hxx2
-rw-r--r--basctl/source/basicide/basidesh.cxx1
-rw-r--r--basctl/source/basicide/ide_pch.hxx1
-rw-r--r--basctl/source/dlged/dlgedobj.cxx1
-rw-r--r--basctl/source/inc/bastypes.hxx2
-rw-r--r--crashrep/source/unx/main.cxx1
-rw-r--r--cui/inc/pch/precompiled_cui.hxx3
-rw-r--r--cui/source/customize/acccfg.cxx1
-rw-r--r--cui/source/dialogs/cuicharmap.cxx2
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx1
-rw-r--r--cui/source/dialogs/scriptdlg.cxx1
-rw-r--r--cui/source/dialogs/thesdlg.cxx3
-rw-r--r--cui/source/inc/acccfg.hxx2
-rw-r--r--cui/source/inc/cfg.hxx1
-rw-r--r--cui/source/inc/dlgname.hxx1
-rw-r--r--cui/source/inc/insdlg.hxx1
-rw-r--r--cui/source/inc/insrc.hxx1
-rw-r--r--cui/source/inc/linkdlg.hxx2
-rw-r--r--cui/source/options/dbregister.cxx1
-rw-r--r--cui/source/options/optgdlg.cxx2
-rw-r--r--cui/source/options/optinet2.cxx2
-rw-r--r--cui/source/options/optmemory.cxx1
-rw-r--r--cui/source/options/optsave.cxx5
-rw-r--r--cui/source/tabpages/backgrnd.cxx1
-rw-r--r--cui/source/tabpages/chardlg.cxx1
-rw-r--r--cui/source/tabpages/numpages.cxx1
-rw-r--r--cui/source/tabpages/page.cxx1
-rw-r--r--cui/source/tabpages/tabstpge.cxx1
-rw-r--r--cui/source/tabpages/tpline.cxx1
-rw-r--r--embedserv/source/inc/embeddocaccess.hxx2
-rw-r--r--extensions/inc/pch/precompiled_extensions.hxx17
-rw-r--r--extensions/source/bibliography/bibview.cxx1
-rw-r--r--extensions/source/bibliography/datman.cxx2
-rw-r--r--extensions/source/bibliography/framectr.cxx1
-rw-r--r--extensions/source/bibliography/general.cxx1
-rw-r--r--extensions/source/bibliography/toolbar.cxx1
-rw-r--r--extensions/source/nsplugin/source/so_main.cxx1
-rw-r--r--extensions/source/ole/unoobjw.cxx1
-rw-r--r--extensions/source/plugin/inc/plugin/aqua/sysplug.hxx2
-rw-r--r--extensions/source/propctrlr/fontdialog.cxx1
-rw-r--r--extensions/source/propctrlr/formmetadata.cxx1
-rw-r--r--extensions/source/propctrlr/propcontroller.hxx1
-rw-r--r--extensions/source/propctrlr/propertycomposer.hxx1
-rw-r--r--extensions/source/propctrlr/stringrepresentation.cxx1
-rw-r--r--extensions/source/propctrlr/usercontrol.cxx1
-rw-r--r--extensions/source/scanner/scanner.hxx1
-rw-r--r--extensions/source/svg/svgcom.hxx1
-rw-r--r--extensions/source/update/check/download.cxx1
-rw-r--r--extensions/source/update/check/updatecheckconfig.cxx2
-rw-r--r--extensions/source/update/ui/updatecheckui.cxx1
-rw-r--r--extensions/source/xmlextract/xmxcom.hxx1
-rw-r--r--extensions/test/ole/unloading/unloadTest.cxx1
-rw-r--r--forms/inc/pch/precompiled_forms.hxx3
-rw-r--r--forms/source/component/DatabaseForm.cxx1
-rw-r--r--forms/source/component/FormComponent.cxx3
-rw-r--r--forms/source/component/GroupManager.hxx1
-rw-r--r--forms/source/inc/InterfaceContainer.hxx1
-rw-r--r--forms/source/xforms/model.cxx1
-rw-r--r--lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx2
-rw-r--r--package/source/zipapi/XUnbufferedStream.hxx1
-rw-r--r--package/source/zippackage/ZipPackage.cxx1
-rw-r--r--setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx1
-rw-r--r--setup_native/source/win32/customactions/reg4msdoc/registryw9x.hxx1
-rw-r--r--xmlsecurity/tools/demo/performance.cxx4
-rw-r--r--xmlsecurity/tools/standalone/csfit/helper.hxx2
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/helper.hxx2
72 files changed, 0 insertions, 117 deletions
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx
index 44e0823cda71..006924c85e4e 100644
--- a/UnoControls/source/controls/framecontrol.cxx
+++ b/UnoControls/source/controls/framecontrol.cxx
@@ -40,7 +40,6 @@
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
-#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <cppuhelper/typeprovider.hxx>
#include <osl/diagnose.h>
diff --git a/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx b/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
index a4b09cd83b99..fa6331ba4228 100644
--- a/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
+++ b/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
@@ -28,7 +28,6 @@
#ifndef ACCESSIBILITY_HELPER_COMBOLISTBOXHELPER_HXX
#define ACCESSIBILITY_HELPER_COMBOLISTBOXHELPER_HXX
-#include <tools/gen.hxx>
#include <tools/string.hxx>
#include <vcl/wintypes.hxx>
#include <tools/gen.hxx>
diff --git a/accessibility/source/standard/vclxaccessibletoolbox.cxx b/accessibility/source/standard/vclxaccessibletoolbox.cxx
index 263e2a75a46d..26e586260005 100644
--- a/accessibility/source/standard/vclxaccessibletoolbox.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolbox.cxx
@@ -38,7 +38,6 @@
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
-#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <tools/debug.hxx>
#include <vcl/toolbox.hxx>
#include <comphelper/accessiblewrapper.hxx>
diff --git a/automation/source/server/XMLParser.cxx b/automation/source/server/XMLParser.cxx
index 911a48ff64b7..c6a24756ae50 100644
--- a/automation/source/server/XMLParser.cxx
+++ b/automation/source/server/XMLParser.cxx
@@ -39,7 +39,6 @@
#include <com/sun/star/xml/sax/XParser.hpp>
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/util/XCloneable.hpp>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/implbase2.hxx>
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx
index 2497ee2d3eb1..315e669ab81c 100644
--- a/automation/source/server/statemnt.cxx
+++ b/automation/source/server/statemnt.cxx
@@ -35,7 +35,6 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/uieventslogger.hxx>
-#include <vcl/wintypes.hxx>
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
#include <vcl/menubtn.hxx>
diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index c1c0d5c54b6f..d0c35bcc8cb0 100644
--- a/automation/source/testtool/objtest.cxx
+++ b/automation/source/testtool/objtest.cxx
@@ -52,7 +52,6 @@
#include <com/sun/star/connection/XConnector.hpp>
#include <com/sun/star/connection/XConnection.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XNamingService.hpp>
#include <cppuhelper/servicefactory.hxx>
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx
index 96030135a2a9..66151e5f0d70 100644
--- a/basctl/inc/pch/precompiled_basctl.hxx
+++ b/basctl/inc/pch/precompiled_basctl.hxx
@@ -106,13 +106,11 @@
#include "sfx2/request.hxx"
#include "sfx2/childwin.hxx"
#include "sfx2/viewfrm.hxx"
-#include "sfx2/dispatch.hxx"
#include "sfx2/objsh.hxx"
#include "sfx2/genlink.hxx"
#include "sfx2/dispatch.hxx"
#include "sfx2/minfitem.hxx"
#include "sfx2/dinfdlg.hxx"
-#include "sfx2/docfac.hxx"
#include "sfx2/progress.hxx"
#include "sfx2/docfile.hxx"
#include "sfx2/docfac.hxx"
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 11c20d3a9d3d..04bd77cb5bca 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -75,7 +75,6 @@
#include <svx/srchdlg.hxx>
#include <svx/lboxctrl.hxx>
#include <svx/tbcontrl.hxx>
-#include <com/sun/star/script/XLibraryContainer.hpp>
#include <com/sun/star/script/XLibraryContainerPassword.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/container/XContainer.hpp>
diff --git a/basctl/source/basicide/ide_pch.hxx b/basctl/source/basicide/ide_pch.hxx
index d30218e73c50..b0d6e2d5de9e 100644
--- a/basctl/source/basicide/ide_pch.hxx
+++ b/basctl/source/basicide/ide_pch.hxx
@@ -58,7 +58,6 @@
#include <sfx2/request.hxx>
#include <sfx2/childwin.hxx>
#include <sfx2/viewfrm.hxx>
-#include <sfx2/dispatch.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/genlink.hxx>
#include <sfx2/dispatch.hxx>
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx
index 769290fe0690..92fe1fd0d21d 100644
--- a/basctl/source/dlged/dlgedobj.cxx
+++ b/basctl/source/dlged/dlgedobj.cxx
@@ -30,7 +30,6 @@
#include "precompiled_basctl.hxx"
#include <vector>
-#include <algorithm>
#include <dlgeddef.hxx>
#include "dlgedobj.hxx"
#include "dlged.hxx"
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index 65dbe43abc39..e4bcbe29a294 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -30,8 +30,6 @@
#include <svheader.hxx>
-#include <iderid.hxx>
-
#include "scriptdocument.hxx"
class ModulWindow;
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index b0f7512f0781..b967206e369a 100644
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -30,7 +30,6 @@
#include <sys/utsname.h>
#include <_version.h>
#include <errno.h>
-#include <string>
#include <string.h>
#include <assert.h>
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx
index d55bb7b5afaf..5d78bc270793 100644
--- a/cui/inc/pch/precompiled_cui.hxx
+++ b/cui/inc/pch/precompiled_cui.hxx
@@ -30,7 +30,6 @@
#if 0
#ifdef PRECOMPILED_HEADERS
//---MARKER---
-#include "sal/config.h"
#include "avmedia/mediaitem.hxx"
#include "avmedia/mediawindow.hxx"
#include "basegfx/matrix/b2dhommatrix.hxx"
@@ -639,7 +638,6 @@
#include "comphelper/sequence.hxx"
#include "comphelper/sequenceashashmap.hxx"
#include "comphelper/sequenceasvector.hxx"
-#include "comphelper/servicehelper.hxx"
#include "comphelper/storagehelper.hxx"
#include "comphelper/types.hxx"
#include "comphelper/uno3.hxx"
@@ -687,7 +685,6 @@
#include "osl/interlck.h"
#include "osl/module.h"
#include "osl/module.hxx"
-#include "osl/mutex.hxx"
#include "osl/nlsupport.h"
#include "osl/process.h"
#include "osl/security.hxx"
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index b3bd5ef01a89..b2a58dd84b90 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -57,7 +57,6 @@
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/form/XReset.hpp>
-#include <com/sun/star/frame/XModuleManager.hpp>
#include <com/sun/star/ui/XModuleUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/frame/XModuleManager.hpp>
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 771686f970d6..c954becd7e85 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -38,11 +38,9 @@
#include <tools/debug.hxx>
#include <vcl/sound.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/msgbox.hxx>
#include <svtools/colorcfg.hxx>
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
-#include <svl/stritem.hxx>
#include <svl/itempool.hxx>
#include <rtl/textenc.h>
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index 670e743f091d..9c0264bfc17b 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -39,7 +39,6 @@
#include <comphelper/processfactory.hxx>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/frame/XDesktop.hpp>
-#include <com/sun/star/frame/XDesktop.hpp>
#include <com/sun/star/frame/XComponentLoader.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/document/XLinkTargetSupplier.hpp>
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index d8885a25f142..355017889b65 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -44,7 +44,6 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/XDesktop.hpp>
-#include <com/sun/star/script/XInvocation.hpp>
#include <com/sun/star/script/provider/XScriptProviderSupplier.hpp>
#include <com/sun/star/script/provider/XScriptProvider.hpp>
#include <com/sun/star/script/browse/BrowseNodeTypes.hpp>
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index b6d99a6e3baf..0fa4b8dbaea6 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -36,7 +36,6 @@
#include "cuires.hrc"
#include "dialmgr.hxx"
-#include <editeng/unolingu.hxx>
#include <tools/shl.hxx>
#include <svl/lngmisc.hxx>
#include <svtools/filter.hxx>
@@ -45,8 +44,6 @@
#include <vcl/wrkwin.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/svapp.hxx>
-#include <com/sun/star/linguistic2/XThesaurus.hpp>
-#include <com/sun/star/linguistic2/XMeaning.hpp>
#include <thesdlg.hxx>
#include <svx/dlgutil.hxx>
#include <svx/dialmgr.hxx>
diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx
index 71b5529a0d59..7d5ac47635d3 100644
--- a/cui/source/inc/acccfg.hxx
+++ b/cui/source/inc/acccfg.hxx
@@ -31,11 +31,9 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/frame/XModuleManager.hpp>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
#include <com/sun/star/ui/XAcceleratorConfiguration.hpp>
-#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index ff02aa70ba39..827721bd1496 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -29,7 +29,6 @@
#define _SVXCFG_HXX
#include <vcl/lstbox.hxx>
-#include <vcl/toolbox.hxx>
#include <vcl/fixed.hxx>
#include <vcl/group.hxx>
#include <vcl/menubtn.hxx>
diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx
index 641d00342eee..01cb4fc078dc 100644
--- a/cui/source/inc/dlgname.hxx
+++ b/cui/source/inc/dlgname.hxx
@@ -31,7 +31,6 @@
#include <vcl/edit.hxx>
#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx
index 6959cb8b3233..e9e36d57e27e 100644
--- a/cui/source/inc/insdlg.hxx
+++ b/cui/source/inc/insdlg.hxx
@@ -30,7 +30,6 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
-#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <svtools/insdlg.hxx>
diff --git a/cui/source/inc/insrc.hxx b/cui/source/inc/insrc.hxx
index 22bb9771e0dc..d85b8a7680a5 100644
--- a/cui/source/inc/insrc.hxx
+++ b/cui/source/inc/insrc.hxx
@@ -32,7 +32,6 @@
#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
-#include <vcl/button.hxx>
#include <vcl/group.hxx>
#include <vcl/button.hxx>
diff --git a/cui/source/inc/linkdlg.hxx b/cui/source/inc/linkdlg.hxx
index bcc0fd74625b..64d248c65b02 100644
--- a/cui/source/inc/linkdlg.hxx
+++ b/cui/source/inc/linkdlg.hxx
@@ -29,8 +29,6 @@
#ifndef _LINKDLG_HXX
#define _LINKDLG_HXX
-#include <vcl/lstbox.hxx>
-
#include <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx
index 8c0d0c3fc9fe..08b82b16f837 100644
--- a/cui/source/options/dbregister.cxx
+++ b/cui/source/options/dbregister.cxx
@@ -34,7 +34,6 @@
#include "dbregistersettings.hxx"
#include "connpooloptions.hxx"
#include <svl/filenotation.hxx>
-#include <cuires.hrc>
#include "helpid.hrc"
#include <svtools/editbrowsebox.hxx>
#include <cuires.hrc>
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 715e8209387f..f77989d0e598 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -51,7 +51,6 @@
#include <svtools/miscopt.hxx>
#include <unotools/printwarningoptions.hxx>
#include <unotools/syslocaleoptions.hxx>
-#include <svtools/helpopt.hxx>
#include <svtools/accessibilityoptions.hxx>
#include <unotools/configitem.hxx>
#include <sfx2/objsh.hxx>
@@ -80,7 +79,6 @@
#include <unotools/saveopt.hxx>
#include <sal/macros.h>
-#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index f85f15d592ea..b0e21d180e52 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -72,11 +72,9 @@
#include <svx/svxids.hrc> // slot ids, mostly for changetracking
// for security TP
-#include <comphelper/processfactory.hxx>
#include <com/sun/star/security/XDocumentDigitalSignatures.hpp>
#ifdef UNX
-#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/cui/source/options/optmemory.cxx b/cui/source/options/optmemory.cxx
index 4dcba55284bb..e90326d45087 100644
--- a/cui/source/options/optmemory.cxx
+++ b/cui/source/options/optmemory.cxx
@@ -62,7 +62,6 @@
#include <svx/xpool.hxx>
#include <svx/dlgutil.hxx>
#include "cuitabarea.hxx"
-#include <cuires.hrc>
#include "optmemory.hrc"
#include "optmemory.hxx"
#include <svx/ofaitem.hxx>
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index c0e2d1deda7f..a2c594cc1b78 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -41,14 +41,10 @@
#include "optsave.hxx"
#include <dialmgr.hxx>
#include <comphelper/processfactory.hxx>
-#include <comphelper/sequenceasvector.hxx>
-#include <comphelper/sequenceashashmap.hxx>
#include <unotools/moduleoptions.hxx>
#include <unotools/saveopt.hxx>
#include <comphelper/sequenceasvector.hxx>
#include <comphelper/sequenceashashmap.hxx>
-#include <com/sun/star/container/XContainerQuery.hpp>
-#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/container/XContainerQuery.hpp>
@@ -58,7 +54,6 @@
#include <sfx2/docfilt.hxx>
#include <svtools/stdctrl.hxx>
#include <vcl/fixed.hxx>
-#include <vcl/msgbox.hxx>
#include <unotools/configitem.hxx>
#include <unotools/optionsdlg.hxx>
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 489a64b5411a..bbaaea4dbf72 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -31,7 +31,6 @@
// include ---------------------------------------------------------------
#include <unotools/pathoptions.hxx>
-#include <svl/intitem.hxx>
#include <vcl/msgbox.hxx>
#include <tools/urlobj.hxx>
#include <sfx2/objsh.hxx>
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index c9f2cb482f88..97bcd96954fd 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -48,7 +48,6 @@
#define _SVX_CHARDLG_CXX
#include <svl/languageoptions.hxx>
-#include <cuires.hrc>
#include "chardlg.hrc"
#include <svx/xtable.hxx> // XColorTable
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 56a4fa067ce8..203e7ea1f585 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -36,7 +36,6 @@
#include <numpages.hxx>
#include <numpages.hrc>
#include <dialmgr.hxx>
-#include <cuires.hrc>
#include <tools/shl.hxx>
#include <i18npool/mslangid.hxx>
#include <svtools/valueset.hxx>
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 7eebcd56dd9f..3556f8bd85aa 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -58,7 +58,6 @@
#include <editeng/sizeitem.hxx>
#include <editeng/frmdiritem.hxx>
#include "svx/dlgutil.hxx"
-#include <dialmgr.hxx>
#include <editeng/paperinf.hxx>
#include <dialmgr.hxx>
#include <sfx2/module.hxx>
diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx
index b6d047977c64..1dfabdf356b4 100644
--- a/cui/source/tabpages/tabstpge.cxx
+++ b/cui/source/tabpages/tabstpge.cxx
@@ -35,7 +35,6 @@
#include <tools/shl.hxx>
#include <svtools/ruler.hxx>
#include <svx/dialogs.hrc>
-#include <svx/dialogs.hrc>
#define _SVX_TABSTPGE_CXX
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index 024de010e4db..48c4dc41e271 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -49,7 +49,6 @@
#include "dlgname.hxx"
#include <dialmgr.hxx>
#include "svx/dlgutil.hxx"
-#include <svx/svdmodel.hxx>
#include "svx/svxgrahicitem.hxx"
#include <sfx2/request.hxx>
#include "svx/ofaitem.hxx"
diff --git a/embedserv/source/inc/embeddocaccess.hxx b/embedserv/source/inc/embeddocaccess.hxx
index ed59dff1ad6e..adb984ce405f 100644
--- a/embedserv/source/inc/embeddocaccess.hxx
+++ b/embedserv/source/inc/embeddocaccess.hxx
@@ -29,8 +29,6 @@
#ifndef _EMBEDDOCACCESS_HXX_
#define _EMBEDDOCACCESS_HXX_
-#include <cppuhelper/weak.hxx>
-
#define OLESERV_SAVEOBJECT 1
#define OLESERV_CLOSE 2
#define OLESERV_NOTIFY 3
diff --git a/extensions/inc/pch/precompiled_extensions.hxx b/extensions/inc/pch/precompiled_extensions.hxx
index d0f8b8936f10..b88ae7d2c826 100644
--- a/extensions/inc/pch/precompiled_extensions.hxx
+++ b/extensions/inc/pch/precompiled_extensions.hxx
@@ -34,7 +34,6 @@
#include "sal/config.h"
#include "sal/types.h"
-
#include "boost/scoped_array.hpp"
#include "boost/shared_ptr.hpp"
@@ -457,13 +456,8 @@
#include "cppuhelper/weakagg.hxx"
#include "cppuhelper/weakref.hxx"
-
-
#include "i18npool/mslangid.hxx"
-
-
-
#include "osl/conditn.h"
#include "osl/conditn.hxx"
#include "osl/diagnose.h"
@@ -472,8 +466,6 @@
#include "osl/getglobalmutex.hxx"
#include "osl/interlck.h"
#include "osl/module.h"
-#include "osl/module.hxx"
-#include "osl/mutex.hxx"
#include "osl/nlsupport.h"
#include "osl/pipe.hxx"
#include "osl/process.h"
@@ -481,7 +473,6 @@
#include "osl/thread.h"
#include "osl/time.h"
-
#include "rtl/alloc.h"
#include "rtl/bootstrap.hxx"
#include "rtl/byteseq.h"
@@ -505,10 +496,6 @@
#include "sane/sane.h"
-
-
-
-
#include "svl/filenotation.hxx"
#include "svtools/imgdef.hxx"
#include "svtools/miscopt.hxx"
@@ -520,15 +507,12 @@
#include "sys/stat.h"
#include "sys/types.h"
-
#include "tools/diagnose_ex.h"
-
#include "typelib/typeclass.h"
#include "typelib/typedescription.h"
#include "typelib/typedescription.hxx"
-
#include "uno/dispatcher.h"
#include "uno/environment.h"
#include "uno/lbnames.h"
@@ -537,7 +521,6 @@
#include "unotools/confignode.hxx"
#include "unotools/processfactory.hxx"
-
#include "vcl/fldunit.hxx"
#include "osl/module.hxx"
diff --git a/extensions/source/bibliography/bibview.cxx b/extensions/source/bibliography/bibview.cxx
index c985291a5121..eab0e1439d3b 100644
--- a/extensions/source/bibliography/bibview.cxx
+++ b/extensions/source/bibliography/bibview.cxx
@@ -32,7 +32,6 @@
#include "bib.hrc"
#include "bibcont.hxx"
#include "bibbeam.hxx"
-#include "bibmod.hxx"
#include "general.hxx"
#include "bibview.hxx"
#include "datman.hxx"
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index 54ab918d7fbe..2915e2cb547d 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -64,7 +64,6 @@
#include <svtools/headbar.hxx>
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
-#include <vcl/lstbox.hxx>
#include <vcl/fixed.hxx>
#include <vcl/group.hxx>
#include <vcl/lstbox.hxx>
@@ -76,7 +75,6 @@
#include "bibmod.hxx"
#include "bibview.hxx"
// #100312# ---------
-#include "bibbeam.hxx"
#include "bibprop.hrc"
#include "toolbar.hxx"
#include "toolbar.hrc"
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 39b6e30660c2..8e130bef94dc 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -31,7 +31,6 @@
#include <vcl/waitobj.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <com/sun/star/util/URL.hpp>
-#include <osl/mutex.hxx>
#include <vcl/msgbox.hxx>
#include <tools/debug.hxx>
#include <vcl/stdtext.hxx>
diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx
index 8100c1fcfa86..c38180d43dbd 100644
--- a/extensions/source/bibliography/general.cxx
+++ b/extensions/source/bibliography/general.cxx
@@ -51,7 +51,6 @@
#include "bibtools.hxx"
#include "bibliography.hrc"
#include <tools/debug.hxx>
-#include <vcl/mnemonic.hxx>
#include <vcl/svapp.hxx>
#include <vcl/i18nhelp.hxx>
#include <vcl/mnemonic.hxx>
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index e7fcf991a63d..2b77d1224283 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -29,7 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_extensions.hxx"
#include <comphelper/processfactory.hxx>
-#include <osl/mutex.hxx>
#include <tools/urlobj.hxx>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
diff --git a/extensions/source/nsplugin/source/so_main.cxx b/extensions/source/nsplugin/source/so_main.cxx
index f2f6c131d610..ccd879020ec1 100644
--- a/extensions/source/nsplugin/source/so_main.cxx
+++ b/extensions/source/nsplugin/source/so_main.cxx
@@ -45,7 +45,6 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winsock2.h>
-#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index df0e4b918bb8..99dedf5467ac 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -36,7 +36,6 @@
#include <vector>
#include <list>
#include <hash_map>
-#include "comifaces.hxx"
#include <tools/postsys.h>
diff --git a/extensions/source/plugin/inc/plugin/aqua/sysplug.hxx b/extensions/source/plugin/inc/plugin/aqua/sysplug.hxx
index 01b8dafa0f2c..d254a74d91e9 100644
--- a/extensions/source/plugin/inc/plugin/aqua/sysplug.hxx
+++ b/extensions/source/plugin/inc/plugin/aqua/sysplug.hxx
@@ -33,10 +33,8 @@
#include <list>
#include <map>
#include <algorithm>
-#include "premac.h"
#include <Carbon/Carbon.h>
#include <Security/cssmconfig.h>
-#include "postmac.h"
#undef uint32
#define XP_MAC
diff --git a/extensions/source/propctrlr/fontdialog.cxx b/extensions/source/propctrlr/fontdialog.cxx
index 6fbda0cbcab0..1c06d9310974 100644
--- a/extensions/source/propctrlr/fontdialog.cxx
+++ b/extensions/source/propctrlr/fontdialog.cxx
@@ -53,7 +53,6 @@
#include <editeng/udlnitem.hxx>
#include <editeng/crsditem.hxx>
#include <editeng/colritem.hxx>
-#include <editeng/flstitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/cmapitem.hxx>
diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx
index a5b26feaf9ca..0155062b9dbb 100644
--- a/extensions/source/propctrlr/formmetadata.cxx
+++ b/extensions/source/propctrlr/formmetadata.cxx
@@ -29,7 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_extensions.hxx"
#include "formmetadata.hxx"
-#include "propctrlr.hrc"
#include "formstrings.hxx"
#include "formresid.hrc"
#include "propctrlr.hrc"
diff --git a/extensions/source/propctrlr/propcontroller.hxx b/extensions/source/propctrlr/propcontroller.hxx
index 6535ce6d3ca8..e7c02599a723 100644
--- a/extensions/source/propctrlr/propcontroller.hxx
+++ b/extensions/source/propctrlr/propcontroller.hxx
@@ -55,7 +55,6 @@
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/awt/XLayoutConstrains.hpp>
-#include <com/sun/star/awt/XLayoutConstrains.hpp>
#include <com/sun/star/awt/XControlContainer.hpp>
#include <com/sun/star/inspection/XPropertyControlFactory.hpp>
#include <com/sun/star/inspection/XObjectInspector.hpp>
diff --git a/extensions/source/propctrlr/propertycomposer.hxx b/extensions/source/propctrlr/propertycomposer.hxx
index d57d4ad16cfb..b1d5cbedbe9c 100644
--- a/extensions/source/propctrlr/propertycomposer.hxx
+++ b/extensions/source/propctrlr/propertycomposer.hxx
@@ -30,7 +30,6 @@
#define EXTENSIONS_SOURCE_PROPCTRLR_PROPERTYCOMPOSER_HXX
#include "pcrcommon.hxx"
-#include "formbrowsertools.hxx"
#include "composeduiupdate.hxx"
#include "formbrowsertools.hxx"
diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx
index f07d4d60f756..e2e6c0d7fd49 100644
--- a/extensions/source/propctrlr/stringrepresentation.cxx
+++ b/extensions/source/propctrlr/stringrepresentation.cxx
@@ -44,7 +44,6 @@
#include <com/sun/star/util/Time.hpp>
#include <comphelper/sequence.hxx>
#include <connectivity/dbconversion.hxx>
-#include "modulepcr.hxx"
#include "formresid.hrc"
#include <tools/debug.hxx>
#include <tools/string.hxx>
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index 4b7fbf18a5d8..f1ccab670cb3 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -32,7 +32,6 @@
/** === begin UNO includes === **/
#include <com/sun/star/inspection/PropertyControlType.hpp>
-#include <com/sun/star/inspection/PropertyControlType.hpp>
/** === end UNO includes === **/
#include <svl/numuno.hxx>
#include <rtl/math.hxx>
diff --git a/extensions/source/scanner/scanner.hxx b/extensions/source/scanner/scanner.hxx
index b263ecaa0802..52bba3113938 100644
--- a/extensions/source/scanner/scanner.hxx
+++ b/extensions/source/scanner/scanner.hxx
@@ -33,7 +33,6 @@
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <cppuhelper/weak.hxx>
-#include <cppuhelper/weak.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/awt/XBitmap.hpp>
diff --git a/extensions/source/svg/svgcom.hxx b/extensions/source/svg/svgcom.hxx
index d0441536944e..b43beeb611e9 100644
--- a/extensions/source/svg/svgcom.hxx
+++ b/extensions/source/svg/svgcom.hxx
@@ -43,7 +43,6 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/io/XInputStream.hpp>
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx
index 68123924c567..f6a971ae64de 100644
--- a/extensions/source/update/check/download.cxx
+++ b/extensions/source/update/check/download.cxx
@@ -33,7 +33,6 @@
#ifdef _MSC_VER
#pragma warning(push, 1) /* disable warnings within system headers */
#endif
-#include <curl/curl.h>
#ifdef _MSC_VER
#pragma warning(pop)
#endif
diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx
index 854638c26e52..9bce2540662d 100644
--- a/extensions/source/update/check/updatecheckconfig.cxx
+++ b/extensions/source/update/check/updatecheckconfig.cxx
@@ -34,8 +34,6 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
-#include <com/sun/star/beans/XPropertyState.hpp>
-
#include <osl/security.hxx>
#include <osl/time.h>
#include <osl/file.hxx>
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index 1ef024d7e3dd..35066dc8db17 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -44,7 +44,6 @@
#include <comphelper/processfactory.hxx>
#include <osl/mutex.hxx>
-#include <osl/mutex.hxx>
#include <vcl/window.hxx>
#include <vcl/floatwin.hxx>
diff --git a/extensions/source/xmlextract/xmxcom.hxx b/extensions/source/xmlextract/xmxcom.hxx
index e44419b633fd..fd8690f26b32 100644
--- a/extensions/source/xmlextract/xmxcom.hxx
+++ b/extensions/source/xmlextract/xmxcom.hxx
@@ -40,7 +40,6 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/io/XInputStream.hpp>
diff --git a/extensions/test/ole/unloading/unloadTest.cxx b/extensions/test/ole/unloading/unloadTest.cxx
index 85f2de33db47..fa3e39271365 100644
--- a/extensions/test/ole/unloading/unloadTest.cxx
+++ b/extensions/test/ole/unloading/unloadTest.cxx
@@ -33,7 +33,6 @@
#include<osl/module.hxx>
#include <osl/time.h>
#include <rtl/ustring.hxx>
-#include <stdio.h>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/servicefactory.hxx>
#include <cppuhelper/bootstrap.hxx>
diff --git a/forms/inc/pch/precompiled_forms.hxx b/forms/inc/pch/precompiled_forms.hxx
index 371183f1a99c..a04ca732a83c 100644
--- a/forms/inc/pch/precompiled_forms.hxx
+++ b/forms/inc/pch/precompiled_forms.hxx
@@ -311,7 +311,6 @@
#include "osl/conditn.hxx"
#include "osl/diagnose.h"
#include "osl/file.hxx"
-#include "osl/mutex.hxx"
#include "rtl/alloc.h"
#include "rtl/logfile.hxx"
@@ -330,7 +329,6 @@
#include "sfx2/msgpool.hxx"
#include "sfx2/sfxuno.hxx"
-
#include "svtools/cliplistener.hxx"
#include "svtools/imageresourceaccess.hxx"
#include "svl/inetstrm.hxx"
@@ -376,7 +374,6 @@
#include "ucbhelper/activedatasink.hxx"
#include "ucbhelper/content.hxx"
-
#include "uno/lbnames.h"
#include "uno/mapping.hxx"
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index d6dbf397b029..87a2e572a615 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -76,7 +76,6 @@
#include <connectivity/dbtools.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/implbase2.hxx>
-#include <osl/mutex.hxx>
#include <rtl/math.hxx>
#include <rtl/tencinfo.h>
#include <svl/inetstrm.hxx>
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index 1e37ae8ae474..0d36f10dc958 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -65,9 +65,6 @@
#include <functional>
#include <algorithm>
-#include <functional>
-#include <algorithm>
-
//... namespace frm .......................................................
namespace frm
diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx
index aa2218856282..7f6e99be8354 100644
--- a/forms/source/component/GroupManager.hxx
+++ b/forms/source/component/GroupManager.hxx
@@ -35,7 +35,6 @@
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
#include <com/sun/star/container/XContainerListener.hpp>
#include <com/sun/star/container/XContainer.hpp>
-#include <comphelper/stl_types.hxx>
#include <cppuhelper/implbase2.hxx>
#include <comphelper/stl_types.hxx>
#include <comphelper/types.hxx>
diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx
index 57f530765a37..5a327d60576b 100644
--- a/forms/source/inc/InterfaceContainer.hxx
+++ b/forms/source/inc/InterfaceContainer.hxx
@@ -40,7 +40,6 @@
#include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/io/XPersistObject.hpp>
-#include <com/sun/star/form/XFormComponent.hpp>
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
#include <com/sun/star/beans/PropertyChangeEvent.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index 787ba6639ba2..26c7981ddfdf 100644
--- a/forms/source/xforms/model.cxx
+++ b/forms/source/xforms/model.cxx
@@ -59,7 +59,6 @@
#include <com/sun/star/xml/dom/NodeType.hpp>
#include <com/sun/star/xml/dom/XDocumentBuilder.hpp>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/ucb/XSimpleFileAccess.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/ucb/XSimpleFileAccess.hpp>
#include <com/sun/star/io/XInputStream.hpp>
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
index be160664c562..7687b2b182ef 100644
--- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
+++ b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
@@ -36,8 +36,6 @@
#include <cppuhelper/factory.hxx> // helper for factories
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <i18npool/mslangid.hxx>
-#include <unotools/pathoptions.hxx>
-#include <unotools/useroptions.hxx>
#include <tools/debug.hxx>
#include <unotools/processfactory.hxx>
#include <osl/mutex.hxx>
diff --git a/package/source/zipapi/XUnbufferedStream.hxx b/package/source/zipapi/XUnbufferedStream.hxx
index 6da133e32ef4..0de13efd6340 100644
--- a/package/source/zipapi/XUnbufferedStream.hxx
+++ b/package/source/zipapi/XUnbufferedStream.hxx
@@ -28,7 +28,6 @@
#ifndef _XUNBUFFERED_STREAM_HXX
#define _XUNBUFFERED_STREAM_HXX
-#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XInputStream.hpp>
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index b18f32140244..cee866cf8d78 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -38,7 +38,6 @@
#include <ZipFile.hxx>
#include <PackageConstants.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/packages/zip/ZipConstants.hpp>
#include <com/sun/star/packages/manifest/XManifestReader.hpp>
#include <com/sun/star/packages/manifest/XManifestWriter.hpp>
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx b/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx
index 189b7e3074ae..f07c35a4d988 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx
@@ -1,7 +1,6 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
//Implementierung der Klasse RegistrationContextInformation.
-#include <assert.h>
#include "registrationcontextinformation.hxx"
#include "msihelper.hxx"
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryw9x.hxx b/setup_native/source/win32/customactions/reg4msdoc/registryw9x.hxx
index 46c25cb898cf..8921d15330f4 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registryw9x.hxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registryw9x.hxx
@@ -30,7 +30,6 @@
#define _REGISTRYW9X_HXX_
#include "registry.hxx"
-#include "registry.hxx"
//---------------------------------------
// constants
diff --git a/xmlsecurity/tools/demo/performance.cxx b/xmlsecurity/tools/demo/performance.cxx
index b11a561ba7ab..1f8fc042fb6f 100644
--- a/xmlsecurity/tools/demo/performance.cxx
+++ b/xmlsecurity/tools/demo/performance.cxx
@@ -29,9 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_xmlsecurity.hxx"
-#include <stdio.h>
-#include <string.h>
-
#include <rtl/ustring.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/servicefactory.hxx>
@@ -61,7 +58,6 @@
#include <com/sun/star/xml/crypto/sax/XSecuritySAXEventKeeper.hpp>
#include <com/sun/star/xml/crypto/sax/XReferenceResolvedListener.hpp>
#include <com/sun/star/xml/crypto/XXMLSignature.hpp>
-#include <com/sun/star/xml/wrapper/XXMLDocumentWrapper.hpp>
#include <com/sun/star/xml/csax/XMLAttribute.hpp>
#include <com/sun/star/xml/crypto/XSEInitializer.hpp>
#include <com/sun/star/xml/crypto/SecurityOperationStatus.hpp>
diff --git a/xmlsecurity/tools/standalone/csfit/helper.hxx b/xmlsecurity/tools/standalone/csfit/helper.hxx
index 108ebf73358a..a0f19532222a 100644
--- a/xmlsecurity/tools/standalone/csfit/helper.hxx
+++ b/xmlsecurity/tools/standalone/csfit/helper.hxx
@@ -45,8 +45,6 @@
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/document/XImporter.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/xmlsecurity/tools/standalone/mscsfit/helper.hxx b/xmlsecurity/tools/standalone/mscsfit/helper.hxx
index 928c9415e997..01d92511e96a 100644
--- a/xmlsecurity/tools/standalone/mscsfit/helper.hxx
+++ b/xmlsecurity/tools/standalone/mscsfit/helper.hxx
@@ -14,8 +14,6 @@
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/document/XImporter.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>