Remove IWYU exceptions about comphelper/scopeguard.hxx

Noticed that newer versions of IWYU no longer give a false warning
about this, so just drop them

Change-Id: Ic45a8fab10965dc5d0a5432fc36e48db187834c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187143
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen
2025-06-28 23:37:36 +02:00
committed by Gabor Kelemen
parent ddf77c92a5
commit 8d736f84a0
17 changed files with 0 additions and 142 deletions

View File

@ -32,9 +32,6 @@ excludelist:
canvas/source/opengl/ogl_texturecache.cxx:
# Actually in use
- com/sun/star/geometry/IntegerSize2D.hpp
canvas/source/tools/surface.cxx:
# Actually in use
- comphelper/scopeguard.hxx
canvas/source/vcl/cachedbitmap.cxx:
# Actually in use
- com/sun/star/rendering/XCanvas.hpp

View File

@ -367,9 +367,6 @@ excludelist:
chart2/source/view/axes/VCartesianGrid.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
chart2/source/view/charttypes/BarChart.cxx:
# comphelper::ScopeGuard being used
- comphelper/scopeguard.hxx
chart2/source/view/diagram/VDiagram.cxx:
# Needed for implicit dtor
- ChartType.hxx
@ -386,9 +383,6 @@ excludelist:
- com/sun/star/graphic/XGraphic.hpp
# Actually used
- com/sun/star/chart2/XFormattedString.hpp
chart2/source/view/main/ChartView.cxx:
# comphelper::ScopeGuard being used
- comphelper/scopeguard.hxx
chart2/source/view/main/VLineProperties.cxx:
# Actually used
- com/sun/star/beans/XPropertySet.hpp

View File

@ -9,7 +9,6 @@ excludelist:
- osl/thread.hxx
desktop/qa/desktop_lib/test_desktop_lib.cxx:
# Actually used
- comphelper/scopeguard.hxx
- rtl/math.hxx
desktop/source/app/app.cxx:
# Needed on WIN32
@ -42,8 +41,6 @@ excludelist:
desktop/source/lib/init.cxx:
# Needed for boost::trim_copy
- boost/algorithm/string.hpp
# Actually used
- comphelper/scopeguard.hxx
# Needed on IOS & ANDROID
- officecfg/Office/Impress.hxx
desktop/source/minidump/minidump.cxx:

View File

@ -1,8 +1,6 @@
---
assumeFilename: embeddedobj/source/commonembedding/embedobj.cxx
excludelist:
embeddedobj/qa/cppunit/general.cxx:
- comphelper/scopeguard.hxx
embeddedobj/source/inc/dummyobject.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx

View File

@ -22,9 +22,6 @@ excludelist:
extensions/source/config/ldap/ldapaccess.cxx:
# Needed on WIN32
- o3tl/char16_t2wchar_t.hxx
extensions/source/config/ldap/ldapuserprofilebe.cxx:
# Actually used
- comphelper/scopeguard.hxx
extensions/source/dbpilots/listcombowizard.cxx:
# Actually used
- com/sun/star/container/XNameAccess.hpp
@ -34,8 +31,6 @@ excludelist:
extensions/source/update/check/updatecheck.cxx:
# Needed on WIN32 for WNT_hasInternetConnection
- onlinecheck.hxx
# Actually used
- comphelper/scopeguard.hxx
extensions/source/update/check/updatecheckconfig.cxx:
# Needed on WIN32
- o3tl/char16_t2wchar_t.hxx

View File

@ -28,9 +28,6 @@ excludelist:
filter/source/svg/svgfilter.cxx:
# Actually used
- com/sun/star/io/IOException.hpp
filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx:
# Actually used
- comphelper/scopeguard.hxx
filter/source/xmlfilterdetect/filterdetect.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp

View File

@ -4,9 +4,6 @@ excludelist:
oox/source/docprop/docprophandler.hxx:
# Needed for macro defines
- oox/token/namespaces.hxx
oox/source/core/filterbase.cxx:
# Actually used
- comphelper/scopeguard.hxx
oox/source/core/contexthandler2.cxx:
# Needed for template
- com/sun/star/frame/XModel.hpp
@ -147,9 +144,6 @@ excludelist:
oox/source/ppt/comments.cxx:
# Needed for rtl::math::round
- rtl/math.hxx
oox/source/ppt/pptimport.cxx:
# Actually used
- comphelper/scopeguard.hxx
oox/source/ppt/pptshape.cxx:
# Needed for template
- com/sun/star/frame/XModel.hpp

View File

