summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/mozab/MCatalog.hxx3
-rw-r--r--embeddedobj/source/general/docholder.cxx3
-rw-r--r--embeddedobj/source/msole/xdialogcreator.cxx2
-rw-r--r--formula/inc/formula/formula.hxx1
-rw-r--r--formula/inc/formula/funcutl.hxx1
-rw-r--r--fpicker/source/aqua/FPentry.cxx16
-rw-r--r--fpicker/source/aqua/FilterHelper.cxx3
-rw-r--r--fpicker/source/aqua/FilterHelper.hxx20
-rw-r--r--fpicker/source/aqua/NSString_OOoAdditions.hxx1
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx2
-rw-r--r--sfx2/inc/sfx2/minarray.hxx1
-rw-r--r--sfx2/inc/sfx2/prnmon.hxx2
-rw-r--r--sfx2/source/appl/appcfg.cxx2
-rw-r--r--sfx2/source/appl/appuno.cxx1
-rw-r--r--sfx2/source/appl/linksrc.cxx1
-rw-r--r--sfx2/source/appl/shutdownicon.cxx1
-rw-r--r--sfx2/source/config/config.src2
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx1
-rw-r--r--sfx2/source/dialog/filedlghelper.src5
-rw-r--r--sfx2/source/doc/doc.src2
-rw-r--r--sfx2/source/doc/docfile.cxx2
-rw-r--r--sfx2/source/doc/objitem.cxx1
-rw-r--r--sfx2/source/doc/objserv.cxx1
-rw-r--r--sfx2/source/inc/objshimp.hxx2
-rw-r--r--sfx2/source/inc/versdlg.hxx2
-rw-r--r--shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx1
-rw-r--r--shell/source/win32/simplemail/senddoc.cxx3
-rw-r--r--svx/inc/galtheme.hxx2
-rw-r--r--svx/inc/svx/gallery1.hxx1
-rw-r--r--svx/inc/xattr.hxx15
-rw-r--r--svx/source/dialog/databaseregistrationui.cxx7
-rw-r--r--svx/source/dialog/docrecovery.cxx2
-rw-r--r--svx/source/form/fmtextcontroldialogs.cxx9
-rw-r--r--svx/source/inc/svdoimp.hxx11
-rw-r--r--svx/source/inc/svxrectctaccessiblecontext.hxx3
-rw-r--r--svx/source/items/SmartTagItem.cxx6
-rw-r--r--svx/source/stbctrls/xmlsecctrl.cxx14
-rw-r--r--svx/source/svdraw/svdedxv.cxx1
-rw-r--r--svx/source/svdraw/svdoattr.cxx1
-rw-r--r--svx/source/table/tablertfexporter.cxx1
-rw-r--r--svx/source/tbxctrls/colrctrl.src3
-rw-r--r--svx/source/tbxctrls/extrusioncontrols.cxx3
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx1
-rw-r--r--ucb/source/ucp/ftp/test.cxx28
-rw-r--r--ucb/source/ucp/odma/odma_lib.cxx3
-rw-r--r--vbahelper/source/msforms/vbamultipage.hxx1
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx2
-rw-r--r--xmloff/inc/xmloff/styleexp.hxx3
-rw-r--r--xmloff/source/chart/SchXMLTableContext.hxx1
-rw-r--r--xmloff/source/style/styleexp.cxx3
-rw-r--r--xmloff/source/text/txtstyle.cxx12
51 files changed, 5 insertions, 210 deletions
diff --git a/connectivity/source/drivers/mozab/MCatalog.hxx b/connectivity/source/drivers/mozab/MCatalog.hxx
index e11b74cf4750..915d625956a7 100644
--- a/connectivity/source/drivers/mozab/MCatalog.hxx
+++ b/connectivity/source/drivers/mozab/MCatalog.hxx
@@ -28,9 +28,6 @@
#define _CONNECTIVITY_MOZAB_CATALOG_HXX_
#include "connectivity/sdbcx/VCatalog.hxx"
-// #ifndef _CONNECTIVITY_OFUNCTIONDEFS_HXX_
-// #include "odbc/OFunctiondefs.hxx"
-// #endif
namespace connectivity
{
diff --git a/embeddedobj/source/general/docholder.cxx b/embeddedobj/source/general/docholder.cxx
index 4222b79884c1..9ab1fc6ea491 100644
--- a/embeddedobj/source/general/docholder.cxx
+++ b/embeddedobj/source/general/docholder.cxx
@@ -83,9 +83,6 @@
#include "intercept.hxx"
-// #include <toolkit/helper/vclunohelper.hxx>
-// #include <vcl/window.hxx>
-
#define HATCH_BORDER_WIDTH (((m_pEmbedObj->getStatus(embed::Aspects::MSOLE_CONTENT)&embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVISIBLE) && \
m_pEmbedObj->getCurrentState()!=embed::EmbedStates::UI_ACTIVE) ? 0 : 4 )
diff --git a/embeddedobj/source/msole/xdialogcreator.cxx b/embeddedobj/source/msole/xdialogcreator.cxx
index 17b331f8bff9..94d11b4f34a1 100644
--- a/embeddedobj/source/msole/xdialogcreator.cxx
+++ b/embeddedobj/source/msole/xdialogcreator.cxx
@@ -45,8 +45,6 @@
#include "xdialogcreator.hxx"
#include "oleembobj.hxx"
-// LLA: tip from FS
-// #include <confighelper.hxx>
#include <xdialogcreator.hxx>
#include <oleembobj.hxx>
diff --git a/formula/inc/formula/formula.hxx b/formula/inc/formula/formula.hxx
index d88d1fe62057..0e22e1eeb96f 100644
--- a/formula/inc/formula/formula.hxx
+++ b/formula/inc/formula/formula.hxx
@@ -29,7 +29,6 @@
#define FORMULA_FORMULA_HXX
#include <sfx2/basedlgs.hxx>
-// #include "formula/funcutl.hxx"
#include <memory>
#include "formula/formuladllapi.h"
diff --git a/formula/inc/formula/funcutl.hxx b/formula/inc/formula/funcutl.hxx
index 05c765af50bb..3136354dd01d 100644
--- a/formula/inc/formula/funcutl.hxx
+++ b/formula/inc/formula/funcutl.hxx
@@ -28,7 +28,6 @@
#ifndef FORMULA_FUNCUTL_HXX
#define FORMULA_FUNCUTL_HXX
-// #include <vcl/scrbar.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include <vcl/edit.hxx>
diff --git a/fpicker/source/aqua/FPentry.cxx b/fpicker/source/aqua/FPentry.cxx
index 127d1f5d60bb..9c7ec71b86b2 100644
--- a/fpicker/source/aqua/FPentry.cxx
+++ b/fpicker/source/aqua/FPentry.cxx
@@ -25,27 +25,14 @@
*
************************************************************************/
-//----------------------------------------------
-// includes of other projects
-//----------------------------------------------
-
#include <cppuhelper/factory.hxx>
#include <com/sun/star/container/XSet.hpp>
-// #ifndef _OSL_DIAGNOSE_H_
-// #include <osl/diagnose.h>
-// #endif
#include "SalAquaFilePicker.hxx"
#include "SalAquaFolderPicker.hxx"
-// #ifndef _SV_SVAPP_HXX
-// #include <vcl/svapp.hxx>
-// #endif
#include "FPServiceInfo.hxx"
-//-----------------------------------------------
-// namespace directives
-//-----------------------------------------------
using namespace ::rtl;
using namespace ::com::sun::star::uno;
@@ -56,9 +43,6 @@ using namespace ::cppu;
using ::com::sun::star::ui::dialogs::XFilePicker;
using ::com::sun::star::ui::dialogs::XFolderPicker;
-//------------------------------------------------
-//
-//------------------------------------------------
static Reference< XInterface > SAL_CALL createFileInstance(
const Reference< XMultiServiceFactory >& rServiceManager )
diff --git a/fpicker/source/aqua/FilterHelper.cxx b/fpicker/source/aqua/FilterHelper.cxx
index 9c644326005e..80d35069ac41 100644
--- a/fpicker/source/aqua/FilterHelper.cxx
+++ b/fpicker/source/aqua/FilterHelper.cxx
@@ -30,9 +30,6 @@
#include <vos/mutex.hxx>
#include <vcl/svapp.hxx>
-// #ifndef _OSL_DIAGNOSE_H_
-// #include <osl/diagnose.h>
-// #endif
#include "CFStringUtilities.hxx"
#include "NSString_OOoAdditions.hxx"
#include "NSURL_OOoAdditions.hxx"
diff --git a/fpicker/source/aqua/FilterHelper.hxx b/fpicker/source/aqua/FilterHelper.hxx
index b0b982971f71..5a38364d81c7 100644
--- a/fpicker/source/aqua/FilterHelper.hxx
+++ b/fpicker/source/aqua/FilterHelper.hxx
@@ -28,22 +28,6 @@
#ifndef _FILTERHELPER_HXX_
#define _FILTERHELPER_HXX_
-// #ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
-// #include <com/sun/star/uno/Type.hxx>
-// #endif
-
-// #ifndef INCLUDED_CPPU_UNOTYPE_HXX
-// #include <cppu/unotype.hxx>
-// #endif
-
-// #ifndef _TYPELIB_TYPECLASS_H_
-// #include "typelib/typeclass.h"
-// #endif
-
-// #ifndef _TYPELIB_TYPEDESCRIPTION_H_
-// #include "typelib/typedescription.h"
-// #endif
-
#include <com/sun/star/beans/StringPair.hpp>
#include <com/sun/star/uno/Sequence.hxx>
@@ -51,10 +35,6 @@
#include <com/sun/star/uno/RuntimeException.hpp>
-// #ifndef _RTL_USTRING_H_
-// #include <rtl/ustring.hxx>
-// #endif
-
#include <list>
#include <vector>
diff --git a/fpicker/source/aqua/NSString_OOoAdditions.hxx b/fpicker/source/aqua/NSString_OOoAdditions.hxx
index 09c6029de126..15b1b985c08a 100644
--- a/fpicker/source/aqua/NSString_OOoAdditions.hxx
+++ b/fpicker/source/aqua/NSString_OOoAdditions.hxx
@@ -32,7 +32,6 @@
#import <Cocoa/Cocoa.h>
#include <postmac.h>
#include <rtl/ustring.hxx>
-// #include <sal/types.h>
//for Cocoa types
@interface NSString (OOoAdditions)
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 1a2a7cfb21e7..df66f1697be0 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -32,8 +32,6 @@
// my own includes
//_________________________________________________________________________________________________________________
-// #include <math.h>
-
#include <services/layoutmanager.hxx>
#include <threadhelp/resetableguard.hxx>
#include <services.h>
diff --git a/sfx2/inc/sfx2/minarray.hxx b/sfx2/inc/sfx2/minarray.hxx
index e0a8c398b215..0670f5e69964 100644
--- a/sfx2/inc/sfx2/minarray.hxx
+++ b/sfx2/inc/sfx2/minarray.hxx
@@ -34,7 +34,6 @@
#include <string.h>
#include <tools/solar.h>
#include <tools/debug.hxx>
-//#include "typecast.hxx"
#if defined (ALPHA) && defined (UNX)
#define DEL_ARRAY( X )
diff --git a/sfx2/inc/sfx2/prnmon.hxx b/sfx2/inc/sfx2/prnmon.hxx
index f35064418ec3..cc58280fbbb5 100644
--- a/sfx2/inc/sfx2/prnmon.hxx
+++ b/sfx2/inc/sfx2/prnmon.hxx
@@ -33,7 +33,7 @@
#include <vcl/button.hxx>
#include <vcl/dialog.hxx>
#include <sfx2/printer.hxx>
-//#include <sfx2/progress.hxx>
+
class SfxViewShell;
//class SfxProgress;
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index b1f4fa843508..197b4c9a0e27 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -54,8 +54,6 @@
#include <sfx2/sfxsids.hrc>
#include <sot/exchange.hxx>
-//#include <svtools/agprop.hxx>
-//#include <sj2/sjapplet.hxx>
#include <svl/isethint.hxx>
#include <unotools/configmgr.hxx>
diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx
index 9a641377c7fa..48ae7cbef136 100644
--- a/sfx2/source/appl/appuno.cxx
+++ b/sfx2/source/appl/appuno.cxx
@@ -132,7 +132,6 @@ using namespace ::com::sun::star::io;
#include "brokenpackageint.hxx"
#include "eventsupplier.hxx"
#include "xpackcreator.hxx"
-// #include "applet.hxx"
#include "plugin.hxx"
#include "iframe.hxx"
#include <ownsubfilterservice.hxx>
diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx
index f2323b6daacd..ee64abb9d525 100644
--- a/sfx2/source/appl/linksrc.cxx
+++ b/sfx2/source/appl/linksrc.cxx
@@ -30,7 +30,6 @@
#include <sfx2/linksrc.hxx>
#include <sfx2/lnkbase.hxx>
-//#include <sot/exchange.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index 2762896ac67c..141d3372873e 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -34,7 +34,6 @@
#include <vos/mutex.hxx>
#include <svtools/imagemgr.hxx>
#include <svtools/miscopt.hxx>
-// #include <cmdlineargs.hxx>
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/frame/XDispatchResultListener.hpp>
#include <com/sun/star/frame/XNotifyingDispatch.hpp>
diff --git a/sfx2/source/config/config.src b/sfx2/source/config/config.src
index cb3259e09ad0..02afbfae54e7 100644
--- a/sfx2/source/config/config.src
+++ b/sfx2/source/config/config.src
@@ -25,8 +25,6 @@
*
************************************************************************/
-//#include "config.hrc"
-//#include "sfxlocal.hrc"
#include <sfx2/sfx.hrc>
String STR_FILTERNAME_CFG
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 01e2b0607bea..6d7e809a7875 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -67,7 +67,6 @@
#include <sfx2/frame.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/request.hxx>
-//#include "exptypes.hxx"
#include "helper.hxx"
#include <sfx2/objsh.hxx>
#include <sfx2/docfile.hxx>
diff --git a/sfx2/source/dialog/filedlghelper.src b/sfx2/source/dialog/filedlghelper.src
index 61df13350510..eeee5d36aab7 100644
--- a/sfx2/source/dialog/filedlghelper.src
+++ b/sfx2/source/dialog/filedlghelper.src
@@ -25,14 +25,9 @@
*
************************************************************************/
-// includes ******************************************************************
-
#include "sfxlocal.hrc"
#include "filedlghelper.hrc"
-//#include "helpid.hrc"
-
-// strings *******************************************************************
String STR_SFX_FILEDLG_ACTUALVERSION
{
diff --git a/sfx2/source/doc/doc.src b/sfx2/source/doc/doc.src
index d17b62c9b52a..ce4c5f804b48 100644
--- a/sfx2/source/doc/doc.src
+++ b/sfx2/source/doc/doc.src
@@ -28,7 +28,7 @@
#include "doc.hrc"
#define __RSC
#include <svl/inetdef.hxx>
-//#include <so3/so2defs.hxx>
+
// -----------------------------------------------------------------------
QueryBox MSG_CONFIRM_FILTER
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index d81d316e789a..ee59facbb4ae 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -143,8 +143,6 @@ using namespace ::com::sun::star::io;
#include "sfxresid.hxx"
#include <sfx2/appuno.hxx>
-//#include "xmlversion.hxx"
-
#define MAX_REDIRECT 5
diff --git a/sfx2/source/doc/objitem.cxx b/sfx2/source/doc/objitem.cxx
index 1c855189c7a4..d9bab89e1ed0 100644
--- a/sfx2/source/doc/objitem.cxx
+++ b/sfx2/source/doc/objitem.cxx
@@ -32,7 +32,6 @@
#endif
#include <sfx2/objsh.hxx>
-//#include "objshimp.hxx"
#include <sfx2/objitem.hxx>
#include <com/sun/star/lang/XUnoTunnel.hpp>
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 378d44da9d37..53d8e40e53f1 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -84,7 +84,6 @@
#include <sfx2/objsh.hxx>
#include "objshimp.hxx"
#include "sfxtypes.hxx"
-//#include "interno.hxx"
#include <sfx2/module.hxx>
#include <sfx2/viewfrm.hxx>
#include "versdlg.hxx"
diff --git a/sfx2/source/inc/objshimp.hxx b/sfx2/source/inc/objshimp.hxx
index 10a5b09e6f2c..a7a5efdfeafb 100644
--- a/sfx2/source/inc/objshimp.hxx
+++ b/sfx2/source/inc/objshimp.hxx
@@ -27,8 +27,6 @@
#ifndef _SFX_OBJSHIMP_HXX
#define _SFX_OBJSHIMP_HXX
-//#include <hash_map>
-
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustring.hxx>
diff --git a/sfx2/source/inc/versdlg.hxx b/sfx2/source/inc/versdlg.hxx
index b5f08042f00b..afefc94b74a4 100644
--- a/sfx2/source/inc/versdlg.hxx
+++ b/sfx2/source/inc/versdlg.hxx
@@ -28,8 +28,6 @@
#ifndef _VERSDLG_HXX
#define _VERSDLG_HXX
-// #include *****************************************************************
-
#include <vcl/button.hxx>
#include <vcl/fixed.hxx>
#include <svtools/svtabbx.hxx>
diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
index adcf2b2f8ddf..0c6c5494a6b9 100644
--- a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
+++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
@@ -43,7 +43,6 @@
//--------------------------------------------------------------------------
#include "internal/contentreader.hxx"
#include "internal/metainforeader.hxx"
-//#include "internal/utilities.hxx"
#include "internal/registry.hxx"
#include "internal/fileextensions.hxx"
diff --git a/shell/source/win32/simplemail/senddoc.cxx b/shell/source/win32/simplemail/senddoc.cxx
index c8ac40799cea..1886a94dcd2f 100644
--- a/shell/source/win32/simplemail/senddoc.cxx
+++ b/shell/source/win32/simplemail/senddoc.cxx
@@ -29,9 +29,6 @@
#include "precompiled_shell.hxx"
#include <osl/diagnose.h>
-#ifndef _RTL_STRING_HXX_
-//#include <rtl/string.hxx>
-#endif
#include "simplemapi.hxx"
#define WIN32_LEAN_AND_MEAN
diff --git a/svx/inc/galtheme.hxx b/svx/inc/galtheme.hxx
index aa77bba25d26..078a56060e41 100644
--- a/svx/inc/galtheme.hxx
+++ b/svx/inc/galtheme.hxx
@@ -40,9 +40,7 @@
#include <svtools/transfer.hxx>
#include <sot/storage.hxx>
#include <svx/svdmodel.hxx>
-//#include <svx/galobj.hxx>
#include <svx/galmisc.hxx>
-//#include <svx/gallery1.hxx>
// -----------------
// - GalleryObject -
diff --git a/svx/inc/svx/gallery1.hxx b/svx/inc/svx/gallery1.hxx
index 7b58456a8889..f1eacafaae74 100644
--- a/svx/inc/svx/gallery1.hxx
+++ b/svx/inc/svx/gallery1.hxx
@@ -33,7 +33,6 @@
#include <tools/urlobj.hxx>
#include <svl/brdcst.hxx>
#include "svx/svxdllapi.h"
-//#include "gallery.hrc"
#include <cstdio>
#include <list>
diff --git a/svx/inc/xattr.hxx b/svx/inc/xattr.hxx
index 20035f7743e7..a359d2fe6239 100644
--- a/svx/inc/xattr.hxx
+++ b/svx/inc/xattr.hxx
@@ -27,21 +27,6 @@
#ifndef _XATTR_HXX
#define _XATTR_HXX
-// include ---------------------------------------------------------------
-
-#ifndef _XDEF_HXX
-//#include <svx/xdef.hxx>
-#endif
-#ifndef _XENUM_HXX
-//#include <svx/xenum.hxx>
-#endif
-#ifndef _XPOLY_HXX
-//#include <svx/xpoly.hxx>
-#endif
-#ifndef _SVX_RECTENUM_HXX
-//#include <svx/rectenum.hxx>
-#endif
-
class XColorTable;
class XDashTable;
class XLineEndTable;
diff --git a/svx/source/dialog/databaseregistrationui.cxx b/svx/source/dialog/databaseregistrationui.cxx
index c151a7b2706a..2fceb8e3b29c 100644
--- a/svx/source/dialog/databaseregistrationui.cxx
+++ b/svx/source/dialog/databaseregistrationui.cxx
@@ -31,20 +31,15 @@
// === includes (declaration) ============================================
#include "databaseregistrationui.hxx"
-// === includes (UNO) ====================================================
-// === /includes (UNO) ===================================================
-
// === includes (project) ================================================
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
-//#include "connpooloptions.hxx"
-// === /includes (project) ===============================================
// === includes (global) =================================================
#include <sfx2/app.hxx>
#include <svl/itemset.hxx>
#include <vcl/msgbox.hxx>
-// === /includes (global) ================================================
+
namespace svx
{
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index 8b9177a4a128..f1ac5b9ea96e 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -46,10 +46,8 @@
#include <toolkit/unohlp.hxx>
-//#include "com/sun/star/lang/XMultiServiceFactory.hpp"
#include <com/sun/star/task/XStatusIndicatorFactory.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
-//#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
diff --git a/svx/source/form/fmtextcontroldialogs.cxx b/svx/source/form/fmtextcontroldialogs.cxx
index 1d60c5b4652a..cbae2e806334 100644
--- a/svx/source/form/fmtextcontroldialogs.cxx
+++ b/svx/source/form/fmtextcontroldialogs.cxx
@@ -31,16 +31,7 @@
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
-#ifndef _SVX_CHARDLG_HXX
-//#include "chardlg.hxx"
-#endif
-#ifndef _SVX_PARAGRPH_HXX
-//#include "paragrph.hxx"
-#endif
#include <editeng/eeitem.hxx>
-#ifndef _SVX_TABSTPGE_HXX
-//#include "tabstpge.hxx"
-#endif
#include "flagsdef.hxx"
#include <svl/intitem.hxx>
diff --git a/svx/source/inc/svdoimp.hxx b/svx/source/inc/svdoimp.hxx
index 3014b42d4721..630bea9966fd 100644
--- a/svx/source/inc/svdoimp.hxx
+++ b/svx/source/inc/svdoimp.hxx
@@ -30,17 +30,8 @@
#include <vcl/mapmod.hxx>
-//#include <svl/lstner.hxx>
-//#include <vcl/timer.hxx>
-//#include <svx/svdsob.hxx>
-//#include <svx/svdtypes.hxx> // fuer SdrLayerID
-//#include <svx/svdglue.hxx> // Klebepunkte
-//#include <svx/xdash.hxx>
-//#include <svx/xpoly.hxx>
-//#include <svx/xenum.hxx>
-//#include <basegfx/vector/b2dvector.hxx>
#include <svx/rectenum.hxx>
-//#include <basegfx/polygon/b2dpolypolygon.hxx>
+
class Bitmap;
diff --git a/svx/source/inc/svxrectctaccessiblecontext.hxx b/svx/source/inc/svxrectctaccessiblecontext.hxx
index be1265cb0c98..a50ccca56b7a 100644
--- a/svx/source/inc/svxrectctaccessiblecontext.hxx
+++ b/svx/source/inc/svxrectctaccessiblecontext.hxx
@@ -47,9 +47,6 @@
#include <vos/mutex.hxx>
#include <cppuhelper/interfacecontainer.h>
#include <cppuhelper/compbase6.hxx>
-//#ifndef _CPPUHELPER_COMPBASE7_HXX_
-//#include <cppuhelper/compbase7.hxx>
-//#endif
#include <comphelper/broadcasthelper.hxx>
#include <cppuhelper/implbase6.hxx>
#include <comphelper/servicehelper.hxx>
diff --git a/svx/source/items/SmartTagItem.cxx b/svx/source/items/SmartTagItem.cxx
index 0962f2146e46..a32be64e66e2 100644
--- a/svx/source/items/SmartTagItem.cxx
+++ b/svx/source/items/SmartTagItem.cxx
@@ -28,17 +28,11 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_svx.hxx"
-// include ---------------------------------------------------------------
-
#include <svx/SmartTagItem.hxx>
#include <com/sun/star/container/XStringKeyMap.hpp>
-//#include <svl/memberid.hrc>
-//#include "svxids.hrc"
-//#include "svxitems.hrc"
-
using namespace ::com::sun::star;
TYPEINIT1(SvxSmartTagItem, SfxPoolItem);
diff --git a/svx/source/stbctrls/xmlsecctrl.cxx b/svx/source/stbctrls/xmlsecctrl.cxx
index 4ca809593607..1db4881454e5 100644
--- a/svx/source/stbctrls/xmlsecctrl.cxx
+++ b/svx/source/stbctrls/xmlsecctrl.cxx
@@ -28,14 +28,10 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_svx.hxx"
-// include ---------------------------------------------------------------
#include <tools/shl.hxx>
#include <vcl/status.hxx>
#include <vcl/menu.hxx>
#include <vcl/image.hxx>
-//#ifndef _SFXITEMPOOL_HXX
-//#include <svl/itempool.hxx>
-//#endif
#include <sfx2/signaturestate.hxx>
#include <sfx2/app.hxx>
#include <sfx2/module.hxx>
@@ -54,16 +50,6 @@
#define PAINT_OFFSET 5
-//#include <editeng/sizeitem.hxx>
-//#include <svx/dialmgr.hxx>
-//#include "dlgutil.hxx"
-//#include "stbctrls.h"
-
-//#include <svx/dialogs.hrc>
-
-//#include <unotools/localedatawrapper.hxx>
-//#include <comphelper/processfactory.hxx>
-
SFX_IMPL_STATUSBAR_CONTROL( XmlSecStatusBarControl, SfxUInt16Item );
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index b4f7422d78b4..7142cbe3725d 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -35,7 +35,6 @@
#include <svx/svdedxv.hxx>
#include <svl/solar.hrc>
-//#include <tools/string.h>
#include <svl/itemiter.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/hatch.hxx>
diff --git a/svx/source/svdraw/svdoattr.cxx b/svx/source/svdraw/svdoattr.cxx
index 81c1ca029ede..cea3df88ad2c 100644
--- a/svx/source/svdraw/svdoattr.cxx
+++ b/svx/source/svdraw/svdoattr.cxx
@@ -61,7 +61,6 @@
#include "editeng/fontitem.hxx"
#include <editeng/fhgtitem.hxx>
-//#include <editeng/charscaleitem.hxx>
#include <svx/xlnstcit.hxx>
#include <svx/xlnwtit.hxx>
#include <svl/style.hxx>
diff --git a/svx/source/table/tablertfexporter.cxx b/svx/source/table/tablertfexporter.cxx
index d155e084fff8..8494ffa61b42 100644
--- a/svx/source/table/tablertfexporter.cxx
+++ b/svx/source/table/tablertfexporter.cxx
@@ -50,7 +50,6 @@
#include "editeng/editeng.hxx"
#include "editeng/outlobj.hxx"
-//#include <tablertfexporter.hxx>
using ::rtl::OUString;
using namespace ::com::sun::star::uno;
diff --git a/svx/source/tbxctrls/colrctrl.src b/svx/source/tbxctrls/colrctrl.src
index 023c271c5455..909ce34ea607 100644
--- a/svx/source/tbxctrls/colrctrl.src
+++ b/svx/source/tbxctrls/colrctrl.src
@@ -24,8 +24,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
- // include ---------------------------------------------------------------
- //#include "colrctrl.hrc"
+
#include <svx/dialogs.hrc>
#include "helpid.hrc"
// pragma ----------------------------------------------------------------
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index f98fd57a0480..006c81d51525 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -28,8 +28,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_svx.hxx"
-// include ---------------------------------------------------------------
-
#include <string> // HACK: prevent conflict between STLPORT and Workshop headers
#include <com/sun/star/util/XURLTransformer.hpp>
@@ -55,7 +53,6 @@
#include <svx/dialmgr.hxx>
#include "svx/extrusioncolorcontrol.hxx"
-//#include "chrtitem.hxx"
#include "helpid.hrc"
#include "extrusioncontrols.hxx"
#include "extrusioncontrols.hrc"
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index 4659197b81b5..919f1eaf2add 100644
--- a/ucb/source/ucp/ftp/ftpcontent.cxx
+++ b/ucb/source/ucp/ftp/ftpcontent.cxx
@@ -77,7 +77,6 @@
#include <com/sun/star/ucb/MissingInputStreamException.hpp>
#include <com/sun/star/ucb/UnsupportedNameClashException.hpp>
#include <com/sun/star/ucb/NameClashException.hpp>
-//#include <com/sun/star/ucb/NameClash.hpp>
#include <com/sun/star/ucb/OpenMode.hpp>
#include <com/sun/star/ucb/IOErrorCode.hpp>
diff --git a/ucb/source/ucp/ftp/test.cxx b/ucb/source/ucp/ftp/test.cxx
index 9bc6585400ba..d270421ee257 100644
--- a/ucb/source/ucp/ftp/test.cxx
+++ b/ucb/source/ucp/ftp/test.cxx
@@ -38,34 +38,6 @@
#include <stdio.h>
#include <unistd.h>
-// #include <osl/process.h>
-// #include <osl/thread.hxx>
-
-// #include <ucbhelper/configurationkeys.hxx>
-// #include <cppuhelper/bootstrap.hxx>
-// #include <cppuhelper/servicefactory.hxx>
-// #include <comphelper/processfactory.hxx>
-// #include <comphelper/regpathhelper.hxx>
-// #include <com/sun/star/lang/XComponent.hpp>
-// #include <com/sun/star/lang/XMultiServiceFactory.hpp>
-// #include <com/sun/star/ucb/XContentIdentifierFactory.hpp>
-// #include <com/sun/star/ucb/XContent.hpp>
-// #include <com/sun/star/ucb/XContentProvider.hpp>
-// #include <com/sun/star/ucb/XCommandProcessor.hpp>
-// #include <com/sun/star/ucb/OpenMode.hpp>
-// #include <com/sun/star/ucb/Command.hpp>
-// #include <com/sun/star/ucb/OpenCommandArgument2.hpp>
-// #include <com/sun/star/io/XActiveDataSink.hpp>
-// #include <com/sun/star/beans/Property.hpp>
-
-
-// #include "debughelper.hxx"
-// #include "test_activedatasink.hxx"
-// #include "test_ftpurl.hxx"
-// #include "test_multiservicefac.hxx"
-// #include "ftpcontentprovider.hxx"
-// #include "ftpcontentidentifier.hxx"
-
// using namespace test_ftp;
// using namespace rtl;
diff --git a/ucb/source/ucp/odma/odma_lib.cxx b/ucb/source/ucp/odma/odma_lib.cxx
index 1f92a66a1cb3..ee418a68c4f4 100644
--- a/ucb/source/ucp/odma/odma_lib.cxx
+++ b/ucb/source/ucp/odma/odma_lib.cxx
@@ -27,9 +27,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_ucb.hxx"
-//#ifndef _OSL_PROCESS_H_
-//#include <osl/process.h>
-//#endif
#include <osl/module.h>
#include <rtl/ustring.hxx>
#include <tools/prewin.h>
diff --git a/vbahelper/source/msforms/vbamultipage.hxx b/vbahelper/source/msforms/vbamultipage.hxx
index 4a54525cf95f..ec9cae280baa 100644
--- a/vbahelper/source/msforms/vbamultipage.hxx
+++ b/vbahelper/source/msforms/vbamultipage.hxx
@@ -32,7 +32,6 @@
#include "vbacontrol.hxx"
#include <vbahelper/vbahelper.hxx>
-//#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase1.hxx>
typedef cppu::ImplInheritanceHelper1< ScVbaControl, ov::msforms::XMultiPage > MultiPageImpl_BASE;
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 69205f08203e..deeef6c15bd6 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -548,8 +548,6 @@ void URLParameter::open( const Reference< XMultiServiceFactory >& rxSMgr,
}
-// #include <stdio.h>
-
void URLParameter::parse() throw( com::sun::star::ucb::IllegalIdentifierException )
{
// fprintf(stdout,"url send to xmlhelp: %s\n",(rtl::OUStringToOString(m_aURL,RTL_TEXTENCODING_UTF8).getStr()));
diff --git a/xmloff/inc/xmloff/styleexp.hxx b/xmloff/inc/xmloff/styleexp.hxx
index 10e9db410430..fa853db21683 100644
--- a/xmloff/inc/xmloff/styleexp.hxx
+++ b/xmloff/inc/xmloff/styleexp.hxx
@@ -32,9 +32,6 @@
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.h>
-#ifndef _VCL_MAPUNIT_HXX
-//#include <tools/mapunit.hxx>
-#endif
#include <xmloff/uniref.hxx>
namespace com { namespace sun { namespace star
diff --git a/xmloff/source/chart/SchXMLTableContext.hxx b/xmloff/source/chart/SchXMLTableContext.hxx
index 717628b18de0..f0e36a1e0d51 100644
--- a/xmloff/source/chart/SchXMLTableContext.hxx
+++ b/xmloff/source/chart/SchXMLTableContext.hxx
@@ -29,7 +29,6 @@
#include <xmloff/xmlictxt.hxx>
#include "SchXMLImport.hxx"
-// #include "SchXMLChartContext.hxx"
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/chart/ChartDataRowSource.hpp>
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx
index c1c3d85629a9..a06893ba0632 100644
--- a/xmloff/source/style/styleexp.cxx
+++ b/xmloff/source/style/styleexp.cxx
@@ -35,9 +35,6 @@
#include <xmloff/nmspmap.hxx>
#include "xmlnmspe.hxx"
#include <xmloff/xmltoken.hxx>
-#ifndef _XMLOFF_XMLITMAP_HXX
-//#include "xmlitmap.hxx"
-#endif
#include <xmloff/xmluconv.hxx>
#include <xmloff/attrlist.hxx>
#include <xmloff/xmlprmap.hxx>
diff --git a/xmloff/source/text/txtstyle.cxx b/xmloff/source/text/txtstyle.cxx
index fec54cd782fc..767c148614b4 100644
--- a/xmloff/source/text/txtstyle.cxx
+++ b/xmloff/source/text/txtstyle.cxx
@@ -28,9 +28,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_xmloff.hxx"
-#ifndef _TOOLS_DEBUG_HXX
-//#include <tools/debug.hxx>
-#endif
#include <com/sun/star/style/ParagraphStyleCategory.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
@@ -40,14 +37,8 @@
#include <xmloff/xmltoken.hxx>
-#ifndef _XMLOFF_PROPERTYSETMAPPER_HXX
-//#include <xmloff/xmlprmap.hxx>
-#endif
#include "xmlnmspe.hxx"
#include <xmloff/families.hxx>
-#ifndef _XMLOFF_TXTPRMAP_HXX
-//#include <xmloff/txtprmap.hxx>
-#endif
#include <xmloff/txtparae.hxx>
#include <xmloff/xmlnume.hxx>
#include <xmloff/xmlexp.hxx>
@@ -56,9 +47,6 @@
#include "txtexppr.hxx"
#include <xmloff/txtprmap.hxx>
-#ifndef _XMLOFF_STYLEEXP_HXX
-//#include <xmloff/styleexp.hxx>
-#endif
using ::rtl::OUString;
using ::rtl::OUStringBuffer;