[Libreoffice-commits] core.git: connectivity/source cui/source desktop/source framework/source hwpfilter/source i18nutil/source include/framework include/tools jvmfwk/source onlineupdate/source oox/source sal/qa sal/rtl sc/qa sc/source sd/qa sd/source sfx2/source svx/source sw/inc sw/source ucb/source uui/source vcl/backendtest vcl/source vcl/unx vcl/workben xmlsecurity/source

Andrea Gelmini andrea.gelmini at gelma.net
Thu Apr 13 05:46:59 UTC 2017


 connectivity/source/drivers/firebird/DatabaseMetaData.cxx             |    1 -
 cui/source/options/optjava.cxx                                        |    3 +--
 desktop/source/lib/init.cxx                                           |    2 --
 framework/source/uielement/toolbarsmenucontroller.cxx                 |    1 -
 hwpfilter/source/lexer.cxx                                            |    1 -
 i18nutil/source/utility/unicode.cxx                                   |    1 -
 include/framework/interaction.hxx                                     |    1 -
 include/tools/diagnose_ex.h                                           |    1 -
 jvmfwk/source/framework.cxx                                           |    1 -
 onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.cxx |    1 -
 oox/source/helper/propertymap.cxx                                     |    4 ----
 sal/qa/osl/file/osl_File_Const.h                                      |    2 --
 sal/rtl/alloc_global.cxx                                              |    8 --------
 sc/qa/unit/subsequent_filters-test.cxx                                |    3 +--
 sc/source/filter/html/htmlpars.cxx                                    |    1 -
 sc/source/filter/oox/revisionfragment.cxx                             |    2 --
 sc/source/filter/orcus/orcusfiltersimpl.cxx                           |    1 -
 sc/source/filter/xml/xmlimprt.cxx                                     |    1 -
 sc/source/ui/docshell/docfunc.cxx                                     |    1 -
 sc/source/ui/miscdlgs/autofmt.cxx                                     |    1 -
 sc/source/ui/miscdlgs/scuiautofmt.cxx                                 |    1 -
 sc/source/ui/view/gridwin.cxx                                         |    2 --
 sc/source/ui/view/tabview3.cxx                                        |    1 -
 sc/source/ui/view/viewfun3.cxx                                        |    1 -
 sd/qa/unit/dialogs-test.cxx                                           |    1 -
 sd/qa/unit/tiledrendering/tiledrendering.cxx                          |    1 -
 sd/source/ui/animations/CustomAnimationDialog.cxx                     |    1 -
 sd/source/ui/animations/CustomAnimationPane.hxx                       |    1 -
 sd/source/ui/sidebar/MasterPageContainer.cxx                          |    2 --
 sd/source/ui/sidebar/SlideBackground.cxx                              |    2 --
 sfx2/source/appl/appinit.cxx                                          |    1 -
 svx/source/sidebar/shadow/ShadowPropertyPanel.hxx                     |    1 -
 svx/source/svdraw/svdetc.cxx                                          |    1 -
 svx/source/svdraw/svdpntv.cxx                                         |    5 +----
 sw/inc/docary.hxx                                                     |    1 -
 sw/source/core/doc/DocumentDrawModelManager.cxx                       |    1 -
 sw/source/uibase/dbui/mmconfigitem.cxx                                |    1 -
 sw/source/uibase/sidebar/PageColumnControl.hxx                        |    1 -
 sw/source/uibase/sidebar/PageFormatPanel.hxx                          |    1 -
 sw/source/uibase/sidebar/PageStylesPanel.hxx                          |    1 -
 sw/source/uibase/uiview/viewtab.cxx                                   |    2 --
 ucb/source/ucp/webdav/SerfInputStream.cxx                             |    2 --
 uui/source/iahndl-locking.cxx                                         |    2 --
 uui/source/iahndl.cxx                                                 |    2 --
 vcl/backendtest/VisualBackendTest.cxx                                 |    2 --
 vcl/source/app/scheduler.cxx                                          |    1 -
 vcl/source/app/svdata.cxx                                             |    3 ---
 vcl/source/gdi/pdfwriter_impl.cxx                                     |    1 -
 vcl/unx/generic/app/salinst.cxx                                       |    1 -
 vcl/unx/generic/fontmanager/fontmanager.cxx                           |    1 -
 vcl/workben/mtfdemo.cxx                                               |    2 --
 vcl/workben/vcldemo.cxx                                               |    1 -
 xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx |    1 -
 53 files changed, 3 insertions(+), 82 deletions(-)