@ -355,9 +355,6 @@ excludelist:
sc/inc/unitconv.hxx:
# base class has to be a complete type
- map
sc/qa/unit/uicalc/uicalc.cxx:
# Actually used
- comphelper/scopeguard.hxx
sc/qa/unit/ucalc.cxx:
# Needed for namespace shortcuts
- helper/debughelper.hxx
@ -382,16 +379,8 @@ excludelist:
# Needed for template
- sfx2/sfxdlg.hxx
sc/qa/unit/subsequent_export_test.cxx:
# Actually used
- comphelper/scopeguard.hxx
# Needed for namespace shortcuts
- helper/debughelper.hxx
sc/qa/unit/subsequent_export_test2.cxx:
# Actually used
- comphelper/scopeguard.hxx
sc/qa/unit/subsequent_filters_test2.cxx:
# Actually used
- comphelper/scopeguard.hxx
sc/source/core/inc/addinlis.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp

View File

@ -2,8 +2,6 @@
assumeFilename: sd/source/core/drawdoc.cxx
excludelist:
sd/qa/unit/SdrPdfImportTest.cxx:
# Actually used
- comphelper/scopeguard.hxx
# Needed on WIN to compile
- prewin.h
- postwin.h
@ -108,9 +106,6 @@ excludelist:
# Needed on MACOSX
- svl/intitem.hxx
- app.hrc
sd/source/ui/dlg/sdtreelb.cxx:
# comphelper::ScopeGuard is actually used
- comphelper/scopeguard.hxx
sd/source/ui/framework/configuration/ConfigurationTracer.hxx:
# Needed for css shortcut
- sal/types.h
@ -406,12 +401,6 @@ excludelist:
sd/source/filter/xml/sdtransform.cxx:
# Needed for implicit dtor
- editeng/outlobj.hxx
sd/source/ui/animations/CustomAnimationList.cxx:
# Actually used
- comphelper/scopeguard.hxx
sd/source/ui/animations/CustomAnimationPane.cxx:
# Actually used
- comphelper/scopeguard.hxx
sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx:
# Needed for DEBUG_SD_CONFIGURATION_TRACE
- ConfigurationTracer.hxx
@ -422,8 +411,6 @@ excludelist:
sd/source/ui/framework/configuration/ConfigurationUpdater.cxx:
# Needed for DEBUG_SD_CONFIGURATION_TRACE
- ConfigurationTracer.hxx
# comphelper::ScopeGuard is actually used
- comphelper/scopeguard.hxx
sd/source/ui/framework/configuration/ResourceFactoryManager.cxx:
# Needed for VERBOSE mode
- sal/log.hxx
@ -480,18 +467,9 @@ excludelist:
sd/source/ui/view/GraphicObjectBar.cxx:
# Needed by a sdslots.hxx constant
- svx/svxids.hrc
sd/source/ui/view/Outliner.cxx:
# comphelper::ScopeGuard is actually used
- comphelper/scopeguard.hxx
sd/source/ui/view/PresentationViewShellBase.cxx:
# Needed for template
- com/sun/star/frame/XFrame.hpp
sd/source/ui/view/drviews1.cxx:
# comphelper::ScopeGuard is actually used
- comphelper/scopeguard.hxx
sd/source/ui/view/drviews2.cxx:
# comphelper::ScopeGuard is actually used
- comphelper/scopeguard.hxx
sd/source/ui/view/drviewsf.cxx:
# Needed for template
- svx/sdmetitm.hxx

View File

@ -31,9 +31,6 @@ excludelist:
slideshow/source/engine/smilfunctionparser.cxx:
# Boost wrapper is needed
- boost/spirit/include/classic_core.hpp
slideshow/source/engine/shapes/drawshape.cxx:
# Actually used
- comphelper/scopeguard.hxx
slideshow/source/engine/shapes/viewappletshape.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp

View File

@ -35,8 +35,6 @@ excludelist:
svl/source/crypto/cryptosign.cxx:
# Needed on WIN32
- o3tl/char16_t2wchar_t.hxx
# Actually used
- comphelper/scopeguard.hxx
svl/source/filepicker/pickerhistory.cxx:
# Needed to inherit linker visibility from function declaration
- svl/pickerhistoryaccess.hxx

View File

@ -15,9 +15,6 @@ excludelist:
svtools/source/dialogs/insdlg.cxx:
# Needed on WIN
- comphelper/classids.hxx
svtools/source/svrtf/parrtf.cxx:
# Actually used
- comphelper/scopeguard.hxx
svtools/qa/unit/testHtmlReader.cxx:
# Needed for the CPPUNIT_TEST_FIXTURE() macro.
- unotest/bootstrapfixturebase.hxx

View File

