chart2/IwyuFilter_chart2.yaml | 18 ------------------ connectivity/IwyuFilter_connectivity.yaml | 6 ------ desktop/IwyuFilter_desktop.yaml | 3 --- drawinglayer/IwyuFilter_drawinglayer.yaml | 3 --- editeng/IwyuFilter_editeng.yaml | 6 ------ extensions/IwyuFilter_extensions.yaml | 3 --- filter/IwyuFilter_filter.yaml | 3 --- forms/IwyuFilter_forms.yaml | 3 --- i18npool/IwyuFilter_i18npool.yaml | 3 --- include/IwyuFilter_include.yaml | 3 --- oox/IwyuFilter_oox.yaml | 6 ------ reportdesign/IwyuFilter_reportdesign.yaml | 3 --- sc/IwyuFilter_sc.yaml | 8 -------- scaddins/IwyuFilter_scaddins.yaml | 9 --------- sd/IwyuFilter_sd.yaml | 5 ----- starmath/IwyuFilter_starmath.yaml | 3 --- svx/IwyuFilter_svx.yaml | 6 ------ sw/IwyuFilter_sw.yaml | 11 ----------- toolkit/IwyuFilter_toolkit.yaml | 3 --- unotools/IwyuFilter_unotools.yaml | 3 --- 20 files changed, 108 deletions(-)
New commits: commit 752083b08c7bf706caf7d19d67b32c72e2e2b43e Author: Gabor Kelemen <gabor.kele...@collabora.com> AuthorDate: Mon Sep 15 22:05:24 2025 +0200 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Wed Sep 17 19:23:35 2025 +0200 IWYU: drop some exceptions related to rtl::math and std:: at least recent 0.24 no longer warns about these Change-Id: I1f7c4069df7d47bcd720298c93d71fd6c7bbed9b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191002 Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> Tested-by: Jenkins diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml index c7207275d71f..dbd273e1fb17 100644 --- a/chart2/IwyuFilter_chart2.yaml +++ b/chart2/IwyuFilter_chart2.yaml @@ -327,8 +327,6 @@ excludelist: # Actually used - com/sun/star/awt/Size.hpp - com/sun/star/chart2/RelativeSize.hpp - # Needed for rtl::math::round - - rtl/math.hxx chart2/source/tools/RelativeSizeHelper.cxx: # Actually used - com/sun/star/awt/Size.hpp @@ -358,9 +356,6 @@ excludelist: - com/sun/star/chart2/XScaling.hpp - com/sun/star/lang/XServiceInfo.hpp - com/sun/star/lang/XServiceName.hpp - chart2/source/view/axes/VAxisProperties.cxx: - # Needed for rtl::math::round - - rtl/math.hxx chart2/source/view/axes/VPolarAngleAxis.cxx: # Needed for implicit dtor - Axis.hxx @@ -463,9 +458,6 @@ excludelist: chart2/source/controller/accessibility/AccessibleChartView.cxx: # Actually used - com/sun/star/view/XSelectionSupplier.hpp - chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx: - # Needed for rtl::math::round - - rtl/math.hxx chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx: # Needed for complex variable type - com/sun/star/util/XRefreshable.hpp @@ -505,18 +497,12 @@ excludelist: # Needed for implicit dtor - ChartTypeTemplate.hxx - LabeledDataSequence.hxx - chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx: - # Needed for rtl::math::round - - rtl/math.hxx chart2/source/controller/itemsetwrapper/ItemConverter.cxx: # Actually used - com/sun/star/beans/XPropertySet.hpp chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx: # Actually used - com/sun/star/beans/XPropertySet.hpp - chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx: - # Needed for rtl::math::round - - rtl/math.hxx chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx: # Needed for implicit dtor - RegressionCurveModel.hxx @@ -533,11 +519,7 @@ excludelist: chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx: # Actually used - com/sun/star/beans/XPropertySet.hpp - # Needed for rtl::math::round - - rtl/math.hxx chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx: - # Needed for rtl::math::round - - rtl/math.hxx # Needed for implicit dtor - ChartType.hxx - Diagram.hxx diff --git a/connectivity/IwyuFilter_connectivity.yaml b/connectivity/IwyuFilter_connectivity.yaml index 7e59ebe06fe5..1b5d4c6872f5 100644 --- a/connectivity/IwyuFilter_connectivity.yaml +++ b/connectivity/IwyuFilter_connectivity.yaml @@ -12,9 +12,6 @@ excludelist: # Actually used - com/sun/star/sdbc/XRowSet.hpp - com/sun/star/sdbc/XConnection.hpp - connectivity/source/commontools/dbconversion.cxx: - # Needed for rtl::math::round - - rtl/math.hxx connectivity/source/commontools/dbexception.cxx: # Actually used - com/sun/star/sdb/SQLErrorEvent.hpp @@ -51,9 +48,6 @@ excludelist: connectivity/source/drivers/file/FCatalog.cxx: # Actually used - com/sun/star/sdbc/XRow.hpp - connectivity/source/drivers/file/FNumericFunctions.cxx: - # Needed for rtl::math::round - - rtl/math.hxx connectivity/source/drivers/hsqldb/HStorageAccess.cxx: # Needed for HSQLDB_DBG - accesslog.hxx diff --git a/desktop/IwyuFilter_desktop.yaml b/desktop/IwyuFilter_desktop.yaml index 4cae45405f73..63740e64360d 100644 --- a/desktop/IwyuFilter_desktop.yaml +++ b/desktop/IwyuFilter_desktop.yaml @@ -88,9 +88,6 @@ excludelist: desktop/source/deployment/registry/help/dp_help.cxx: # Actually used - com/sun/star/util/XMacroExpander.hpp - desktop/source/splash/splash.cxx: - # Needed for rtl::math::round - - rtl/math.hxx desktop/source/lib/lokandroid.cxx: # Needed for osl_getThreadTextEncoding - osl/thread.hxx diff --git a/drawinglayer/IwyuFilter_drawinglayer.yaml b/drawinglayer/IwyuFilter_drawinglayer.yaml index c3f3a169cb7b..7a4e199739c9 100644 --- a/drawinglayer/IwyuFilter_drawinglayer.yaml +++ b/drawinglayer/IwyuFilter_drawinglayer.yaml @@ -16,6 +16,3 @@ excludelist: drawinglayer/source/processor2d/vclhelperbufferdevice.cxx: # Needed for direct member access - basegfx/matrix/b2dhommatrix.hxx - drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx: - # Needed for rtl::math::sin - - rtl/math.hxx diff --git a/editeng/IwyuFilter_editeng.yaml b/editeng/IwyuFilter_editeng.yaml index a75d143baf15..50326374a0ab 100644 --- a/editeng/IwyuFilter_editeng.yaml +++ b/editeng/IwyuFilter_editeng.yaml @@ -23,12 +23,6 @@ excludelist: editeng/source/items/CustomPropertyField.cxx: # Actually used - com/sun/star/document/XDocumentProperties.hpp - editeng/source/items/frmitems.cxx: - # Needed for rtl::math::round - - rtl/math.hxx - editeng/source/items/textitem.cxx: - # Needed for rtl::math::round - - rtl/math.hxx editeng/source/misc/SvXMLAutoCorrectExport.cxx: # Actually used - com/sun/star/xml/sax/XDocumentHandler.hpp diff --git a/extensions/IwyuFilter_extensions.yaml b/extensions/IwyuFilter_extensions.yaml index aa7ba3071c06..9a81eecf5fff 100644 --- a/extensions/IwyuFilter_extensions.yaml +++ b/extensions/IwyuFilter_extensions.yaml @@ -78,6 +78,3 @@ excludelist: extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx: # Actually used - com/sun/star/inspection/XObjectInspectorUI.hpp - extensions/source/scanner/grid.cxx: - # Needed for rtl::math::expm1 - - rtl/math.hxx diff --git a/filter/IwyuFilter_filter.yaml b/filter/IwyuFilter_filter.yaml index be98d7aedcae..2a3726efef8b 100644 --- a/filter/IwyuFilter_filter.yaml +++ b/filter/IwyuFilter_filter.yaml @@ -4,9 +4,6 @@ excludelist: filter/source/msfilter/mscodec.cxx: # Actually used - com/sun/star/beans/NamedValue.hpp - filter/source/msfilter/msdffimp.cxx: - # Needed for rtl::math::round - - rtl/math.hxx filter/source/msfilter/mstoolbar.cxx: # Needed for template - com/sun/star/frame/XModel.hpp diff --git a/forms/IwyuFilter_forms.yaml b/forms/IwyuFilter_forms.yaml index cdc4d2cf066d..f14c4c6d7377 100644 --- a/forms/IwyuFilter_forms.yaml +++ b/forms/IwyuFilter_forms.yaml @@ -30,9 +30,6 @@ excludelist: forms/source/component/imgprod.cxx: # Actually used - com/sun/star/io/XInputStream.hpp - forms/source/component/scrollbar.cxx: - # Needed for rtl::math::round - - rtl/math.hxx forms/source/richtext/parametrizedattributedispatcher.cxx: # Actually used - com/sun/star/beans/PropertyValue.hpp diff --git a/i18npool/IwyuFilter_i18npool.yaml b/i18npool/IwyuFilter_i18npool.yaml index ca60fcf746a6..66874f511493 100644 --- a/i18npool/IwyuFilter_i18npool.yaml +++ b/i18npool/IwyuFilter_i18npool.yaml @@ -94,9 +94,6 @@ excludelist: - config_folders.h - osl/file.h - rtl/bootstrap.hxx - i18npool/source/calendar/calendar_gregorian.cxx: - # Needed for rtl::math::round - - rtl/math.hxx i18npool/source/collator/collator_unicode.cxx: # Config options are used in #ifdef - config_locales.h diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index 39e71cdaca62..d1c4085345d7 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -190,9 +190,6 @@ excludelist: include/comphelper/servicehelper.hxx: # Needed for macro - rtl/instance.hxx - include/comphelper/stl_types.hxx: - # Needed for std::equal - - algorithm include/comphelper/unique_disposing_ptr.hxx: # base class has to be a complete type - com/sun/star/lang/XServiceInfo.hpp diff --git a/oox/IwyuFilter_oox.yaml b/oox/IwyuFilter_oox.yaml index 4cacc799f78c..575ab06321ba 100644 --- a/oox/IwyuFilter_oox.yaml +++ b/oox/IwyuFilter_oox.yaml @@ -141,9 +141,6 @@ excludelist: oox/source/ole/vbacontrol.cxx: # Actually used - com/sun/star/uno/XComponentContext.hpp - oox/source/ppt/comments.cxx: - # Needed for rtl::math::round - - rtl/math.hxx oox/source/ppt/pptshape.cxx: # Needed for template - com/sun/star/frame/XModel.hpp @@ -160,9 +157,6 @@ excludelist: oox/source/shape/ShapeFilterBase.cxx: # Needed for template - com/sun/star/frame/XModel.hpp - oox/qa/unit/shape.cxx: - # Needed for rtl::math::round - - rtl/math.hxx oox/source/shape/ShapeContextHandler.cxx: # Actually used - com/sun/star/xml/dom/XDocument.hpp diff --git a/reportdesign/IwyuFilter_reportdesign.yaml b/reportdesign/IwyuFilter_reportdesign.yaml index 49d95b6f0143..da36194924ff 100644 --- a/reportdesign/IwyuFilter_reportdesign.yaml +++ b/reportdesign/IwyuFilter_reportdesign.yaml @@ -15,9 +15,6 @@ excludelist: reportdesign/source/filter/xml/dbloader2.cxx: # Needed for template parameter - com/sun/star/embed/XStorage.hpp - reportdesign/source/filter/xml/xmlControlProperty.cxx: - # Needed for rtl::math::round - - rtl/math.hxx reportdesign/source/ui/inspection/metadata.cxx: # Actually used - com/sun/star/inspection/XPropertyHandler.hpp diff --git a/sc/IwyuFilter_sc.yaml b/sc/IwyuFilter_sc.yaml index c4ae1f11ef35..a7f7c1d949d1 100644 --- a/sc/IwyuFilter_sc.yaml +++ b/sc/IwyuFilter_sc.yaml @@ -797,8 +797,6 @@ excludelist: sc/source/filter/lotus/op.cxx: # Needed to avoid loplugin:unreffun error - op.h - # Needed for rtl::math::round - - rtl/math.hxx sc/source/filter/html/htmlpars.cxx: # Needed for template - com/sun/star/frame/XModel.hpp @@ -1030,9 +1028,6 @@ excludelist: sc/source/ui/miscdlgs/solveroptions.cxx: # Needed for template - com/sun/star/sheet/XSolver.hpp - sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx: - # Needed for rtl::math::round - - rtl/math.hxx sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx: # Needed for implicit dtor - editeng/editobj.hxx @@ -1072,9 +1067,6 @@ excludelist: sc/source/ui/vba/vbahyperlink.cxx: # Needed for template - com/sun/star/frame/XModel.hpp - sc/source/ui/vba/vbaformat.cxx: - # Needed for rtl::math::round - - rtl/math.hxx sc/source/ui/vba/vbainterior.cxx: # Actually used - com/sun/star/beans/XPropertySet.hpp diff --git a/scaddins/IwyuFilter_scaddins.yaml b/scaddins/IwyuFilter_scaddins.yaml index 963ffe7d007c..41fd49986f3d 100644 --- a/scaddins/IwyuFilter_scaddins.yaml +++ b/scaddins/IwyuFilter_scaddins.yaml @@ -27,12 +27,3 @@ excludelist: - com/sun/star/sheet/addin/XPricingFunctions.hpp - com/sun/star/sheet/XAddIn.hpp - com/sun/star/sheet/XCompatibilityNames.hpp - scaddins/source/pricing/black_scholes.cxx: - # Needed for rtl::math::erfc - - rtl/math.hxx - scaddins/source/analysis/bessel.cxx: - # Needed for rtl::math::sin / cos - - rtl/math.hxx - scaddins/source/pricing/pricing.cxx: - # Needed for std::isfinite - - cmath diff --git a/sd/IwyuFilter_sd.yaml b/sd/IwyuFilter_sd.yaml index 6b6a62656593..21b76f138c28 100644 --- a/sd/IwyuFilter_sd.yaml +++ b/sd/IwyuFilter_sd.yaml @@ -243,9 +243,6 @@ excludelist: sd/source/ui/sidebar/PanelFactory.hxx: # base class has to be a complete type - com/sun/star/ui/XUIElementFactory.hpp - sd/source/ui/sidebar/PageMarginUtils.hxx: - # Needed for std::abs - - cmath sd/source/ui/slideshow/slideshowimpl.hxx: # base class has to be a complete type - com/sun/star/presentation/XShapeEventListener.hpp @@ -444,8 +441,6 @@ excludelist: sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx: # Needed for instantiation of function template specialization - Window.hxx - # Needed for rtl::math::round - - rtl/math.hxx sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx: # Needed for OSL_DEBUG_LEVEL >=2 - sal/log.hxx diff --git a/starmath/IwyuFilter_starmath.yaml b/starmath/IwyuFilter_starmath.yaml index 3da2213e83fa..da46a779665a 100644 --- a/starmath/IwyuFilter_starmath.yaml +++ b/starmath/IwyuFilter_starmath.yaml @@ -46,6 +46,3 @@ excludelist: - register.hxx # Needed for template - com/sun/star/frame/XModel.hpp - starmath/source/mathml/mathmlexport.cxx: - # Needed for rtl::math::round - - rtl/math.hxx diff --git a/svx/IwyuFilter_svx.yaml b/svx/IwyuFilter_svx.yaml index 014897315e56..64e0761dfaf9 100644 --- a/svx/IwyuFilter_svx.yaml +++ b/svx/IwyuFilter_svx.yaml @@ -31,9 +31,6 @@ excludelist: svx/source/dialog/ClassificationCommon.cxx: # Actually used - com/sun/star/beans/XPropertyContainer.hpp - svx/source/dialog/svxruler.cxx: - # Needed for rtl::math::round - - rtl/math.hxx svx/source/form/fmmodel.cxx: # Actually used - com/sun/star/form/XForms.hpp @@ -138,9 +135,6 @@ excludelist: svx/source/table/tablecolumns.cxx: # Complete type is needed for template class - tablecolumn.hxx - svx/source/tbxctrls/tbunocontroller.cxx: - # Needed for rtl::math::round - - rtl/math.hxx svx/source/unodraw/recoveryui.cxx: # Needed for LIBO_ETC_FOLDER on WIN32 - config_folders.h diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml index 6cb5a57ac3f9..b1f4c0eb27bb 100644 --- a/sw/IwyuFilter_sw.yaml +++ b/sw/IwyuFilter_sw.yaml @@ -497,9 +497,6 @@ excludelist: sw/source/core/draw/drawdoc.cxx: # Needed for template - com/sun/star/frame/XModel.hpp - sw/source/uibase/sidebar/PageMarginUtils.hxx: - # Needed for std::abs - - cmath sw/source/core/crsr/paminit.cxx: # Needed for linker visibility of extern functions - cshtyp.hxx @@ -781,9 +778,6 @@ excludelist: # Needed for defines in swslots.hxx - cmdid.h - globals.hrc - sw/source/ui/dialog/wordcountdialog.cxx: - # Needed for rtl::math::round - - rtl/math.hxx sw/source/ui/fldui/fldedt.cxx: # Needed for template - com/sun/star/frame/XModel.hpp @@ -869,17 +863,12 @@ excludelist: # Actually used - com/sun/star/table/BorderLine2.hpp - com/sun/star/lang/Locale.hpp - sw/source/writerfilter/dmapper/DomainMapperTableManager.cxx: - # Needed for rtl::math::round - - rtl/math.hxx sw/source/writerfilter/dmapper/GraphicImport.cxx: # Actually used - com/sun/star/drawing/XShape.hpp - com/sun/star/graphic/XGraphic.hpp - com/sun/star/lang/XMultiServiceFactory.hpp - com/sun/star/uno/XComponentContext.hpp - # Needed for rtl::math::round - - rtl/math.hxx sw/source/writerfilter/dmapper/NumberingManager.cxx: # Actually used - com/sun/star/lang/XMultiServiceFactory.hpp diff --git a/toolkit/IwyuFilter_toolkit.yaml b/toolkit/IwyuFilter_toolkit.yaml index 6606014d2958..f16d28323b05 100644 --- a/toolkit/IwyuFilter_toolkit.yaml +++ b/toolkit/IwyuFilter_toolkit.yaml @@ -92,9 +92,6 @@ excludelist: toolkit/source/controls/animatedimages.cxx: # Actually used - com/sun/star/beans/XPropertySetInfo.hpp - toolkit/source/awt/vclxwindow.cxx: - # Needed for rtl::math::round - - rtl/math.hxx toolkit/source/hatchwindow/hatchwindow.cxx: # Actually used - com/sun/star/embed/XHatchWindowController.hpp diff --git a/unotools/IwyuFilter_unotools.yaml b/unotools/IwyuFilter_unotools.yaml index 0a3b6eeff08e..2e1b55ee2f9d 100644 --- a/unotools/IwyuFilter_unotools.yaml +++ b/unotools/IwyuFilter_unotools.yaml @@ -38,6 +38,3 @@ excludelist: unotools/source/ucbhelper/ucbstreamhelper.cxx: # Needed for direct member access - com/sun/star/beans/PropertyValue.hpp - unotools/source/misc/datetime.cxx: - # Needed for rtl::math::round - - rtl/math.hxx