New commits:
commit 3c3f7d784eadd60c053284ec2835675f158d4156
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Wed Apr 12 15:31:42 2017 +0200

    Removed duplicated includes
    
    No automatic tools. Manual checked and tested.
    
    Change-Id: Ife260fa4e1d786cf81f2917a901664cc54943754
    Reviewed-on: https://gerrit.libreoffice.org/36371
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index bb1ac1d449dd..9f44363427a5 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -34,7 +34,6 @@
 #include <com/sun/star/sdbc/XRow.hpp>
 #include <com/sun/star/sdbc/KeyRule.hpp>
 #include <com/sun/star/sdbc/Deferrability.hpp>
-#include <com/sun/star/sdbc/DataType.hpp>
 
 using namespace connectivity::firebird;
 using namespace com::sun::star;
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 03a2c6232d83..1863f4c188ba 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -39,7 +39,7 @@
 #include <vcl/waitobj.hxx>
 #include <unotools/pathoptions.hxx>
 #include <svtools/imagemgr.hxx>
-#include "svtools/restartdialog.hxx"
+#include <svtools/restartdialog.hxx>
 #include "svtools/treelistentry.hxx"
 #include <sfx2/filedlghelper.hxx>
 #include <sfx2/inputdlg.hxx>
@@ -59,7 +59,6 @@
 
 #define CLASSPATH_DELIMITER SAL_PATHSEPARATOR
 
-#include <svtools/restartdialog.hxx>
 #include <comphelper/solarmutex.hxx>
 
 using namespace ::com::sun::star::lang;
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index e7aa186873f0..608d2bbc9ac4 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -62,8 +62,6 @@
 #include <sfx2/msgpool.hxx>
 #include <sfx2/dispatch.hxx>
 #include <sfx2/lokhelper.hxx>
-#include <sfx2/viewfrm.hxx>
-#include <sfx2/viewsh.hxx>
 #include <svx/dialmgr.hxx>
 #include <svx/dialogs.hrc>
 #include <svx/svxids.hrc>
diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx
index 8633c1ca8265..bfc3fe587a23 100644
--- a/framework/source/uielement/toolbarsmenucontroller.cxx
+++ b/framework/source/uielement/toolbarsmenucontroller.cxx
@@ -51,7 +51,6 @@
 #include <rtl/ustrbuf.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
 #include <vcl/window.hxx>
-#include <vcl/commandinfoprovider.hxx>
 #include <svtools/menuoptions.hxx>
 #include <unotools/cmdoptions.hxx>
 #include <svtools/miscopt.hxx>
diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx
index 52aa5001bfbf..509ab1f14e04 100644
--- a/hwpfilter/source/lexer.cxx
+++ b/hwpfilter/source/lexer.cxx
@@ -931,7 +931,6 @@ static char *yy_last_accepting_cpos;
 #define YY_RESTORE_YY_MORE_OFFSET
 static char *yytext;
 #define INITIAL 0
-#include <stdlib.h>
 #include <string.h>
 #include "nodes.h"
 
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index b2dd1d7be08b..496c5cb589ac 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -26,7 +26,6 @@
 #include <sal/log.hxx>
 #include <unicode/numfmt.h>
 #include "unicode_data.h"
-#include <com/sun/star/i18n/UnicodeType.hpp>
 #include <rtl/character.hxx>
 #include <memory>
 