@ -34,9 +34,6 @@ excludelist:
svx/source/dialog/svxruler.cxx:
# Needed for rtl::math::round
- rtl/math.hxx
svx/source/dialog/srchdlg.cxx:
# Actually used
- comphelper/scopeguard.hxx
svx/source/form/fmmodel.cxx:
# Actually used
- com/sun/star/form/XForms.hpp
@ -110,7 +107,6 @@ excludelist:
svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx:
# Actually used
- com/sun/star/awt/XControlContainer.hpp
- comphelper/scopeguard.hxx
svx/source/svdraw/charthelper.cxx:
# Actually used
- com/sun/star/embed/XEmbeddedObject.hpp
@ -133,9 +129,6 @@ excludelist:
svx/source/svdraw/svdorect.cxx:
# Actually used
- svx/svdopath.hxx
svx/source/svdraw/svdpagv.cxx:
# Actually used
- comphelper/scopeguard.hxx
svx/source/table/accessiblecell.cxx:
# Needed for SvxTextEditSource object instantiation
- svx/svdotext.hxx
@ -154,9 +147,6 @@ excludelist:
svx/source/unodraw/unoshcol.cxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
svx/source/unodraw/unoshape.cxx:
# Actually used
- comphelper/scopeguard.hxx
svx/source/unodraw/unoprov.cxx:
# Needed for UnoType instantiation
- com/sun/star/lang/Locale.hpp

View File

@ -401,8 +401,6 @@ excludelist:
sw/qa/extras/odfexport/odfexport.cxx:
# Needed for getProperty template
- com/sun/star/graphic/XGraphic.hpp
#Actually used
- comphelper/scopeguard.hxx
sw/qa/extras/odfimport/odfimport.cxx:
# Needed for direct member access
- com/sun/star/text/XTextSection.hpp
@ -431,9 +429,6 @@ excludelist:
- com/sun/star/graphic/XGraphic.hpp
- com/sun/star/text/TableColumnSeparator.hpp
- com/sun/star/text/XTextColumns.hpp
sw/qa/extras/ooxmlexport/ooxmlexport17.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/qa/extras/ooxmlimport/ooxmlimport2.cxx:
# Needed for direct member access
- com/sun/star/document/XEmbeddedObjectSupplier2.hpp
@ -453,9 +448,6 @@ excludelist:
sw/qa/extras/uiwriter/uiwriter6.cxx:
# Needed in C++20 mode
- o3tl/cppunittraitshelper.hxx
sw/qa/uibase/uiview/uiview.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/qa/extras/unowriter/unowriter.cxx:
# Needed for direct member access
- com/sun/star/awt/XDevice.hpp
@ -468,7 +460,6 @@ excludelist:
# Needed for for-loop range
- com/sun/star/graphic/XGraphic.hpp
sw/qa/extras/layout/layout.cxx:
- comphelper/scopeguard.hxx
- com/sun/star/linguistic2/LinguServiceManager.hpp
sw/source/core/access/AccessibilityCheck.cxx:
# Needed for template
@ -482,9 +473,6 @@ excludelist:
sw/source/core/access/acctextframe.cxx:
# Actually used
- com/sun/star/accessibility/XAccessibleRelationSet.hpp
sw/source/core/doc/DocumentFieldsManager.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/source/core/doc/DocumentStatisticsManager.cxx:
# Needed for template
- com/sun/star/frame/XModel.hpp
@ -509,8 +497,6 @@ excludelist:
sw/source/core/draw/drawdoc.cxx:
# Needed for template
- com/sun/star/frame/XModel.hpp
sw/source/filter/html/htmlreqifreader.cxx:
- comphelper/scopeguard.hxx
sw/source/uibase/sidebar/PageMarginUtils.hxx:
# Needed for std::abs
- cmath
@ -520,31 +506,19 @@ excludelist:
sw/source/core/undo/untbl.cxx:
# Needed for linker visibility of sw_DebugRedline
- docredln.hxx
sw/source/core/edit/edfcol.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/source/core/fields/textapi.cxx:
# Needed for macros to work
- editeng/unoprnms.hxx
- com/sun/star/lang/Locale.hpp
sw/source/core/layout/layact.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/source/core/swg/SwXMLBlockExport.cxx:
# Actually used
- com/sun/star/xml/sax/XDocumentHandler.hpp
sw/source/core/swg/SwXMLSectionList.cxx:
# Actually used
- vector
sw/source/core/text/porrst.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/source/core/text/txtftn.cxx:
# Needed for template
- com/sun/star/text/XTextRange.hpp
sw/source/core/undo/unsect.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/source/core/unocore/unomap1.cxx:
# Needed for UnoType macro
- com/sun/star/container/XIndexReplace.hpp
@ -594,8 +568,6 @@ excludelist:
# Needed for template
- com/sun/star/frame/XModel.hpp
sw/source/filter/html/wrthtml.cxx:
# Actually used
- comphelper/scopeguard.hxx
# Needed for template
- com/sun/star/frame/XModel.hpp
sw/source/filter/html/swhtml.cxx:
@ -668,9 +640,6 @@ excludelist:
sw/source/uibase/misc/glshell.cxx:
# Needed for template
- com/sun/star/frame/XModel.hpp
sw/source/uibase/shells/basesh.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/source/uibase/shells/slotadd.cxx:
# Needed for swslots.hxx
- config_options.h
@ -843,9 +812,6 @@ excludelist:
sw/source/ui/vba/vbaglobals.cxx:
# Needed for extern functions
- service.hxx
sw/source/ui/vba/vbalistformat.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/source/ui/vba/vbalisttemplate.cxx:
# Actually needed
- com/sun/star/beans/XPropertySet.hpp
@ -868,8 +834,6 @@ excludelist:
- com/sun/star/frame/XModel.hpp
sw/source/filter/ww8/rtfexport.cxx:
- com/sun/star/frame/XModel.hpp
sw/qa/core/macros-test.cxx:
- comphelper/scopeguard.hxx
sw/source/filter/docx/swdocxreader.cxx:
- com/sun/star/frame/XModel.hpp
sw/source/core/fields/docufld.cxx:
@ -883,8 +847,6 @@ excludelist:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx:
# Required in C++20 mode.
- o3tl/cppunittraitshelper.hxx
# Actually used
- comphelper/scopeguard.hxx
sw/qa/extras/ooxmlexport/ooxmlexport.cxx:
# Required in C++20 mode.
- o3tl/cppunittraitshelper.hxx
@ -894,18 +856,12 @@ excludelist:
sw/qa/extras/uiwriter/uiwriter.cxx:
# Required in C++20 mode.
- o3tl/cppunittraitshelper.hxx
sw/qa/extras/uiwriter/uiwriter2.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/qa/extras/rtfexport/rtfexport4.cxx:
# Required in C++20 mode.
- o3tl/cppunittraitshelper.hxx
sw/qa/extras/txtexport/txtexport.cxx:
# No .hxx -> .h replacement in URE headers
- osl/thread.hxx
sw/qa/extras/layout/layout2.cxx:
# Actually used
- comphelper/scopeguard.hxx
sw/source/writerfilter/dmapper/BorderHandler.cxx:
# Needed for method parameter type
- tools/color.hxx
@ -965,7 +921,3 @@ excludelist:
sw/source/writerfilter/rtftok/rtftokenizer.cxx:
# Actually used
- com/sun/star/task/XStatusIndicator.hpp
sw/source/writerfilter/filter/RtfFilter.cxx:
- comphelper/scopeguard.hxx
sw/source/writerfilter/filter/WriterFilter.cxx:
- comphelper/scopeguard.hxx

