[Libreoffice] [PATCH 1/5] Removed unnecessary tools includes.

Marcel Metz mmetz at adrian-broher.net
Tue Jan 3 06:12:24 PST 2012


Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.


regards Marcel Metz

---
 basic/source/classes/sb.cxx                        |    1 -
 chart2/source/view/axes/VAxisProperties.cxx        |    1 -
 chart2/source/view/diagram/VDiagram.cxx            |    1 -
 chart2/source/view/main/ShapeFactory.cxx           |    1 -
 connectivity/source/drivers/calc/CTable.cxx        |    1 -
 connectivity/source/drivers/flat/ETable.cxx        |    1 -
 connectivity/workben/testmoz/main.cxx              |    1 -
 connectivity/workben/testmoz/mozthread.cxx         |    1 -
 cui/source/dialogs/hldocntp.cxx                    |    1 -
 cui/source/options/optpath.cxx                     |    1 -
 dbaccess/source/ext/adabas/AdabasNewDb.cxx         |    1 -
 dbaccess/source/ui/browser/brwctrlr.cxx            |    1 -
 desktop/source/app/appfirststart.cxx               |    1 -
 desktop/source/app/appinit.cxx                     |    1 -
 desktop/source/migration/migration.cxx             |    1 -
 editeng/source/items/textitem.cxx                  |    1 -
 editeng/source/rtf/svxrtf.cxx                      |    1 -
 extensions/source/nsplugin/source/so_instance.cxx  |    1 -
 extensions/source/scanner/sanedlg.hxx              |    1 -
 filter/source/graphicfilter/eps/eps.cxx            |    1 -
 forms/source/component/ComboBox.hxx                |    2 --
 forms/source/component/EditBase.hxx                |    1 -
 forms/source/richtext/richtextvclcontrol.cxx       |    3 ---
 framework/inc/jobs/jobdata.hxx                     |    1 -
 framework/inc/uiconfiguration/imagemanager.hxx     |    3 ---
 .../inc/uiconfiguration/moduleimagemanager.hxx     |    3 ---
 framework/source/fwe/classes/addonsoptions.cxx     |    1 -
 framework/source/fwe/classes/bmkmenu.cxx           |    1 -
 framework/source/services/sessionlistener.cxx      |    1 -
 .../source/uiconfiguration/imagemanagerimpl.hxx    |    3 ---
 idl/source/cmptools/lex.cxx                        |    1 -
 l10ntools/source/export2.cxx                       |    1 -
 padmin/source/adddlg.cxx                           |    1 +
 padmin/source/cmddlg.cxx                           |    1 +
 padmin/source/cmddlg.hxx                           |    1 -
 padmin/source/newppdlg.cxx                         |    1 +
 padmin/source/padialog.hxx                         |    1 -
 reportdesign/source/core/api/FixedText.cxx         |    1 +
 reportdesign/source/core/api/FormatCondition.cxx   |    1 +
 reportdesign/source/core/api/FormattedField.cxx    |    1 +
 reportdesign/source/core/api/ImageControl.cxx      |    1 +
 .../source/core/inc/ReportControlModel.hxx         |    1 -
 sc/source/core/inc/core_pch.hxx                    |    1 -
 sc/source/filter/inc/biff.hxx                      |    1 -
 sc/source/filter/inc/excrecds.hxx                  |    1 -
 sc/source/filter/inc/filt_pch.hxx                  |    1 -
 sc/source/filter/inc/qpro.hxx                      |    1 -
 sc/source/filter/inc/qprostyle.hxx                 |    1 -
 sc/source/filter/qpro/qprostyle.cxx                |    1 -
 .../ui/Accessibility/AccessibleContextBase.cxx     |    1 -
 sc/source/ui/inc/ui_pch.hxx                        |    1 -
 sd/source/filter/eppt/eppt.cxx                     |    1 -
 sd/source/filter/ppt/propread.cxx                  |    1 -
 sd/source/filter/ppt/propread.hxx                  |    1 -
 sd/source/ui/annotations/annotationwindow.hxx      |    3 ---
 sd/source/ui/dlg/morphdlg.cxx                      |    1 -
 sd/source/ui/dlg/vectdlg.cxx                       |    1 -
 .../controls/RecentMasterPagesSelector.cxx         |    1 -
 sfx2/source/appl/app.cxx                           |    1 -
 sfx2/source/appl/appcfg.cxx                        |    1 -
 sfx2/source/appl/appdata.cxx                       |    1 -
 sfx2/source/appl/appinit.cxx                       |    1 -
 sfx2/source/appl/appmain.cxx                       |    1 -
 sfx2/source/appl/appmisc.cxx                       |    1 -
 sfx2/source/appl/appserv.cxx                       |    1 -
 sfx2/source/appl/appuno.cxx                        |    1 -
 sfx2/source/appl/newhelp.cxx                       |    1 -
 sfx2/source/bastyp/fltfnc.cxx                      |    1 -
 sfx2/source/doc/docfac.cxx                         |    1 -
 sfx2/source/doc/docfile.cxx                        |    1 -
 sfx2/source/doc/objcont.cxx                        |    1 -
 sfx2/source/doc/objstor.cxx                        |    1 -
 sfx2/source/inc/helper.hxx                         |    1 -
 starmath/source/math_pch.cxx                       |    2 --
 svl/source/numbers/numuno.cxx                      |    1 -
 svtools/source/config/colorcfg.cxx                 |    1 -
 svtools/source/contnr/fileview.cxx                 |    1 -
 svtools/source/filter/filter2.cxx                  |    1 -
 svtools/source/filter/wmf/wmfwr.cxx                |    1 +
 svtools/source/filter/wmf/wmfwr.hxx                |    1 -
 svtools/source/misc/wallitem.cxx                   |    1 -
 svtools/source/svhtml/htmlout.cxx                  |    1 -
 svx/inc/svx/gridctrl.hxx                           |    1 -
 svx/inc/svx/svdogrp.hxx                            |    1 -
 svx/source/form/fmshimp.cxx                        |    1 -
 svx/source/inc/charmapacc.hxx                      |    1 -
 svx/source/svdraw/svdedxv.cxx                      |    1 -
 svx/source/svdraw/svdetc.cxx                       |    2 --
 svx/source/svdraw/svdhlpln.cxx                     |    1 -
 svx/source/svdraw/svdmodel.cxx                     |    1 -
 svx/source/svdraw/svdocirc.cxx                     |    1 -
 sw/inc/SidebarWin.hxx                              |    1 -
 sw/source/core/bastyp/calc.cxx                     |    1 -
 sw/source/filter/inc/fltini.hxx                    |    1 -
 sw/source/filter/ww8/ww8scan.hxx                   |    1 -
 sw/source/ui/misc/swmodalredlineacceptdlg.cxx      |    1 -
 sw/source/ui/uno/unotxvw.cxx                       |    1 -
 tools/source/fsys/unx.hxx                          |    1 -
 tools/source/fsys/wntmsc.cxx                       |    1 -
 tools/source/inet/inetmime.cxx                     |    1 -
 uui/source/iahndl-ssl.cxx                          |    1 -
 vcl/generic/fontmanager/fontmanager.cxx            |    1 -
 vcl/source/control/field.cxx                       |    5 -----
 writerfilter/source/dmapper/ConversionHelper.cxx   |    2 +-
 xmloff/inc/xmloff/shapeimport.hxx                  |    1 -
 xmloff/source/chart/SchXMLAxisContext.cxx          |    1 +
 xmloff/source/draw/ximp3dscene.hxx                 |    1 -
 xmloff/source/forms/propertyimport.cxx             |    1 -
 xmloff/source/style/TransGradientStyle.cxx         |    1 +
 xmloff/source/style/xmlnumfi.cxx                   |    1 +
 110 files changed, 12 insertions(+), 116 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Removed-unnecessary-tools-includes.patch
Type: text/x-patch
Size: 45462 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120103/050aee1e/attachment-0001.bin>


More information about the LibreOffice mailing list