diff --git a/include/framework/interaction.hxx b/include/framework/interaction.hxx
index 7f9389fadaa6..e1e3c726213b 100644
--- a/include/framework/interaction.hxx
+++ b/include/framework/interaction.hxx
@@ -32,7 +32,6 @@
 
 #include <rtl/ref.hxx>
 #include <rtl/ustring.hxx>
-#include <rtl/ref.hxx>
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/uno/Sequence.hxx>
 #include <framework/fwedllapi.h>
diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h
index b3db8eb4986c..921b45648904 100644
--- a/include/tools/diagnose_ex.h
+++ b/include/tools/diagnose_ex.h
@@ -34,7 +34,6 @@ TOOLS_DLLPUBLIC void DbgUnhandledException(const css::uno::Any& caughtException,
 #if OSL_DEBUG_LEVEL > 0
     #include <com/sun/star/configuration/CorruptedConfigurationException.hpp>
     #include <cppuhelper/exc_hlp.hxx>
-    #include <osl/diagnose.h>
     #include <osl/thread.h>
 
     /** reports a caught UNO exception via OSL diagnostics
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx
index adca111e3246..0165fcf9efd9 100644
--- a/jvmfwk/source/framework.cxx
+++ b/jvmfwk/source/framework.cxx
@@ -27,7 +27,6 @@
 #include "osl/file.hxx"
 #include "jvmfwk/framework.hxx"
 #include "vendorplugin.hxx"
-#include <cassert>
 #include <vector>
 #include <functional>
 #include <algorithm>
diff --git a/onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.cxx b/onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.cxx
index b8562354b586..a543aed09915 100644
--- a/onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.cxx
+++ b/onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.cxx
@@ -11,7 +11,6 @@
 #include <stdint.h>
 #if defined(_WIN32) && !defined(UPDATER_NO_STRING_GLUE_STL)
 #include <wchar.h>
-#include <stdint.h>
 #include "mozilla/Char16.h"
 #endif
 
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index 37cb0a497405..8356b13da191 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -67,10 +67,6 @@ using ::com::sun::star::beans::XVetoableChangeListener;
 using ::com::sun::star::container::XIndexReplace;
 
 #if OSL_DEBUG_LEVEL > 0
-#include <cstdio>
-#include <com/sun/star/style/LineSpacing.hpp>
-#include <com/sun/star/style/LineSpacingMode.hpp>
-#include <com/sun/star/text/WritingMode.hpp>
 #define USS(x) OUStringToOString( x, RTL_TEXTENCODING_UTF8 ).getStr()
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::drawing;
diff --git a/sal/qa/osl/file/osl_File_Const.h b/sal/qa/osl/file/osl_File_Const.h
index b8c7e123107e..1d3b0bdc5b97 100644
--- a/sal/qa/osl/file/osl_File_Const.h
+++ b/sal/qa/osl/file/osl_File_Const.h
@@ -85,8 +85,6 @@ const sal_Char pBuffer_Blank[]  = "";
 #if defined(_WIN32)                      // Windows
 #       include <tchar.h>
 #       include <io.h>
-#       include <stdio.h>
-#       include <stdlib.h>
 #   define PATH_MAX             MAX_PATH
 #   define TEST_PLATFORM        "c:/"
 #   define TEST_PLATFORM_ROOT   "c:/"
diff --git a/sal/rtl/alloc_global.cxx b/sal/rtl/alloc_global.cxx
index 703a42b0902a..e17df316acbe 100644
--- a/sal/rtl/alloc_global.cxx
+++ b/sal/rtl/alloc_global.cxx
@@ -40,14 +40,6 @@ static void determine_alloc_mode()
 
 /* ================================================================= *
  *
- * custom allocator includes.
- *
- * ================================================================= */
-
-#include "sal/macros.h"
-
-/* ================================================================= *
- *
  * custom allocator internals.
  *
  * ================================================================= */
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index b27414722eae..1b6cb2979808 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -55,7 +55,7 @@
 #include "docsh.hxx"
 #include "editutil.hxx"
 #include "cellvalue.hxx"
-#include "attrib.hxx"
+#include <attrib.hxx>
 #include "dpshttab.hxx"
 #include "tabvwsh.hxx"
 #include "fillinfo.hxx"
@@ -65,7 +65,6 @@
 #include <formula/errorcodes.hxx>
 #include "externalrefmgr.hxx"
 #include <stlpool.hxx>
-#include <attrib.hxx>
 
 #include <orcusfiltersimpl.hxx>
 #include "orcusfilters.hxx"
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index 4c77e7f7e493..26a6bec4cae3 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -62,7 +62,6 @@
 #include <com/sun/star/document/XDocumentProperties.hpp>
 #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
 #include <utility>
-#include <o3tl/make_unique.hxx>
 
 using ::editeng::SvxBorderLine;
 using namespace ::com::sun::star;
diff --git a/sc/source/filter/oox/revisionfragment.cxx b/sc/source/filter/oox/revisionfragment.cxx
index 6708b4e3f8b5..55acd53062f6 100644
--- a/sc/source/filter/oox/revisionfragment.cxx
+++ b/sc/source/filter/oox/revisionfragment.cxx
@@ -30,8 +30,6 @@
 #include <chgviset.hxx>
 #include <richstringcontext.hxx>
 
-#include <memory>
-
 #include <com/sun/star/util/DateTime.hpp>
 
 using namespace com::sun::star;
diff --git a/sc/source/filter/orcus/orcusfiltersimpl.cxx b/sc/source/filter/orcus/orcusfiltersimpl.cxx
index 6bac0e9d3576..61cf0b488891 100644
--- a/sc/source/filter/orcus/orcusfiltersimpl.cxx
+++ b/sc/source/filter/orcus/orcusfiltersimpl.cxx
@@ -29,7 +29,6 @@
 #include <orcus/orcus_import_ods.hpp>
 #include <orcus/global.hpp>
 #include <orcus/stream.hpp>
-#include <orcus/orcus_import_ods.hpp>
 #include <com/sun/star/task/XStatusIndicator.hpp>
 
 #ifdef _WIN32
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index 280271e9f48a..3e72945121b3 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -73,7 +73,6 @@
 #include "editattributemap.hxx"
 #include "documentimport.hxx"
 #include "pivotsource.hxx"
-#include "importcontext.hxx"
 #include <unonames.hxx>
 #include <numformat.hxx>
 
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 76ac2a1aa902..800692cd32ef 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -93,7 +93,6 @@
 #include <memory>
 #include <utility>
 #include <basic/basmgr.hxx>
-#include <memory>
 #include <set>
 #include <vector>
 
diff --git a/sc/source/ui/miscdlgs/autofmt.cxx b/sc/source/ui/miscdlgs/autofmt.cxx
index c6faad76523f..15637dd3a26d 100644
--- a/sc/source/ui/miscdlgs/autofmt.cxx
+++ b/sc/source/ui/miscdlgs/autofmt.cxx
@@ -44,7 +44,6 @@
 #include "global.hxx"
 #include "globstr.hrc"
 #include "autoform.hxx"
-#include "scres.hrc"
 #include "autofmt.hxx"
 #include "scresid.hxx"
 #include "document.hxx"
diff --git a/sc/source/ui/miscdlgs/scuiautofmt.cxx b/sc/source/ui/miscdlgs/scuiautofmt.cxx
index 333915638a9f..9ffc212a781b 100644
--- a/sc/source/ui/miscdlgs/scuiautofmt.cxx
+++ b/sc/source/ui/miscdlgs/scuiautofmt.cxx
@@ -43,7 +43,6 @@
 #include "globstr.hrc"
 #include "autoform.hxx"
 #include "strindlg.hxx"
-#include "scres.hrc"
 #include "scuiautofmt.hxx"
 #include "scresid.hxx"
 #include "document.hxx"
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 4e33afb9bda7..169ff3808d18 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -140,9 +140,7 @@
 #include <sfx2/lokhelper.hxx>
 
 #include <LibreOfficeKit/LibreOfficeKitEnums.h>
-#include <comphelper/lok.hxx>
 
-#include <memory>
 #include <vector>
 
 using namespace css;
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index e60dbbd08fcf..fb1f35d5c35d 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -66,7 +66,6 @@
 #include <formula/FormulaCompiler.hxx>
 #include <comphelper/lok.hxx>
 #include <LibreOfficeKit/LibreOfficeKitEnums.h>
-#include <sfx2/lokhelper.hxx>
 
 #include <com/sun/star/chart2/data/HighlightedRange.hpp>
 
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index 64a5cb68b362..f11b69af8afd 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -68,7 +68,6 @@
 #include "cliputil.hxx"
 #include "clipoptions.hxx"
 #include <gridwin.hxx>
-#include <memory>
 #include <com/sun/star/util/XCloneable.hpp>
 
 using namespace com::sun::star;
diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx
index 504cc1bc440a..12427938a20f 100644
--- a/sd/qa/unit/dialogs-test.cxx
+++ b/sd/qa/unit/dialogs-test.cxx
@@ -32,7 +32,6 @@
 
 #include <osl/process.h>
 #include <osl/thread.h>
-#include <osl/file.hxx>
 
 #include "sdabstdlg.hxx"
 #include <vcl/pngwrite.hxx>
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 0f0110a2e033..e5aa417447be 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -22,7 +22,6 @@
 #include <editeng/editids.hrc>
 #include <editeng/editobj.hxx>
 #include <editeng/editview.hxx>
-#include <editeng/editobj.hxx>
 #include <editeng/outliner.hxx>
 #include <editeng/fontitem.hxx>
 #include <editeng/fhgtitem.hxx>
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 32e74d1f01f5..333065e0229d 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -45,7 +45,6 @@
 #include <vcl/field.hxx>
 #include <vcl/lstbox.hxx>
 #include <vcl/layout.hxx>
-#include <vcl/field.hxx>
 #include <vcl/msgbox.hxx>
 #include <vcl/decoview.hxx>
 #include <vcl/combobox.hxx>
diff --git a/sd/source/ui/animations/CustomAnimationPane.hxx b/sd/source/ui/animations/CustomAnimationPane.hxx
index 214075c582ca..97164dd8bd4e 100644
--- a/sd/source/ui/animations/CustomAnimationPane.hxx
+++ b/sd/source/ui/animations/CustomAnimationPane.hxx
@@ -32,7 +32,6 @@
 #include "CategoryListBox.hxx"
 #include "motionpathtag.hxx"
 #include "misc/scopelock.hxx"
-#include "CustomAnimationPreset.hxx"
 
 #include <vector>
 
diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx
index 5226ed4b4b48..9deef401d79e 100644
--- a/sd/source/ui/sidebar/MasterPageContainer.cxx
+++ b/sd/source/ui/sidebar/MasterPageContainer.cxx
@@ -55,8 +55,6 @@
 #include <osl/getglobalmutex.hxx>
 #include <xmloff/autolayout.hxx>
 
-#include <memory>
-
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
 
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index a4e31e24e1a1..a1684a4ee4c1 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -30,13 +30,11 @@
 #include "drawdoc.hxx"
 #include "filedlg.hxx"
 #include "strings.hrc"
-#include "drawdoc.hxx"
 #include "DocumentHelper.hxx"
 #include "MasterPagesSelector.hxx"
 #include "DrawViewShell.hxx"
 #include "DrawController.hxx"
 #include <com/sun/star/beans/XPropertySet.hpp>
-#include "sdresid.hxx"
 #include <svtools/controldims.hrc>
 #include <svx/colorbox.hxx>
 #include <svx/gallery.hxx>
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx
index 971b0a6d79fc..e6e7596a01aa 100644
--- a/sfx2/source/appl/appinit.cxx
+++ b/sfx2/source/appl/appinit.cxx
@@ -36,7 +36,6 @@
 #include <vcl/msgbox.hxx>
 #include <svtools/ehdl.hxx>
 #include <comphelper/processfactory.hxx>
-#include <unotools/configmgr.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <osl/security.hxx>
 #include <unotools/pathoptions.hxx>
diff --git a/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx b/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx
index f3fd1c7e12eb..936e469a77e3 100644
--- a/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx
+++ b/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx
@@ -20,7 +20,6 @@
 #include <svl/intitem.hxx>
 #include <vcl/lstbox.hxx>
 #include <vcl/field.hxx>
-#include <vcl/slider.hxx>
 #include <com/sun/star/ui/XUIElement.hpp>
 #include <sfx2/request.hxx>
 #include <svx/dlgctrl.hxx>
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx
index 42c9432c96a7..61d2576e4e53 100644
--- a/svx/source/svdraw/svdetc.cxx
+++ b/svx/source/svdraw/svdetc.cxx
@@ -49,7 +49,6 @@
 #include <unotools/localedatawrapper.hxx>
 #include <i18nlangtag/lang.h>
 #include <unotools/syslocale.hxx>
-#include <unotools/configmgr.hxx>
 #include <svx/xflbckit.hxx>
 #include <svx/extrusionbar.hxx>
 #include <svx/fontworkbar.hxx>
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index b450544e7ee4..37d66e748839 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -25,9 +25,6 @@
 #include <svtools/grfmgr.hxx>
 #include <svx/svdmodel.hxx>
 
-#ifdef DBG_UTIL
-#include <svdibrow.hxx>
-#endif
 #include <svx/svdpage.hxx>
 #include <svx/svdpagv.hxx>
 #include <svl/hint.hxx>
@@ -39,7 +36,7 @@
 #include <svx/svdglue.hxx>
 #include <svx/svdobj.hxx>
 #include <svx/svdograf.hxx>
-#include "svdibrow.hxx"
+#include <svdibrow.hxx>
 #include "svx/svditer.hxx"
 #include <svx/svdouno.hxx>
 #include <svx/sdr/overlay/overlayobjectlist.hxx>
diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx
index 4a95ac409512..6d25e85dcc74 100644
--- a/sw/inc/docary.hxx
+++ b/sw/inc/docary.hxx
@@ -41,7 +41,6 @@
 #include <fldbas.hxx>
 #include <tox.hxx>
 #include <numrule.hxx>
-#include <frmfmt.hxx>
 
 class SwRangeRedline;
 class SwExtraRedline;
diff --git a/sw/source/core/doc/DocumentDrawModelManager.cxx b/sw/source/core/doc/DocumentDrawModelManager.cxx
index ec8fd87235cc..873d8c9d1d98 100644
--- a/sw/source/core/doc/DocumentDrawModelManager.cxx
+++ b/sw/source/core/doc/DocumentDrawModelManager.cxx
@@ -43,7 +43,6 @@
 #include <svx/svdpage.hxx>
 #include <svx/svdpagv.hxx>
 #include <svx/svdotext.hxx>
-#include <svl/hint.hxx>
 #include <svl/srchitem.hxx>
 #include <tools/link.hxx>
 #include <unotools/configmgr.hxx>
diff --git a/sw/source/uibase/dbui/mmconfigitem.cxx b/sw/source/uibase/dbui/mmconfigitem.cxx
index 1e2648bdbb13..7ea77caf924f 100644
--- a/sw/source/uibase/dbui/mmconfigitem.cxx
+++ b/sw/source/uibase/dbui/mmconfigitem.cxx
@@ -43,7 +43,6 @@
 #include <unodispatch.hxx>
 #include <wrtsh.hxx>
 #include <dbui.hrc>
-#include <vector>
 #include <unomid.h>
 
 using namespace utl;
diff --git a/sw/source/uibase/sidebar/PageColumnControl.hxx b/sw/source/uibase/sidebar/PageColumnControl.hxx
index e7a1285874cd..544aeb9fb47b 100644
--- a/sw/source/uibase/sidebar/PageColumnControl.hxx
+++ b/sw/source/uibase/sidebar/PageColumnControl.hxx
@@ -24,7 +24,6 @@
 #include <svx/pageitem.hxx>
 #include <editeng/sizeitem.hxx>
 #include <svl/intitem.hxx>
-#include <editeng/sizeitem.hxx>
 
 namespace sw { namespace sidebar {
 
diff --git a/sw/source/uibase/sidebar/PageFormatPanel.hxx b/sw/source/uibase/sidebar/PageFormatPanel.hxx
index 1bade1ba2ad7..5c5c174b848a 100644
--- a/sw/source/uibase/sidebar/PageFormatPanel.hxx
+++ b/sw/source/uibase/sidebar/PageFormatPanel.hxx
@@ -41,7 +41,6 @@
 #include <svl/intitem.hxx>
 #include <tools/fldunit.hxx>
 #include <svl/poolitem.hxx>
-#include <svx/rulritem.hxx>
 #include <svx/relfld.hxx>
 
 #include <vector>
diff --git a/sw/source/uibase/sidebar/PageStylesPanel.hxx b/sw/source/uibase/sidebar/PageStylesPanel.hxx
index c4179ca89274..9429c6148a56 100644
--- a/sw/source/uibase/sidebar/PageStylesPanel.hxx
+++ b/sw/source/uibase/sidebar/PageStylesPanel.hxx
@@ -40,7 +40,6 @@
 #include <svl/intitem.hxx>
 #include <tools/fldunit.hxx>
 #include <svl/poolitem.hxx>
-#include <svx/rulritem.hxx>
 #include <svx/dlgctrl.hxx>
 #include <svx/xfillit.hxx>
 #include <svx/xfillit0.hxx>
diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx
index c5ed2342fd2d..1e85f5fca224 100644
--- a/sw/source/uibase/uiview/viewtab.cxx
+++ b/sw/source/uibase/uiview/viewtab.cxx
@@ -32,8 +32,6 @@
 #include <svl/eitem.hxx>
 #include <svl/whiter.hxx>
 #include <svx/ruler.hxx>
-#include <svx/xfillit.hxx>
-#include <svx/xfillit0.hxx>
 #include <editeng/protitem.hxx>
 #include <svl/rectitem.hxx>
 #include <sfx2/bindings.hxx>
diff --git a/ucb/source/ucp/webdav/SerfInputStream.cxx b/ucb/source/ucp/webdav/SerfInputStream.cxx
index 507626b4945e..5aa9f262eed3 100644
--- a/ucb/source/ucp/webdav/SerfInputStream.cxx
+++ b/ucb/source/ucp/webdav/SerfInputStream.cxx
@@ -25,8 +25,6 @@
 
 #include <string.h>
 
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
-
 using namespace cppu;
 using namespace com::sun::star::io;
 using namespace com::sun::star::uno;
diff --git a/uui/source/iahndl-locking.cxx b/uui/source/iahndl-locking.cxx
index f3793819471a..dfa051e8c0b1 100644
--- a/uui/source/iahndl-locking.cxx
+++ b/uui/source/iahndl-locking.cxx
@@ -43,8 +43,6 @@
 
 #include "iahndl.hxx"
 
-#include <memory>
-
 #define UUI_DOC_LOAD_LOCK       0
 #define UUI_DOC_OWN_LOAD_LOCK   1
 #define UUI_DOC_SAVE_LOCK       2
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index fdbe9eccbc67..f8a1efd0af3e 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -85,8 +85,6 @@
 #include "iahndl.hxx"
 #include "nameclashdlg.hxx"
 
-#include <memory>
-
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::uno::Reference;
diff --git a/vcl/backendtest/VisualBackendTest.cxx b/vcl/backendtest/VisualBackendTest.cxx
index 1d9af127eb24..4114f67fdce8 100644
--- a/vcl/backendtest/VisualBackendTest.cxx
+++ b/vcl/backendtest/VisualBackendTest.cxx
@@ -42,8 +42,6 @@
 #include <basegfx/numeric/ftools.hxx>
 #include <basegfx/matrix/b2dhommatrix.hxx>
 
-#include <rtl/math.hxx>
-
 #include <chrono>
 #include <iostream>
 
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index d13ad3e9c79b..a3de686aa2a7 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -21,7 +21,6 @@
 #include <tools/time.hxx>
 #include <vcl/scheduler.hxx>
 #include <saltimer.hxx>
-#include <svdata.hxx>
 #include <salinst.hxx>
 
 namespace {
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index 65742be51afa..dddb23bfd1b3 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -41,7 +41,6 @@
 #include <scrwnd.hxx>
 #include <helpwin.hxx>
 #include <vcl/dialog.hxx>
-#include <vcl/virdev.hxx>
 #include "salinst.hxx"
 #include "salframe.hxx"
 #include "salgdi.hxx"
@@ -50,8 +49,6 @@
 #include "salimestatus.hxx"
 #include "salsys.hxx"
 #include "svids.hrc"
-#include "helpwin.hxx"
-#include "scrwnd.hxx"
 
 #include "com/sun/star/accessibility/MSAAService.hpp"
 
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index e19d90a28196..491c6adb4c51 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -110,7 +110,6 @@
 #endif
 
 #include <config_eot.h>
-#include <config_features.h>
 
 #if ENABLE_EOT
 #include <libeot/libeot.h>
diff --git a/vcl/unx/generic/app/salinst.cxx b/vcl/unx/generic/app/salinst.cxx
index 88b4b2b7677c..1bee05ab01ac 100644
--- a/vcl/unx/generic/app/salinst.cxx
+++ b/vcl/unx/generic/app/salinst.cxx
@@ -32,7 +32,6 @@
 #include <unx/genprn.h>
 #include <unx/sm.hxx>
 #include <unx/i18n_im.hxx>
-#include <unx/saldisp.hxx>
 #include <unx/helper.hxx>
 
 #include <vcl/inputtypes.hxx>
diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx
index 012876db03a3..177364142a82 100644
--- a/vcl/unx/generic/fontmanager/fontmanager.cxx
+++ b/vcl/unx/generic/fontmanager/fontmanager.cxx
@@ -28,7 +28,6 @@
 #include "impfontcharmap.hxx"
 #include "svdata.hxx"
 #include "unx/geninst.h"
-#include "unx/fontmanager.hxx"
 #include <vcl/strhelper.hxx>
 #include <vcl/ppdparser.hxx>
 #include <vcl/embeddedfontshelper.hxx>
diff --git a/vcl/workben/mtfdemo.cxx b/vcl/workben/mtfdemo.cxx
index 6cc3b440913b..9e0ead81a10e 100644
--- a/vcl/workben/mtfdemo.cxx
+++ b/vcl/workben/mtfdemo.cxx
@@ -27,8 +27,6 @@
 #include <vcl/wrkwin.hxx>
 #include <vcl/virdev.hxx>
 
-#include <tools/stream.hxx>
-
 #include <cstdlib>
 
 using namespace com::sun::star;
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 12157a59acbf..f86d3280d454 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -58,7 +58,6 @@
 #include "opengl/framebuffer.hxx"
 #include <vcl/opengl/OpenGLHelper.hxx>
 #endif
-#include <rtl/math.hxx>
 
 #define FIXME_SELF_INTERSECTING_WORKING 0
 #define FIXME_BOUNCE_BUTTON 0
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
index d35c8f82d0a8..721f9f32bbaa 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
@@ -30,7 +30,6 @@
 #ifdef _MSC_VER
 #pragma warning(pop)
 #endif
-#include <sal/config.h>
 #include <sal/macros.h>
 #include <osl/thread.h>
 #include "securityenvironment_mscryptimpl.hxx"


More information about the Libreoffice-commits mailing list