View File

@ -48,9 +48,6 @@ excludelist:
ucb/source/ucp/webdav-curl/webdavcontent.cxx:
# Needed for UnoType
- com/sun/star/ucb/XCommandInfo.hpp
ucb/source/ucp/webdav-curl/CurlSession.cxx:
# Actually used
- comphelper/scopeguard.hxx
ucb/source/ucp/webdav-curl/webdavcontent.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp

View File

@ -51,7 +51,6 @@ excludelist:
# Needed for direct member access
- com/sun/star/task/XStatusIndicator.hpp
vcl/source/filter/ipdf/pdfdocument.cxx:
- comphelper/scopeguard.hxx
# Actually these are used
- com/sun/star/security/XCertificate.hpp
- vector
@ -74,12 +73,6 @@ excludelist:
vcl/source/treelist/headbar.cxx:
# Actually these are used
- com/sun/star/accessibility/XAccessible.hpp
vcl/source/window/dialog.cxx:
# comphelper::ScopeGuard is actually used
- comphelper/scopeguard.hxx
vcl/source/window/event.cxx:
# comphelper::ScopeGuard is actually used
- comphelper/scopeguard.hxx
vcl/unx/generic/app/saldisp.cxx:
# needed for transitive cursor includes
- unx/x11_cursors/salcursors.h

View File

@ -95,9 +95,6 @@ excludelist:
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/xml/wrapper/XXMLElementWrapper.hpp
xmlsecurity/source/xmlsec/xmlstreamio.cxx:
# comphelper::ScopeGuard is in use but not noticed by IWYU
- comphelper/scopeguard.hxx
xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx:
# Base class needs complete type
- com/sun/star/security/XSanExtension.hpp
@ -124,5 +121,3 @@ excludelist:
xmlsecurity/qa/unit/signing/signing.cxx:
# Don't replace URE header with impl. detail
- osl/thread.hxx
xmlsecurity/workben/pdfverify.cxx:
- comphelper/scopeguard.hxx