diff options
Diffstat (limited to 'oox')
25 files changed, 12 insertions, 37 deletions
diff --git a/oox/IwyuFilter_oox.yaml b/oox/IwyuFilter_oox.yaml index d652ce192592..73ee5e144247 100644 --- a/oox/IwyuFilter_oox.yaml +++ b/oox/IwyuFilter_oox.yaml @@ -7,6 +7,9 @@ excludelist: oox/source/core/filterbase.cxx: # Actually used - comphelper/scopeguard.hxx + oox/source/core/contexthandler2.cxx: + # Needed for template + - com/sun/star/frame/XModel.hpp oox/source/core/fragmenthandler2.cxx: # Needed for template - com/sun/star/frame/XModel.hpp @@ -76,6 +79,12 @@ excludelist: oox/source/drawingml/diagram/diagram.cxx: # Actually used - com/sun/star/xml/dom/XDocument.hpp + oox/source/export/drawingml.cxx: + # Needed for template + - com/sun/star/text/XTextFrame.hpp + oox/source/export/vmlexport.cxx: + # Needed for template + - com/sun/star/text/XTextFrame.hpp oox/source/helper/binarystreambase.cxx: # Actually used - com/sun/star/io/XSeekable.hpp diff --git a/oox/inc/drawingml/chart/datasourcecontext.hxx b/oox/inc/drawingml/chart/datasourcecontext.hxx index ec64c4768180..7edb029eb336 100644 --- a/oox/inc/drawingml/chart/datasourcecontext.hxx +++ b/oox/inc/drawingml/chart/datasourcecontext.hxx @@ -22,7 +22,6 @@ #include <memory> #include <drawingml/chart/chartcontextbase.hxx> -#include <svl/zforlist.hxx> class SvNumberFormatter; diff --git a/oox/inc/drawingml/textliststyle.hxx b/oox/inc/drawingml/textliststyle.hxx index 5f986ff45afa..464e48756165 100644 --- a/oox/inc/drawingml/textliststyle.hxx +++ b/oox/inc/drawingml/textliststyle.hxx @@ -22,7 +22,6 @@ #include <drawingml/textparagraphproperties.hxx> #include <array> -#include <memory> namespace oox::drawingml { diff --git a/oox/source/core/fragmenthandler2.cxx b/oox/source/core/fragmenthandler2.cxx index 3ee410fad854..e4eeef076f41 100644 --- a/oox/source/core/fragmenthandler2.cxx +++ b/oox/source/core/fragmenthandler2.cxx @@ -24,7 +24,6 @@ #include <oox/core/xmlfilterbase.hxx> #include <oox/helper/attributelist.hxx> #include <oox/token/namespaces.hxx> -#include <oox/token/tokens.hxx> namespace oox::core { diff --git a/oox/source/docprop/ooxmldocpropimport.cxx b/oox/source/docprop/ooxmldocpropimport.cxx index 30c058e209a4..f58476c5688f 100644 --- a/oox/source/docprop/ooxmldocpropimport.cxx +++ b/oox/source/docprop/ooxmldocpropimport.cxx @@ -29,7 +29,6 @@ #include <com/sun/star/xml/sax/InputSource.hpp> #include <oox/core/fastparser.hxx> #include <oox/core/relations.hxx> -#include <oox/helper/containerhelper.hxx> #include "docprophandler.hxx" #include <comphelper/sequence.hxx> diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx index d4fa267da536..72253723f91c 100644 --- a/oox/source/drawingml/chart/seriesconverter.cxx +++ b/oox/source/drawingml/chart/seriesconverter.cxx @@ -45,7 +45,6 @@ #include <drawingml/chart/typegroupmodel.hxx> #include <drawingml/fillproperties.hxx> #include <oox/core/xmlfilterbase.hxx> -#include <oox/helper/containerhelper.hxx> #include <oox/helper/modelobjecthelper.hxx> #include <oox/token/properties.hxx> #include <oox/token/tokens.hxx> diff --git a/oox/source/drawingml/chart/titleconverter.cxx b/oox/source/drawingml/chart/titleconverter.cxx index 0faf8aa5f79e..113c7fea7a9e 100644 --- a/oox/source/drawingml/chart/titleconverter.cxx +++ b/oox/source/drawingml/chart/titleconverter.cxx @@ -36,7 +36,6 @@ #include <drawingml/textparagraph.hxx> #include <drawingml/chart/datasourceconverter.hxx> #include <drawingml/chart/titlemodel.hxx> -#include <oox/helper/containerhelper.hxx> #include <oox/token/properties.hxx> #include <oox/token/tokens.hxx> #include <com/sun/star/chart2/RelativePosition.hpp> diff --git a/oox/source/drawingml/chart/typegroupconverter.cxx b/oox/source/drawingml/chart/typegroupconverter.cxx index 36c035efcc60..e8d8bb47bc33 100644 --- a/oox/source/drawingml/chart/typegroupconverter.cxx +++ b/oox/source/drawingml/chart/typegroupconverter.cxx @@ -41,7 +41,6 @@ #include <drawingml/chart/seriesconverter.hxx> #include <drawingml/chart/typegroupmodel.hxx> #include <oox/core/xmlfilterbase.hxx> -#include <oox/helper/containerhelper.hxx> #include <oox/token/namespaces.hxx> #include <oox/token/properties.hxx> #include <oox/token/tokens.hxx> diff --git a/oox/source/drawingml/drawingmltypes.cxx b/oox/source/drawingml/drawingmltypes.cxx index 3a94a449f317..6ce901ab1ef9 100644 --- a/oox/source/drawingml/drawingmltypes.cxx +++ b/oox/source/drawingml/drawingmltypes.cxx @@ -23,7 +23,6 @@ #include <com/sun/star/drawing/Hatch.hpp> #include <com/sun/star/style/CaseMap.hpp> #include <com/sun/star/xml/sax/XFastAttributeList.hpp> -#include <o3tl/safeint.hxx> #include <osl/diagnose.h> #include <sax/tools/converter.hxx> #include <oox/token/tokens.hxx> diff --git a/oox/source/drawingml/lineproperties.cxx b/oox/source/drawingml/lineproperties.cxx index dedde505e61a..2d10e82871ab 100644 --- a/oox/source/drawingml/lineproperties.cxx +++ b/oox/source/drawingml/lineproperties.cxx @@ -31,7 +31,6 @@ #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> #include <oox/drawingml/drawingmltypes.hxx> #include <oox/drawingml/shapepropertymap.hxx> -#include <oox/helper/containerhelper.hxx> #include <oox/helper/graphichelper.hxx> #include <oox/token/tokens.hxx> diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 3fbdc37933c8..f7161e01291f 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -59,8 +59,8 @@ #include <tools/gen.hxx> #include <tools/globname.hxx> #include <tools/mapunit.hxx> -#include <tools/UnitConversion.hxx> #include <editeng/unoprnms.hxx> +#include <com/sun/star/awt/FontSlant.hpp> #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/awt/XBitmap.hpp> #include <com/sun/star/awt/FontWeight.hpp> @@ -75,6 +75,7 @@ #include <com/sun/star/drawing/GraphicExportFilter.hpp> #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> +#include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeTextPathMode.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <com/sun/star/text/XText.hpp> @@ -87,10 +88,10 @@ #include <basegfx/point/b2dpoint.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> -#include <basegfx/matrix/b2dhommatrixtools.hxx> #include <com/sun/star/document/XActionLockable.hpp> #include <com/sun/star/chart2/data/XDataReceiver.hpp> #include <com/sun/star/text/GraphicCrop.hpp> +#include <svx/svdobj.hxx> #include <svx/svdtrans.hxx> #include <tools/stream.hxx> #include <unotools/streamwrap.hxx> @@ -100,8 +101,6 @@ #include <vcl/svapp.hxx> #include <vcl/wmfexternal.hxx> #include <sal/log.hxx> -#include <svx/unoapi.hxx> -#include <svx/unoshape.hxx> #include <svx/sdtaitm.hxx> using namespace ::oox::core; diff --git a/oox/source/drawingml/table/tableproperties.cxx b/oox/source/drawingml/table/tableproperties.cxx index 1622b8fc22ca..07f670df1976 100644 --- a/oox/source/drawingml/table/tableproperties.cxx +++ b/oox/source/drawingml/table/tableproperties.cxx @@ -19,8 +19,6 @@ #include <drawingml/table/tableproperties.hxx> #include <drawingml/table/tablestylelist.hxx> -#include <drawingml/textbody.hxx> -#include <drawingml/textparagraph.hxx> #include <oox/drawingml/drawingmltypes.hxx> #include <com/sun/star/table/XTable.hpp> #include <com/sun/star/table/XMergeableCellRange.hpp> diff --git a/oox/source/drawingml/textcharacterpropertiescontext.cxx b/oox/source/drawingml/textcharacterpropertiescontext.cxx index 31ad3bee7c9f..5ec22d45e2a4 100644 --- a/oox/source/drawingml/textcharacterpropertiescontext.cxx +++ b/oox/source/drawingml/textcharacterpropertiescontext.cxx @@ -29,7 +29,6 @@ #include <oox/token/namespaces.hxx> #include <oox/token/tokens.hxx> #include <sax/fastattribs.hxx> -#include <sax/fastparser.hxx> #include <sal/log.hxx> diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx b/oox/source/drawingml/textparagraphpropertiescontext.cxx index e7e77da8564f..20810ce1b5c8 100644 --- a/oox/source/drawingml/textparagraphpropertiescontext.cxx +++ b/oox/source/drawingml/textparagraphpropertiescontext.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <svx/unopage.hxx> #include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <tools/UnitConversion.hxx> @@ -41,7 +40,6 @@ #include <oox/token/namespaces.hxx> #include <oox/token/properties.hxx> #include <oox/token/tokens.hxx> -#include <tools/helpers.hxx> using namespace ::oox::core; using namespace ::com::sun::star::uno; diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 491211bd1999..8dd99152aadf 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -98,7 +98,6 @@ #include "ColorPropertySet.hxx" #include <svl/numformat.hxx> -#include <svl/zforlist.hxx> #include <svl/numuno.hxx> #include <tools/diagnose_ex.h> #include <sal/log.hxx> diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 55cea6049c83..cdc026375d10 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -107,7 +107,6 @@ #include <comphelper/xmltools.hxx> #include <o3tl/any.hxx> #include <o3tl/safeint.hxx> -#include <o3tl/unit_conversion.hxx> #include <tools/stream.hxx> #include <unotools/fontdefs.hxx> #include <vcl/cvtgrf.hxx> @@ -124,7 +123,6 @@ #include <editeng/escapementitem.hxx> #include <svx/svdoashp.hxx> #include <svx/svdomedia.hxx> -#include <svx/unoapi.hxx> #include <svx/unoshape.hxx> #include <svx/EnhancedCustomShape2d.hxx> #include <drawingml/presetgeometrynames.hxx> diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index 54c6a58299e9..2617e3c76d1b 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -62,7 +62,6 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/drawing/XDrawPages.hpp> #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> -#include <com/sun/star/document/XEventsSupplier.hpp> #include <com/sun/star/presentation/ClickAction.hpp> #include <tools/globname.hxx> #include <comphelper/classids.hxx> @@ -76,7 +75,6 @@ #include <svx/svdoashp.hxx> #include <svx/svdoole2.hxx> #include <tools/diagnose_ex.h> -#include <svx/unoapi.hxx> #include <oox/export/chartexport.hxx> #include <oox/mathml/export.hxx> #include <basegfx/numeric/ftools.hxx> diff --git a/oox/source/helper/binarystreambase.cxx b/oox/source/helper/binarystreambase.cxx index a75832fa475f..1e3ef11ae9ea 100644 --- a/oox/source/helper/binarystreambase.cxx +++ b/oox/source/helper/binarystreambase.cxx @@ -21,7 +21,6 @@ #include <oox/helper/helper.hxx> #include <com/sun/star/io/XSeekable.hpp> -#include <osl/diagnose.h> #include <tools/diagnose_ex.h> namespace oox { diff --git a/oox/source/helper/graphichelper.cxx b/oox/source/helper/graphichelper.cxx index 8ff8c7939f4f..f327d7eba943 100644 --- a/oox/source/helper/graphichelper.cxx +++ b/oox/source/helper/graphichelper.cxx @@ -21,12 +21,8 @@ #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/awt/XDevice.hpp> -#include <com/sun/star/awt/XUnitConversion.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/graphic/GraphicProvider.hpp> -#include <com/sun/star/util/MeasureUnit.hpp> #include <com/sun/star/graphic/GraphicMapper.hpp> #include <osl/diagnose.h> #include <sal/log.hxx> @@ -37,7 +33,6 @@ #include <vcl/outdev.hxx> #include <tools/gen.hxx> #include <tools/diagnose_ex.h> -#include <comphelper/sequence.hxx> #include <oox/helper/containerhelper.hxx> #include <oox/helper/propertyset.hxx> #include <oox/token/properties.hxx> diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx index b703f615d0cf..49aa9cae139f 100644 --- a/oox/source/ppt/pptshape.cxx +++ b/oox/source/ppt/pptshape.cxx @@ -22,7 +22,6 @@ #include <drawingml/textbody.hxx> #include <drawingml/textparagraph.hxx> #include <drawingml/textfield.hxx> -#include <drawingml/table/tableproperties.hxx> #include <editeng/flditem.hxx> #include <com/sun/star/text/XTextField.hpp> diff --git a/oox/source/ppt/presPropsfragmenthandler.cxx b/oox/source/ppt/presPropsfragmenthandler.cxx index 708f194853fb..4792d07c0d80 100644 --- a/oox/source/ppt/presPropsfragmenthandler.cxx +++ b/oox/source/ppt/presPropsfragmenthandler.cxx @@ -12,7 +12,6 @@ #include <com/sun/star/presentation/XPresentationSupplier.hpp> #include <com/sun/star/presentation/XCustomPresentationSupplier.hpp> #include <com/sun/star/container/XNamed.hpp> -#include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/drawing/XDrawPages.hpp> #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> diff --git a/oox/source/ppt/slidetransition.cxx b/oox/source/ppt/slidetransition.cxx index a5c756e62b59..3ec5100583c1 100644 --- a/oox/source/ppt/slidetransition.cxx +++ b/oox/source/ppt/slidetransition.cxx @@ -23,7 +23,6 @@ #include <com/sun/star/animations/TransitionSubType.hpp> #include <com/sun/star/animations/XTransitionFilter.hpp> -#include <osl/diagnose.h> #include <sal/log.hxx> #include <tools/color.hxx> #include <tools/diagnose_ex.h> diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx index 3454c0e03f87..6eb9e5ce9083 100644 --- a/oox/source/shape/ShapeContextHandler.cxx +++ b/oox/source/shape/ShapeContextHandler.cxx @@ -35,9 +35,7 @@ #include <oox/token/tokens.hxx> #include <oox/drawingml/theme.hxx> #include <oox/drawingml/themefragmenthandler.hxx> -#include <cppuhelper/supportsservice.hxx> #include <memory> -#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx index c7ff6796db21..5474f782aa64 100644 --- a/oox/source/vml/vmlformatting.cxx +++ b/oox/source/vml/vmlformatting.cxx @@ -20,7 +20,6 @@ #include <sal/config.h> #include <cstdlib> -#include <limits> #include <oox/vml/vmlformatting.hxx> diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx index 38b632be843b..f87cb12a6899 100644 --- a/oox/source/vml/vmlshape.cxx +++ b/oox/source/vml/vmlshape.cxx @@ -63,14 +63,12 @@ #include <oox/core/xmlfilterbase.hxx> #include <oox/helper/containerhelper.hxx> #include <svx/EnhancedCustomShapeTypeNames.hxx> -#include <svx/unoapi.hxx> #include <svx/sdtagitm.hxx> #include <svx/svdobj.hxx> #include <comphelper/sequence.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/propertyvalue.hxx> #include <comphelper/storagehelper.hxx> -#include <comphelper/sequenceashashmap.hxx> using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Any; |