tdf#42949 Fix new IWYU warnings in directories c*

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Iac1e7802dbe1efa01c2befdd10406231788d4fc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105315
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Gabor Kelemen 2020-10-31 14:32:20 +01:00 committed by Miklos Vajna
parent 6e921467c4
commit 7bdbb50a50
99 changed files with 130 additions and 154 deletions

View file

@ -22,7 +22,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/rendering/TextDirection.hpp>
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <verifyinput.hxx>

View file

@ -21,7 +21,6 @@
#include <com/sun/star/rendering/IntegerBitmapLayout.hpp>
#include <verifyinput.hxx>
#include <osl/diagnose.h>
namespace canvas

View file

@ -20,6 +20,7 @@
#pragma once
#include <vcl/svapp.hxx>
#include <memory>
namespace canvas
{

View file

@ -30,7 +30,6 @@
#include <canvas/canvastools.hxx>
#include <verifyinput.hxx>
#include <cairo.h>
#include "cairo_canvasfont.hxx"
#include "cairo_canvashelper.hxx"

View file

@ -30,20 +30,11 @@
#include <cppuhelper/supportsservice.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/metric.hxx>
#include <vcl/sysdata.hxx>
#include <vcl/virdev.hxx>
#include "cairo_textlayout.hxx"
#include <cairo.h>
#if defined CAIRO_HAS_FT_FONT
# include <cairo-ft.h>
#else
# error Native API needed.
#endif
using namespace ::cairo;
using namespace ::com::sun::star;

View file

@ -29,7 +29,6 @@
#include <vcl/outdev.hxx>
#include <vcl/cairo.hxx>
#include "cairo_canvasfont.hxx"

View file

@ -28,8 +28,6 @@
#include "ogl_canvascustomsprite.hxx"
#include "ogl_texturecache.hxx"
#include <iterator>
using namespace ::com::sun::star;
static void initContext()

View file

@ -25,7 +25,6 @@
#include <basegfx/polygon/b2dlinegeometry.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/range/b2drectangle.hxx>
#include <basegfx/utils/canvastools.hxx>
#include <basegfx/vector/b2dsize.hxx>

View file

@ -26,7 +26,6 @@
#include <basegfx/utils/canvastools.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/rendering/CompositeOperation.hpp>
#include <com/sun/star/rendering/FillRule.hpp>
#include <com/sun/star/rendering/PathCapType.hpp>
#include <com/sun/star/rendering/PathJoinType.hpp>
#include <com/sun/star/rendering/RenderState.hpp>
@ -35,15 +34,13 @@
#include <com/sun/star/rendering/XCanvas.hpp>
#include <com/sun/star/rendering/XGraphicDevice.hpp>
#include <com/sun/star/rendering/XSpriteCanvas.hpp>
#include <com/sun/star/ucb/UniversalContentBroker.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/random.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <vcl/canvastools.hxx>
#include <vcl/svapp.hxx>
#include <vcl/vclmain.hxx>
#include <vcl/virdev.hxx>
#include <vcl/window.hxx>
#include <vcl/wrkwin.hxx>
using namespace ::com::sun::star;

View file

@ -456,6 +456,8 @@ excludelist:
chart2/source/view/axes/VAxisBase.cxx:
# Needed for direct member access
- com/sun/star/drawing/XShapes.hpp
# Needed for implicit dtor
- com/sun/star/chart2/XAxis.hpp
chart2/source/view/axes/VAxisProperties.cxx:
# Actually used
- com/sun/star/chart2/XAxis.hpp
@ -464,9 +466,15 @@ excludelist:
chart2/source/view/axes/VCartesianCoordinateSystem.cxx:
# Actually used
- com/sun/star/chart2/XCoordinateSystem.hpp
chart2/source/view/axes/VPolarAngleAxis.cxx:
# Needed for implicit dtor
- com/sun/star/chart2/XAxis.hpp
chart2/source/view/axes/VPolarCoordinateSystem.cxx:
# Actually used
- com/sun/star/chart2/XCoordinateSystem.hpp
chart2/source/view/axes/VCartesianAxis.cxx:
# Needed for implicit dtor
- com/sun/star/chart2/XAxis.hpp
chart2/source/view/axes/VCartesianGrid.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
@ -486,6 +494,8 @@ excludelist:
# Actually used
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/drawing/XShape.hpp
# Actually used
- rtl/math.hxx
chart2/source/view/main/VButton.cxx:
# Actually used
- com/sun/star/lang/XMultiServiceFactory.hpp
@ -591,6 +601,9 @@ excludelist:
chart2/source/controller/accessibility/AccessibleChartView.cxx:
# Actually used
- com/sun/star/view/XSelectionSupplier.hpp
chart2/source/controller/chartapiwrapper/AxisWrapper.cxx:
# Needed for implicit dtor
- com/sun/star/frame/XModel.hpp
chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx:
# Needed for rtl::math::round
- rtl/math.hxx
@ -607,6 +620,9 @@ excludelist:
chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx:
# Actually used
- vector
chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx:
# Needed for implicit dtor
- com/sun/star/chart2/XAxis.hpp
chart2/source/controller/dialogs/ChartTypeDialogController.cxx:
# Actually used
- com/sun/star/chart2/XChartDocument.hpp
@ -623,6 +639,9 @@ excludelist:
chart2/source/controller/dialogs/dlg_DataEditor.cxx:
# Needed for direct member access
- com/sun/star/awt/XWindow.hpp
chart2/source/controller/dialogs/dlg_View3D.cxx:
# Needed for implicit dtor
- com/sun/star/chart2/XDiagram.hpp
chart2/source/controller/dialogs/RangeSelectionHelper.cxx:
# Actually used
- com/sun/star/chart2/XChartDocument.hpp
@ -638,6 +657,12 @@ excludelist:
chart2/source/controller/dialogs/tp_ChartType.cxx:
# Actually used
- com/sun/star/chart2/XChartDocument.hpp
chart2/source/controller/dialogs/tp_DataSource.cxx:
# Needed for implicit dtor
- com/sun/star/frame/XModel.hpp
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
@ -660,6 +685,8 @@ 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
@ -713,6 +740,8 @@ excludelist:
chart2/source/controller/main/PositionAndSizeHelper.cxx:
# Actually used
- com/sun/star/awt/Rectangle.hpp
# Needed for implicit dtor
- com/sun/star/chart2/XDiagram.hpp
chart2/source/controller/main/StatusBarCommandDispatch.cxx:
# Actually used
- com/sun/star/view/XSelectionSupplier.hpp

View file

@ -13,11 +13,8 @@
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/XDataSeries.hpp>
#include <com/sun/star/chart2/XRegressionCurveContainer.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/lang/XServiceName.hpp>
#include <com/sun/star/packages/zip/ZipFileAccess.hpp>
#include <unotools/ucbstreamhelper.hxx>

View file

@ -48,7 +48,6 @@
#include <com/sun/star/drawing/LineJoint.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/Hatch.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <comphelper/sequence.hxx>
#include <cppuhelper/exc_hlp.hxx>

View file

@ -27,9 +27,7 @@
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <tools/diagnose_ex.h>
#include <comphelper/lok.hxx>
#include <sfx2/viewsh.hxx>
namespace chart

View file

@ -18,7 +18,6 @@
*/
#include "tp_3D_SceneIllumination.hxx"
#include <bitmaps.hlst>
#include <CommonConverters.hxx>
#include <ControllerLockGuard.hxx>

View file

@ -34,9 +34,7 @@
#include <svx/unoshape.hxx>
#include <editeng/fhgtitem.hxx>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <sfx2/objsh.hxx>
#include <svx/helperhittest3d.hxx>

View file

@ -30,8 +30,6 @@
#include "dlg_CreationWizard.hxx"
#include <tools/link.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/vclevent.hxx>
namespace com::sun::star::awt { class XWindow; }
namespace com::sun::star::frame { class XModel; }

View file

@ -20,8 +20,6 @@
#include <memory>
#include <sal/config.h>
#include <set>
#include <ChartController.hxx>
#include <servicenames.hxx>
#include <ResId.hxx>

View file

@ -72,7 +72,6 @@
#include <toolkit/awt/vclxmenu.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/ipclient.hxx>
#include <svx/ActionDescriptionProvider.hxx>
#include <svx/obj3d.hxx>
#include <svx/scene3d.hxx>
@ -87,7 +86,6 @@
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <sfx2/lokhelper.hxx>
#include <boost/property_tree/json_parser.hpp>
#include <sfx2/dispatch.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>

View file

@ -27,7 +27,6 @@
#include <o3tl/unsafe_downcast.hxx>
#include <vcl/svapp.hxx>
#include <svl/itempool.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/eeitem.hxx>
#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>

View file

@ -19,7 +19,6 @@
#include <PositionAndSizeHelper.hxx>
#include <ControllerLockGuard.hxx>
#include <com/sun/star/chart2/LegendPosition.hpp>
#include <com/sun/star/chart/ChartLegendExpansion.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
#include <com/sun/star/chart2/RelativePosition.hpp>

View file

@ -9,15 +9,11 @@
#include "ChartLinePanel.hxx"
#include <PropertyHelper.hxx>
#include <ChartController.hxx>
#include <svx/xlineit0.hxx>
#include <svx/xlnwtit.hxx>
#include <svx/xlinjoit.hxx>
#include <svx/xlndsit.hxx>
#include <svx/xlntrit.hxx>
#include <svx/unomid.hxx>
#include <svx/linectrl.hxx>
#include <svx/tbcontrl.hxx>

View file

@ -22,7 +22,6 @@
#include <ChartController.hxx>
#include <ChartModelHelper.hxx>
#include <ChartResourceGroupDlgs.hxx>
#include <ChartResourceGroups.hxx>
#include <ChartTypeDialogController.hxx>
#include <DiagramHelper.hxx>

View file

@ -26,7 +26,6 @@
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/XMultiPropertyStates.hpp>
#include <com/sun/star/style/XStyleSupplier.hpp>
#include "charttoolsdllapi.hxx"
#include <memory>

View file

@ -20,8 +20,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/math.hxx>
#include <cmath>
#include <utility>
#include <vector>

View file

@ -24,7 +24,6 @@
#include <unotools/saveopt.hxx>
#include <comphelper/genericpropertyset.hxx>
#include <comphelper/propertysetinfo.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/documentconstants.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <comphelper/sequence.hxx>
@ -35,7 +34,6 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/xml/sax/InputSource.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
#include <com/sun/star/xml/sax/FastToken.hpp>
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
@ -51,7 +49,6 @@
#include <com/sun/star/document/GraphicStorageHandler.hpp>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <xmloff/xmlnamespace.hxx>
using namespace ::com::sun::star;

View file

@ -41,7 +41,6 @@
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
#include <com/sun/star/chart2/data/XDataSource.hpp>
#include <rtl/math.hxx>
#include <sal/log.hxx>
#include <com/sun/star/lang/XServiceName.hpp>

View file

@ -21,7 +21,6 @@
#include <servicenames.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
#include <tools/diagnose_ex.h>

View file

@ -36,8 +36,6 @@
#include <com/sun/star/chart/ErrorBarStyle.hpp>
#include <tools/diagnose_ex.h>
#include <iterator>
namespace chart
{
using namespace ::com::sun::star;

View file

@ -21,7 +21,6 @@
#include <CloneHelper.hxx>
#include <algorithm>
#include <iterator>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/style/XStyle.hpp>

View file

@ -34,7 +34,6 @@ namespace chart
{
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
using namespace ::rtl::math;
VPolarAngleAxis::VPolarAngleAxis( const AxisProperties& rAxisProperties
, const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier

View file

@ -27,7 +27,6 @@ namespace chart
{
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
using namespace ::rtl::math;
VPolarRadiusAxis::VPolarRadiusAxis( const AxisProperties& rAxisProperties
, const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier

View file

@ -32,7 +32,6 @@
namespace chart
{
using namespace ::com::sun::star;
using namespace ::rtl::math;
using namespace ::com::sun::star::chart2;
CandleStickChart::CandleStickChart( const uno::Reference<XChartType>& xChartTypeModel

View file

@ -60,7 +60,6 @@
#include <com/sun/star/chart2/XRegressionCurveContainer.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/chart2/RelativePosition.hpp>
#include <editeng/unoprnms.hxx>
#include <tools/color.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
@ -69,7 +68,6 @@
#include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <com/sun/star/drawing/XShapes.hpp>
#include <unotools/localedatawrapper.hxx>

View file

@ -21,7 +21,6 @@
#include <chartview/ExplicitScaleValues.hxx>
#include <basegfx/range/b2drectangle.hxx>
#include <rtl/math.hxx>
#include <tools/long.hxx>
#include <com/sun/star/drawing/Direction3D.hpp>
#include <com/sun/star/drawing/Position3D.hpp>

View file

@ -25,6 +25,7 @@
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
#include <com/sun/star/drawing/XShape.hpp>
#include <rtl/math.hxx>
namespace chart
{

View file

@ -20,7 +20,6 @@
#include <PlotterBase.hxx>
#include <PlottingPositionHelper.hxx>
#include <ShapeFactory.hxx>
#include <rtl/math.hxx>
#include <osl/diagnose.h>
namespace chart

View file

@ -26,7 +26,6 @@
#include <RegressionCurveHelper.hxx>
#include <unonames.hxx>
#include <com/sun/star/chart/DataLabelPlacement.hpp>
#include <com/sun/star/chart/MissingValueTreatment.hpp>
#include <com/sun/star/chart2/DataPointLabel.hpp>
#include <com/sun/star/chart2/Symbol.hpp>

View file

@ -19,6 +19,12 @@ excludelist:
# Base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/util/XOfficeInstallationDirectories.hpp
comphelper/qa/unit/test_guards.cxx:
# Keep for system-cppunit; see also commit 456d61ec526e250fd1af894e109d5914ac9c9e6e
- unotest/bootstrapfixturebase.hxx
comphelper/source/container/embeddedobjectcontainer.cxx:
# Keep for OSL_DEBUG_LEVEL > 1
- com/sun/star/container/XNameAccess.hpp
comphelper/source/container/IndexedPropertyValuesContainer.cxx:
# Needed for typedef
- com/sun/star/beans/PropertyValue.hpp
@ -37,6 +43,9 @@ excludelist:
comphelper/source/misc/fileurl.cxx:
# Needed for linker visibility
- comphelper/fileurl.hxx
comphelper/source/misc/AccessibleImplementationHelper.cxx:
# Needed for template
- com/sun/star/uno/Sequence.hxx
comphelper/source/misc/getexpandeduri.cxx:
# Needed for linker visibility
- comphelper/getexpandeduri.hxx
@ -46,6 +55,9 @@ excludelist:
comphelper/source/misc/hash.cxx:
# OSL_BIGENDIAN is being checked
- osl/endian.h
comphelper/source/misc/instancelocker.cxx:
# Needed for template
- com/sun/star/embed/XActionsApproval.hpp
include/comphelper/interaction.hxx:
# Stop warnings about include/
- com/sun/star/task/XInteractionApprove.hpp

View file

@ -7,7 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <sal/types.h>
#include <comphelper/flagguard.hxx>
#include <unotest/bootstrapfixturebase.hxx>

View file

@ -13,7 +13,6 @@
#include <cppunit/TestAssert.h>
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/plugin/TestPlugIn.h>
using namespace css;

View file

@ -34,9 +34,9 @@
#include <cppuhelper/compbase3.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <rtl/math.hxx>
#include <typelib/typedescription.hxx>
#include <cmath>
#include <map>
#include <memory>
#include <utility>

View file

@ -28,7 +28,6 @@
#include <comphelper/configuration.hxx>
#include <comphelper/configurationlistener.hxx>
#include <rtl/instance.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <i18nlangtag/languagetag.hxx>

View file

@ -29,7 +29,6 @@
#include <cppuhelper/exc_hlp.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
namespace comphelper {

View file

@ -9,7 +9,7 @@
#include <sal/config.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <comphelper/hash.hxx>
#include <rtl/ustring.hxx>
#include <rtl/alloc.h>

View file

@ -12,7 +12,6 @@
#include <sal/log.hxx>
#include <iostream>
#include <map>
namespace comphelper::LibreOfficeKit
{

View file

@ -22,6 +22,7 @@
#include <com/sun/star/task/XRestartManager.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/awt/XCallback.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <osl/mutex.hxx>
#include <cppuhelper/implbase.hxx>

View file

@ -28,9 +28,6 @@
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#elif defined UNX
#include <unistd.h>
#include <fcntl.h>
#endif
namespace comphelper {

View file

@ -30,7 +30,6 @@
#include <cppuhelper/exc_hlp.hxx>
#include <algorithm>
#include <iterator>
namespace com::sun::star::uno { class XComponentContext; }

View file

@ -18,7 +18,6 @@
*/
#include <comphelper/propertystatecontainer.hxx>
#include <rtl/ustrbuf.hxx>
namespace comphelper

View file

@ -19,8 +19,6 @@
#include <comphelper/attributelist.hxx>
#include <vector>
using namespace osl;
using namespace com::sun::star;

View file

@ -13,3 +13,43 @@ excludelist:
configmgr/source/dconf.cxx:
# Generic wrapper for dconf
- dconf/dconf.h
configmgr/source/broadcaster.cxx:
# Needed for template
- com/sun/star/beans/XPropertiesChangeListener.hpp
- com/sun/star/beans/XPropertyChangeListener.hpp
- com/sun/star/container/XContainerListener.hpp
- com/sun/star/lang/XEventListener.hpp
- com/sun/star/util/XChangesListener.hpp
configmgr/source/childaccess.cxx:
# Actually used
- vector
- com/sun/star/uno/XInterface.hpp
configmgr/source/configurationprovider.cxx:
# Actually used
- com/sun/star/uno/XInterface.hpp
configmgr/source/components.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp
configmgr/source/access.cxx:
# Actually used
- vector
- com/sun/star/beans/XPropertiesChangeListener.hpp
- com/sun/star/beans/XPropertyChangeListener.hpp
- com/sun/star/beans/XVetoableChangeListener.hpp
- com/sun/star/container/XContainerListener.hpp
- com/sun/star/lang/XEventListener.hpp
- com/sun/star/uno/XInterface.hpp
configmgr/source/parsemanager.cxx:
# Actually used
- set
configmgr/source/partial.cxx:
# Actually used
- set
configmgr/source/rootaccess.cxx:
# Actually used
- vector
- com/sun/star/util/ElementChange.hpp
- com/sun/star/util/XChangesListener.hpp
configmgr/source/xcdparser.cxx:
# Actually used
- set

View file

@ -29,7 +29,6 @@
#include <com/sun/star/lang/XLocalizable.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/uno/Reference.hxx>
@ -42,8 +41,6 @@
#include <cppu/unotype.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
#include <osl/mutex.hxx>

View file

@ -22,7 +22,6 @@
#include <sal/config.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
namespace com::sun::star {
namespace uno {

View file

@ -21,7 +21,6 @@
#include <sal/config.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
namespace configmgr::default_provider {

View file

@ -20,7 +20,6 @@
#include <sal/config.h>
#include <algorithm>
#include <vector>
#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>

View file

@ -18,6 +18,9 @@ excludelist:
connectivity/source/commontools/dbexception.cxx:
# Actually used
- com/sun/star/sdb/SQLErrorEvent.hpp
connectivity/source/commontools/dbtools2.cxx:
# Actually used
- com/sun/star/sdbc/XDataSource.hpp
connectivity/source/commontools/paramwrapper.cxx:
# Actually used
- com/sun/star/sdbc/XParameters.hpp
@ -45,6 +48,9 @@ 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
@ -65,6 +71,9 @@ excludelist:
connectivity/source/drivers/mork/MDriver.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp
connectivity/source/drivers/mork/MColumnAlias.cxx:
# Needed for indirect dtor
- com/sun/star/container/XHierarchicalNameAccess.hpp
connectivity/source/drivers/mysql_jdbc/YDriver.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp

View file

@ -20,7 +20,6 @@
#include <com/sun/star/sdb/XInteractionSupplyParameters.hpp>
#include <comphelper/interaction.hxx>
#include <connectivity/dbtoolsdllapi.hxx>
namespace dbtools
{

View file

@ -19,7 +19,6 @@
#pragma once
#include <connectivity/dbtoolsdllapi.hxx>
#include "sdbcx/VIndex.hxx"
namespace connectivity

View file

@ -20,7 +20,6 @@
#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <connectivity/dbtoolsdllapi.hxx>
namespace connectivity
{

View file

@ -19,7 +19,6 @@
#pragma once
#include <connectivity/dbtoolsdllapi.hxx>
#include "sdbcx/VKey.hxx"
namespace connectivity

View file

@ -20,7 +20,6 @@
#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <connectivity/dbtoolsdllapi.hxx>
namespace connectivity
{

View file

@ -19,7 +19,6 @@
#pragma once
#include <connectivity/dbtoolsdllapi.hxx>
#include <connectivity/sdbcx/VColumn.hxx>
namespace connectivity::sdbcx

View file

@ -25,8 +25,6 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <cppuhelper/typeprovider.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <connectivity/dbexception.hxx>
#include <o3tl/unreachable.hxx>

View file

@ -18,7 +18,6 @@
*/
#include <sal/config.h>
#include <sal/log.hxx>
#include "mysqlc_connection.hxx"
#include "mysqlc_propertyids.hxx"
@ -27,7 +26,6 @@
#include "mysqlc_general.hxx"
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
using namespace connectivity::mysqlc;

View file

@ -35,7 +35,6 @@
************************************************************************/
#include <vector>
#include <time.h>
#include <string.h>
#include <memory>
@ -49,12 +48,8 @@
#include "pq_xusers.hxx"
#include <rtl/uuid.h>
#include <rtl/bootstrap.hxx>
#include <sal/log.hxx>
#include <o3tl/enumarray.hxx>
#include <osl/module.h>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>

View file

@ -23,7 +23,6 @@
#include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp>
#include <com/sun/star/sdbcx/XCreateCatalog.hpp>
#include <com/sun/star/embed/XTransactionListener.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/compbase.hxx>

View file

@ -22,7 +22,6 @@
#include <com/sun/star/sdbc/XDriver.hpp>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <comphelper/logging.hxx>

View file

@ -25,7 +25,6 @@
#include <com/sun/star/sdbc/XDriver.hpp>
#include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/compbase.hxx>

View file

@ -22,6 +22,7 @@
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <odbc/odbcbasedllapi.hxx>
#include <connectivity/odbc.hxx>
namespace connectivity::odbc
{

View file

@ -26,7 +26,6 @@
#include <vector>
#include <com/sun/star/sdbc/XDriverManager2.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XNamingService.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
@ -34,7 +33,6 @@
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
#include <comphelper/logging.hxx>
#include <osl/mutex.hxx>
#include <connectivity/DriversConfig.hxx>
namespace drivermanager

View file

@ -360,7 +360,6 @@
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/plugin/TestPlugIn.h>
#include <o3tl/cppunittraitshelper.hxx>
#include <rtl/ustring.hxx>
#include <cstddef>

View file

@ -46,7 +46,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Type.hxx>
#include <o3tl/cppunittraitshelper.hxx>
#include <osl/interlck.h>
#include <rtl/ustring.hxx>

View file

@ -33,7 +33,6 @@
#include <osl/interlck.h>
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/instance.hxx>
#include <osl/diagnose.h>
#include <typelib/typedescription.h>

View file

@ -26,7 +26,6 @@
#include <osl/module.hxx>
#include <rtl/malformeduriexception.hxx>
#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>

View file

@ -22,6 +22,10 @@ excludelist:
cppuhelper/source/exc_thrower.cxx:
# No hpp -> hdl switch
- cppuhelper/detail/XExceptionThrower.hpp
# Needed for mobile versions
- sal/log.hxx
- com/sun/star/ucb/InteractiveAugmentedIOException.hpp
- com/sun/star/ucb/NameClashException.hpp
# Needed for cppu::throwException
- cppuhelper/exc_hlp.hxx
cppuhelper/source/findsofficepath.c:
@ -46,3 +50,10 @@ excludelist:
cppuhelper/source/tdmgr.cxx:
# Needed to inherit linker visibility from function declaration
- cppuhelper/bootstrap.hxx
cppuhelper/source/typemanager.cxx:
# Actually used
- com/sun/star/reflection/TypeDescriptionSearchDepth.hpp
- com/sun/star/uno/TypeClass.hpp
cppuhelper/source/servicemanager.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp

View file

@ -17,11 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <config_features.h>
#include <rtl/instance.hxx>
#include <osl/diagnose.h>
#include <osl/doublecheckedlocking.h>
#include <sal/log.hxx>
#include <uno/dispatcher.hxx>
#include <uno/lbnames.h>

View file

@ -16,7 +16,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
bool cppu::supportsService(
css::lang::XServiceInfo * implementation, OUString const & name)

View file

@ -13,6 +13,9 @@ excludelist:
cui/source/dialogs/DiagramDialog.cxx:
# Needed for direct member access
- com/sun/star/beans/PropertyValue.hpp
cui/source/dialogs/pastedlg.cxx:
# Needed for direct member access
- com/sun/star/beans/PropertyValue.hpp
cui/source/dialogs/SignSignatureLineDialog.cxx:
# Actually used
- com/sun/star/graphic/XGraphic.hpp
@ -21,6 +24,15 @@ excludelist:
# Actually used
- com/sun/star/linguistic2/XMeaning.hpp
- com/sun/star/linguistic2/XThesaurus.hpp
cui/source/dialogs/tipofthedaydlg.cxx:
# Needed for direct member access
- com/sun/star/beans/PropertyValue.hpp
cui/source/dialogs/toolbarmodedlg.cxx:
# Needed for direct member access
- com/sun/star/beans/PropertyValue.hpp
cui/source/tabpages/numfmt.cxx:
# Actually used
- com/sun/star/frame/XModel.hpp
cui/source/customize/cfg.cxx:
# Actually used
- com/sun/star/ui/dialogs/XFilePicker3.hpp

View file

@ -9,9 +9,6 @@
#include <sal/config.h>
#include <test/screenshot_test.hxx>
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
#include <sfx2/app.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svxdlg.hxx>
#include <vcl/abstdlg.hxx>

View file

@ -9,9 +9,6 @@
#include <sal/config.h>
#include <test/screenshot_test.hxx>
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
#include <sfx2/app.hxx>
#include <vcl/abstdlg.hxx>
using namespace ::com::sun::star;

View file

@ -9,9 +9,6 @@
#include <sal/config.h>
#include <test/screenshot_test.hxx>
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
#include <sfx2/app.hxx>
#include <vcl/abstdlg.hxx>
using namespace ::com::sun::star;

View file

@ -9,9 +9,6 @@
#include <sal/config.h>
#include <test/screenshot_test.hxx>
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
#include <sfx2/app.hxx>
#include <vcl/abstdlg.hxx>
using namespace ::com::sun::star;

View file

@ -32,10 +32,6 @@
#include <strings.hrc>
#include <comphelper/namedvaluecollection.hxx>
#include <algorithm>
#include <iterator>
#include <set>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;

View file

@ -10,6 +10,8 @@
#include <config_folders.h>
#include <AdditionsDialog.hxx>
#include <dialmgr.hxx>
#include <strings.hrc>
#include <sal/log.hxx>
@ -35,6 +37,7 @@
#include <ucbhelper/content.hxx>
#include <com/sun/star/deployment/DeploymentException.hpp>
#include <com/sun/star/deployment/ExtensionManager.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/ucb/CommandAbortedException.hpp>
#include <com/sun/star/ucb/CommandFailedException.hpp>

View file

@ -42,7 +42,6 @@
#include <com/sun/star/text/XTextContent.hpp>
#include <com/sun/star/text/XTextViewCursor.hpp>
#include <com/sun/star/text/XTextViewCursorSupplier.hpp>
#include <config_fuzzers.h>
#include <com/sun/star/drawing/XDrawView.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>

View file

@ -11,11 +11,7 @@
#include <utility>
#include <config_folders.h>
#include <vcl/weld.hxx>
#include <sal/log.hxx>
#include <rtl/bootstrap.hxx>
#include <tools/stream.hxx>
using namespace css;
using namespace css::uno;

View file

@ -20,7 +20,6 @@
#include <about.hxx>
#include <osl/process.h> //osl_getProcessLocale
#include <rtl/character.hxx> //rtl::isAsciiHexDigit
#include <sal/log.hxx> //SAL_WARN
#include <vcl/settings.hxx> //GetSettings
#include <vcl/svapp.hxx> //Application::

View file

@ -36,7 +36,6 @@
#include <svtools/strings.hrc>
#include <svtools/svtresid.hxx>
#include <sal/log.hxx>
#include <tools/urlobj.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>

View file

@ -26,8 +26,8 @@
#include <svtools/strings.hrc>
#include <svtools/svtresid.hxx>
#include <tools/lineend.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/dispatchcommand.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
SvPasteObjectDialog::SvPasteObjectDialog(weld::Window* pParent)
: GenericDialogController(pParent, "cui/ui/pastespecial.ui", "PasteSpecialDialog")

View file

@ -33,7 +33,6 @@
#include <com/sun/star/util/URLTransformer.hpp>
#include <comphelper/dispatchcommand.hxx>
#include <comphelper/propertysequence.hxx>
#include <dialmgr.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <officecfg/Office/Common.hxx>
@ -41,6 +40,7 @@
#include <rtl/bootstrap.hxx>
#include <unotools/resmgr.hxx>
#include <unotools/configmgr.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
TipOfTheDayDialog::TipOfTheDayDialog(weld::Window* pParent)
: GenericDialogController(pParent, "cui/ui/tipofthedaydialog.ui", "TipOfTheDayDialog")

View file

@ -14,7 +14,6 @@
#include <com/sun/star/frame/ModuleManager.hpp>
#include <comphelper/dispatchcommand.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/types.hxx>
#include <dialmgr.hxx>
#include <officecfg/Office/Common.hxx>
@ -28,6 +27,7 @@
#include <vcl/graphicfilter.hxx>
#include <vcl/EnumContext.hxx>
#include <vcl/weld.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
static OUString GetCurrentApp()
{

View file

@ -25,7 +25,6 @@
#include <tools/link.hxx>
#include <com/sun/star/frame/XFrame.hpp>
#include <about.hxx>
#include <cfgutil.hxx>
#include <cui/cuicharmap.hxx>
#include <cuifmsearch.hxx>
@ -56,7 +55,6 @@
#include <SpellDialog.hxx>
#include <srchxtra.hxx>
#include <thesdlg.hxx>
#include <tipofthedaydlg.hxx>
#include <transfrm.hxx>
#include <zoom.hxx>
#include <AdditionsDialog.hxx>

View file

@ -10,13 +10,9 @@
#pragma once
#include <vcl/svapp.hxx>
#include <salhelper/thread.hxx>
#include <rtl/ref.hxx>
#include <vcl/weld.hxx>
#include <strings.hrc>
#include <comphelper/string.hxx>
#include "dialmgr.hxx"
// Detect changes on the UI
#include <vcl/timer.hxx>
@ -26,20 +22,14 @@
// Extension Manager Connection
#include <com/sun/star/deployment/XExtensionManager.hpp>
#include <com/sun/star/deployment/ExtensionManager.hpp>
#include <com/sun/star/deployment/XPackageManager.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/task/XJob.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/xml/dom/XDocumentBuilder.hpp>
#include <com/sun/star/ucb/XSimpleFileAccess3.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/ucb/XProgressHandler.hpp>
#include <cppuhelper/implbase.hxx>
#include <atomic>
class AdditionsDialog;
class SearchAndParseThread;
class AdditionsItem;

View file

@ -18,7 +18,6 @@
*/
#pragma once
#include <vcl/bitmapex.hxx>
#include <vcl/weld.hxx>
class AboutDialog : public weld::GenericDialogController

View file

@ -20,7 +20,6 @@
#include <sfx2/tabdlg.hxx>
#include <svx/langbox.hxx>
#include <vcl/metric.hxx>
#include <map>
#include <set>

View file

@ -25,6 +25,7 @@
#include <svx/frmdirlbox.hxx>
#include <i18nutil/paper.hxx>
#include <svx/flagsdef.hxx>
#include <vcl/print.hxx>
// class SvxPageDescPage -------------------------------------------------
/*

View file

@ -21,7 +21,6 @@
#include <memory>
#include <sfx2/basedlgs.hxx>
#include <vcl/abstdlg.hxx>
#include <vcl/weld.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>

View file

@ -39,7 +39,6 @@
#include <com/sun/star/task/InteractionHandler.hpp>
#include <sal/types.h>
#include <sal/log.hxx>
#include <rtl/ustring.hxx>
#include <osl/file.hxx>
#include <com/sun/star/configuration/theDefaultProvider.hpp>

View file

@ -38,7 +38,6 @@
#include <editeng/wrlmitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/flstitem.hxx>
#include <editeng/autokernitem.hxx>
#include <editeng/colritem.hxx>