diff options
Diffstat (limited to 'xmloff/source')
153 files changed, 8 insertions, 303 deletions
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx index 63ef21582ff4..39d93cb26662 100644 --- a/xmloff/source/chart/SchXMLAxisContext.cxx +++ b/xmloff/source/chart/SchXMLAxisContext.cxx @@ -27,7 +27,6 @@ #include <xmloff/xmlement.hxx> #include <xmloff/xmlstyle.hxx> #include <xmloff/prstylei.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include <rtl/math.hxx> diff --git a/xmloff/source/chart/SchXMLCalculationSettingsContext.cxx b/xmloff/source/chart/SchXMLCalculationSettingsContext.cxx index fbe54c96d0f8..d0b329e486fb 100644 --- a/xmloff/source/chart/SchXMLCalculationSettingsContext.cxx +++ b/xmloff/source/chart/SchXMLCalculationSettingsContext.cxx @@ -25,7 +25,6 @@ #include <sax/tools/converter.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx index a6420f79e7f2..b2def8e37fd1 100644 --- a/xmloff/source/chart/SchXMLChartContext.cxx +++ b/xmloff/source/chart/SchXMLChartContext.cxx @@ -42,10 +42,7 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/chart/XChartDocument.hpp> #include <com/sun/star/chart/XDiagram.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/drawing/XDrawPageSupplier.hpp> -#include <com/sun/star/drawing/XDrawPage.hpp> -#include <com/sun/star/chart/ChartDataRowSource.hpp> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/embed/XVisualObject.hpp> diff --git a/xmloff/source/chart/SchXMLDataTableContext.cxx b/xmloff/source/chart/SchXMLDataTableContext.cxx index 20846c5d95a8..107dca2d1329 100644 --- a/xmloff/source/chart/SchXMLDataTableContext.cxx +++ b/xmloff/source/chart/SchXMLDataTableContext.cxx @@ -21,8 +21,7 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> -#include <xmloff/xmluconv.hxx> +#include <xmloff/xmltoken.hxx> #include <comphelper/processfactory.hxx> #include <com/sun/star/chart/XChartDocument.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> diff --git a/xmloff/source/chart/SchXMLLegendContext.cxx b/xmloff/source/chart/SchXMLLegendContext.cxx index b9e652b187bd..712ca3256d3e 100644 --- a/xmloff/source/chart/SchXMLLegendContext.cxx +++ b/xmloff/source/chart/SchXMLLegendContext.cxx @@ -22,7 +22,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include <sal/log.hxx> diff --git a/xmloff/source/chart/SchXMLParagraphContext.cxx b/xmloff/source/chart/SchXMLParagraphContext.cxx index 84e22c5a5c71..9ed285916188 100644 --- a/xmloff/source/chart/SchXMLParagraphContext.cxx +++ b/xmloff/source/chart/SchXMLParagraphContext.cxx @@ -24,9 +24,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/namespacemap.hxx> - -#include <com/sun/star/xml/sax/XAttributeList.hpp> using namespace com::sun::star; using namespace ::xmloff::token; diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index d24b9c29f380..78dcf0323e15 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -29,11 +29,9 @@ #include <comphelper/diagnose_ex.hxx> #include <utility> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/prstylei.hxx> #include <xmloff/xmlstyle.hxx> -#include <oox/helper/containerhelper.hxx> #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Size.hpp> @@ -49,7 +47,6 @@ #include <com/sun/star/drawing/CameraGeometry.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> using namespace com::sun::star; using namespace ::xmloff::token; diff --git a/xmloff/source/chart/SchXMLPropertyMappingContext.cxx b/xmloff/source/chart/SchXMLPropertyMappingContext.cxx index e48cc684aa14..325ee10377fe 100644 --- a/xmloff/source/chart/SchXMLPropertyMappingContext.cxx +++ b/xmloff/source/chart/SchXMLPropertyMappingContext.cxx @@ -12,8 +12,6 @@ #include <utility> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> -#include <SchXMLImport.hxx> #include <sal/log.hxx> #include <com/sun/star/chart2/data/XLabeledDataSequence2.hpp> diff --git a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx index 434459813bc4..333e9a7ea9bd 100644 --- a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx +++ b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx @@ -25,7 +25,6 @@ #include <sal/log.hxx> #include <utility> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/prstylei.hxx> @@ -36,7 +35,6 @@ #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/chart2/RegressionEquation.hpp> #include <com/sun/star/chart2/RelativePosition.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> using namespace com::sun::star; using namespace xmloff::token; diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx index 2aa19d55af2f..4b6404e0a1ed 100644 --- a/xmloff/source/chart/SchXMLSeries2Context.cxx +++ b/xmloff/source/chart/SchXMLSeries2Context.cxx @@ -52,7 +52,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/namespacemap.hxx> #include <xmloff/SchXMLSeriesHelper.hxx> -#include <SchXMLImport.hxx> #include <xmloff/prstylei.hxx> #include <comphelper/diagnose_ex.hxx> diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx index ac0e9aeed524..5aa095211de9 100644 --- a/xmloff/source/chart/SchXMLTableContext.cxx +++ b/xmloff/source/chart/SchXMLTableContext.cxx @@ -22,7 +22,6 @@ #include "SchXMLTableContext.hxx" #include "SchXMLParagraphContext.hxx" #include "SchXMLTextListContext.hxx" -#include <SchXMLImport.hxx> #include "SchXMLTools.hxx" #include "transporttypes.hxx" #include <XMLStringBufferImportContext.hxx> @@ -31,9 +30,7 @@ #include <sal/log.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/namespacemap.hxx> #include <comphelper/sequence.hxx> -#include <comphelper/string.hxx> #include <com/sun/star/chart2/XAnyDescriptionAccess.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> diff --git a/xmloff/source/chart/XMLChartStyleContext.cxx b/xmloff/source/chart/XMLChartStyleContext.cxx index fd8ff45d162e..0e41ea40202d 100644 --- a/xmloff/source/chart/XMLChartStyleContext.cxx +++ b/xmloff/source/chart/XMLChartStyleContext.cxx @@ -39,7 +39,6 @@ using ::xmloff::token::XML_PARAGRAPH_PROPERTIES; using ::xmloff::token::XML_GRAPHIC_PROPERTIES; using ::xmloff::token::XML_CHART_PROPERTIES; - void XMLChartStyleContext::SetAttribute( sal_Int32 nElement, const OUString& rValue ) diff --git a/xmloff/source/chart/XMLSymbolImageContext.cxx b/xmloff/source/chart/XMLSymbolImageContext.cxx index 646f1b8c0e62..f26098af1ba5 100644 --- a/xmloff/source/chart/XMLSymbolImageContext.cxx +++ b/xmloff/source/chart/XMLSymbolImageContext.cxx @@ -19,12 +19,9 @@ #include "XMLSymbolImageContext.hxx" #include <xmloff/xmltoken.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/XMLBase64ImportContext.hxx> -#include <com/sun/star/io/XOutputStream.hpp> #include <com/sun/star/graphic/XGraphic.hpp> #include <sal/log.hxx> diff --git a/xmloff/source/core/DomBuilderContext.cxx b/xmloff/source/core/DomBuilderContext.cxx index 594fc17d08d7..81e0e211002d 100644 --- a/xmloff/source/core/DomBuilderContext.cxx +++ b/xmloff/source/core/DomBuilderContext.cxx @@ -29,7 +29,6 @@ #include <com/sun/star/xml/dom/DocumentBuilder.hpp> #include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/xml/dom/XElement.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/xml/dom/NodeType.hpp> #include <rtl/ustring.hxx> diff --git a/xmloff/source/core/DomExport.cxx b/xmloff/source/core/DomExport.cxx index 585c2b4572b4..ce406b46c66a 100644 --- a/xmloff/source/core/DomExport.cxx +++ b/xmloff/source/core/DomExport.cxx @@ -32,7 +32,6 @@ #include <com/sun/star/xml/dom/XNamedNodeMap.hpp> #include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> diff --git a/xmloff/source/core/namespacemap.cxx b/xmloff/source/core/namespacemap.cxx index 1d844fe04cd9..459d78323b83 100644 --- a/xmloff/source/core/namespacemap.cxx +++ b/xmloff/source/core/namespacemap.cxx @@ -20,7 +20,6 @@ #include <sal/config.h> #include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx index 676c1d75ac65..d3a4f5550eee 100644 --- a/xmloff/source/core/unoatrcn.cxx +++ b/xmloff/source/core/unoatrcn.cxx @@ -21,7 +21,6 @@ #include <com/sun/star/xml/AttributeData.hpp> #include <o3tl/any.hxx> #include <rtl/ustrbuf.hxx> -#include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> #include <limits.h> diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx index df99c4a281fb..bddd1f115d62 100644 --- a/xmloff/source/core/xmlerror.cxx +++ b/xmloff/source/core/xmlerror.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> - #include <rtl/ustrbuf.hxx> using ::com::sun::star::uno::Any; diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index bb7ef1cc695d..140b264f6d41 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -34,7 +34,6 @@ #include <comphelper/genericpropertyset.hxx> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/io/XInputStream.hpp> -#include <com/sun/star/document/XBinaryStreamResolver.hpp> #include <com/sun/star/document/XEmbeddedObjectResolver.hpp> #include <com/sun/star/text/XTextContent.hpp> #include <com/sun/star/xml/sax/SAXInvalidCharacterException.hpp> diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx index 360763349c93..5b792ce2debe 100644 --- a/xmloff/source/core/xmlictxt.cxx +++ b/xmloff/source/core/xmlictxt.cxx @@ -17,13 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlictxt.hxx> -#include <sax/fastattribs.hxx> -#include <comphelper/attributelist.hxx> #include <cppuhelper/queryinterface.hxx> -#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 209c141fb0d4..628f19a85b68 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -46,7 +46,6 @@ #include <xmloff/xmlerror.hxx> #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/lang/ServiceNotRegisteredException.hpp> #include <com/sun/star/io/XOutputStream.hpp> #include <com/sun/star/util/MeasureUnit.hpp> @@ -63,8 +62,6 @@ #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <comphelper/fileformat.h> #include <comphelper/namecontainer.hxx> -#include <comphelper/servicehelper.hxx> -#include <comphelper/string.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <comphelper/extract.hxx> diff --git a/xmloff/source/draw/QRCodeContext.cxx b/xmloff/source/draw/QRCodeContext.cxx index 597838f78cad..06477be637e0 100644 --- a/xmloff/source/draw/QRCodeContext.cxx +++ b/xmloff/source/draw/QRCodeContext.cxx @@ -10,17 +10,13 @@ #include "QRCodeContext.hxx" #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/embed/XStorage.hpp> -#include <com/sun/star/frame/XStorable.hpp> #include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/drawing/BarCode.hpp> #include <com/sun/star/drawing/BarCodeErrorCorrection.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <sax/tools/converter.hxx> #include <rtl/ustring.hxx> @@ -29,9 +25,6 @@ using namespace css; using namespace css::xml::sax; using namespace css::uno; using namespace css::drawing; -using namespace css::embed; -using namespace css::frame; -using namespace css::io; using namespace css::graphic; using namespace xmloff::token; diff --git a/xmloff/source/draw/SignatureLineContext.cxx b/xmloff/source/draw/SignatureLineContext.cxx index 0217156e35fb..29bc3f79778c 100644 --- a/xmloff/source/draw/SignatureLineContext.cxx +++ b/xmloff/source/draw/SignatureLineContext.cxx @@ -16,7 +16,6 @@ #include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/security/DocumentDigitalSignatures.hpp> #include <com/sun/star/security/XDocumentDigitalSignatures.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <sal/log.hxx> #include <comphelper/processfactory.hxx> diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx index 069d5025dea0..3c0b8729fe43 100644 --- a/xmloff/source/draw/XMLImageMapContext.cxx +++ b/xmloff/source/draw/XMLImageMapContext.cxx @@ -23,16 +23,13 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/document/XEventsSupplier.hpp> #include <com/sun/star/awt/Rectangle.hpp> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include <xexptran.hxx> #include <xmloff/xmlerror.hxx> diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx index e97414b914a2..a604de1cd347 100644 --- a/xmloff/source/draw/XMLNumberStyles.cxx +++ b/xmloff/source/draw/XMLNumberStyles.cxx @@ -22,7 +22,6 @@ #include <utility> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> #include <o3tl/string_view.hxx> diff --git a/xmloff/source/draw/XMLReplacementImageContext.cxx b/xmloff/source/draw/XMLReplacementImageContext.cxx index 5321d55788b6..da49d45e86b7 100644 --- a/xmloff/source/draw/XMLReplacementImageContext.cxx +++ b/xmloff/source/draw/XMLReplacementImageContext.cxx @@ -23,7 +23,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/XMLBase64ImportContext.hxx> #include <XMLReplacementImageContext.hxx> #include <sal/log.hxx> diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx index 90f5a5a609d4..9e5d78ef3236 100644 --- a/xmloff/source/draw/animimp.cxx +++ b/xmloff/source/draw/animimp.cxx @@ -19,15 +19,12 @@ #include <sal/config.h> -#include <string_view> - #include <xmloff/unointerfacetouniqueidentifiermapper.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/presentation/AnimationEffect.hpp> #include <com/sun/star/presentation/AnimationSpeed.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/drawing/XShape.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <sax/tools/converter.hxx> #include <sal/log.hxx> @@ -37,7 +34,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmluconv.hxx> -#include <xmloff/namespacemap.hxx> #include <anim.hxx> #include <animimp.hxx> diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx index 2b8921ee27fa..f4635d182377 100644 --- a/xmloff/source/draw/eventimp.cxx +++ b/xmloff/source/draw/eventimp.cxx @@ -19,8 +19,6 @@ #include <com/sun/star/document/XEventsSupplier.hpp> #include <com/sun/star/container/XNameReplace.hpp> -#include <com/sun/star/presentation/AnimationSpeed.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include <tools/urlobj.hxx> #include <osl/diagnose.h> #include <sal/log.hxx> diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index eeffae04e997..4535ecc5a908 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -24,12 +24,10 @@ #include <com/sun/star/drawing/XLayerManager.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/drawing/XLayerSupplier.hpp> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include "layerimp.hxx" diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 438cc984a3c6..0b4fe9895e59 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -72,10 +72,7 @@ #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> -#include <com/sun/star/util/Color.hpp> #include <docmodel/uno/UnoTheme.hxx> -#include <docmodel/theme/Theme.hxx> -#include <o3tl/enumrange.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index 19fd66d5a380..20bd8f40d216 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -19,7 +19,6 @@ #include <osl/thread.h> #include <sal/log.hxx> -#include <comphelper/processfactory.hxx> #include <comphelper/sequence.hxx> #include <xmloff/xmlscripti.hxx> diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 438a9d8e3a4f..2322e6be63d5 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -36,7 +36,6 @@ #include <com/sun/star/container/XIdentifierAccess.hpp> #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/document/XEventsSupplier.hpp> -#include <com/sun/star/drawing/Alignment.hpp> #include <com/sun/star/drawing/CameraGeometry.hpp> #include <com/sun/star/drawing/CircleKind.hpp> #include <com/sun/star/drawing/ConnectorType.hpp> diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index 5186c8be2b47..a891259a10e7 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -20,7 +20,6 @@ #include <tools/debug.hxx> #include <comphelper/diagnose_ex.hxx> #include <sal/log.hxx> -#include <comphelper/attributelist.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/text/PositionLayoutDir.hpp> @@ -31,7 +30,6 @@ #include <xmloff/shapeimport.hxx> #include <xmloff/xmlstyle.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/table/XMLTableImport.hxx> @@ -45,7 +43,6 @@ #include "ximplink.hxx" #include <unordered_map> -#include <string_view> #include <vector> namespace { diff --git a/xmloff/source/draw/ximp3dscene.cxx b/xmloff/source/draw/ximp3dscene.cxx index 31da3652e3b0..41dd535b19ef 100644 --- a/xmloff/source/draw/ximp3dscene.cxx +++ b/xmloff/source/draw/ximp3dscene.cxx @@ -18,7 +18,6 @@ */ #include <sax/tools/converter.hxx> -#include <rtl/math.hxx> #include <sal/log.hxx> #include "ximp3dscene.hxx" diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx index aafb580df656..86d8b6bf75e9 100644 --- a/xmloff/source/draw/ximpcustomshape.cxx +++ b/xmloff/source/draw/ximpcustomshape.cxx @@ -19,16 +19,13 @@ #include "ximpcustomshape.hxx" #include <o3tl/any.hxx> -#include <rtl/math.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/ustring.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <xmloff/xmltoken.hxx> #include <EnhancedCustomShapeToken.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/xmlement.hxx> #include <xexptran.hxx> @@ -46,7 +43,6 @@ #include <sax/tools/converter.hxx> #include <comphelper/sequence.hxx> #include <o3tl/string_view.hxx> -#include <memory> #include <string_view> #include <unordered_map> diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index f556e1b9c84f..29770fe10db0 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -31,8 +31,6 @@ #include <xmloff/unointerfacetouniqueidentifiermapper.hxx> #include <com/sun/star/drawing/XGluePointsSupplier.hpp> #include <com/sun/star/drawing/GluePoint2.hpp> -#include <com/sun/star/drawing/Alignment.hpp> -#include <com/sun/star/drawing/EscapeDirection.hpp> #include <com/sun/star/media/ZoomLevel.hpp> #include <com/sun/star/awt/Rectangle.hpp> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> diff --git a/xmloff/source/draw/ximpshow.cxx b/xmloff/source/draw/ximpshow.cxx index 117511f77c64..19d981129185 100644 --- a/xmloff/source/draw/ximpshow.cxx +++ b/xmloff/source/draw/ximpshow.cxx @@ -19,7 +19,6 @@ #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/util/Duration.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/presentation/XCustomPresentationSupplier.hpp> #include <com/sun/star/presentation/XPresentationSupplier.hpp> #include <com/sun/star/container/XIndexContainer.hpp> @@ -27,7 +26,6 @@ #include <sax/tools/converter.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include "ximpshow.hxx" diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index a0281f2fcd6f..79074418d063 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -18,7 +18,6 @@ */ #include "ximpstyl.hxx" -#include <utility> #include <xmloff/maptype.hxx> #include <xmloff/XMLDrawingPageStyleContext.hxx> #include <xmloff/XMLShapeStyleContext.hxx> @@ -41,14 +40,12 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/presentation/XHandoutMasterSupplier.hpp> -#include <com/sun/star/util/Color.hpp> #include <comphelper/namecontainer.hxx> #include <xmloff/autolayout.hxx> #include <xmloff/xmlprcon.hxx> #include <xmloff/families.hxx> #include <com/sun/star/container/XNameContainer.hpp> #include <svl/numformat.hxx> -#include <svl/zforlist.hxx> #include "layerimp.hxx" #include <xmloff/XMLGraphicsDefaultStyle.hxx> #include <XMLNumberStylesImport.hxx> @@ -56,9 +53,6 @@ #include <comphelper/configuration.hxx> #include <xmloff/xmlerror.hxx> #include <xmloff/table/XMLTableImport.hxx> -#include <comphelper/sequenceashashmap.hxx> -#include <sax/tools/converter.hxx> -#include <comphelper/sequence.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/xmloff/source/forms/controlpropertyhdl.cxx b/xmloff/source/forms/controlpropertyhdl.cxx index cb3badee22b7..162fb0cbe82b 100644 --- a/xmloff/source/forms/controlpropertyhdl.cxx +++ b/xmloff/source/forms/controlpropertyhdl.cxx @@ -20,7 +20,6 @@ #include <xmloff/controlpropertyhdl.hxx> #include <com/sun/star/util/MeasureUnit.hpp> -#include <com/sun/star/awt/TextAlign.hpp> #include <com/sun/star/awt/FontEmphasisMark.hpp> #include <sax/tools/converter.hxx> diff --git a/xmloff/source/forms/controlpropertymap.cxx b/xmloff/source/forms/controlpropertymap.cxx index 7e2bbdd5c5d5..c1d28de5348a 100644 --- a/xmloff/source/forms/controlpropertymap.cxx +++ b/xmloff/source/forms/controlpropertymap.cxx @@ -28,8 +28,6 @@ #include "controlpropertymap.hxx" #include <xmlprop.hxx> -#include <string.h> - using namespace ::xmloff::token; namespace xmloff diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index d48d5b2d044c..7532a05eb235 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -59,11 +59,9 @@ #include <tools/time.hxx> #include <comphelper/diagnose_ex.hxx> #include <comphelper/extract.hxx> -#include <sal/macros.h> #include <sal/log.hxx> #include <algorithm> -#include <string_view> namespace xmloff { diff --git a/xmloff/source/forms/formenums.cxx b/xmloff/source/forms/formenums.cxx index 31567ddf7478..7f2e6a253f81 100644 --- a/xmloff/source/forms/formenums.cxx +++ b/xmloff/source/forms/formenums.cxx @@ -18,13 +18,7 @@ */ #include "formenums.hxx" -#include <com/sun/star/form/FormSubmitEncoding.hpp> -#include <com/sun/star/form/FormSubmitMethod.hpp> #include <com/sun/star/sdb/CommandType.hpp> -#include <com/sun/star/form/NavigationBarMode.hpp> -#include <com/sun/star/form/TabulatorCycle.hpp> -#include <com/sun/star/form/FormButtonType.hpp> -#include <com/sun/star/form/ListSourceType.hpp> #include <com/sun/star/awt/TextAlign.hpp> #include <com/sun/star/awt/FontEmphasisMark.hpp> #include <com/sun/star/awt/FontRelief.hpp> diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx index 494f77ab50b7..9f1c079f7e1f 100644 --- a/xmloff/source/forms/layerimport.cxx +++ b/xmloff/source/forms/layerimport.cxx @@ -31,7 +31,6 @@ #include <com/sun/star/util/XNumberFormatsSupplier.hpp> #include <com/sun/star/form/FormSubmitEncoding.hpp> #include <com/sun/star/form/FormSubmitMethod.hpp> -#include <com/sun/star/sdb/CommandType.hpp> #include <com/sun/star/form/NavigationBarMode.hpp> #include <com/sun/star/form/TabulatorCycle.hpp> #include <com/sun/star/form/FormButtonType.hpp> @@ -43,21 +42,17 @@ #include <xmloff/xmlnamespace.hxx> #include <rtl/strbuf.hxx> #include <comphelper/diagnose_ex.hxx> -#include <algorithm> namespace xmloff { using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::awt; -using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; using namespace ::com::sun::star::drawing; using namespace ::com::sun::star; using namespace ::com::sun::star::util; using namespace ::com::sun::star::form; -using namespace ::com::sun::star::sdb; using namespace token; //= OFormLayerXMLImport_Impl diff --git a/xmloff/source/forms/officeforms.cxx b/xmloff/source/forms/officeforms.cxx index 42148c711ea0..33e4e4bf1e59 100644 --- a/xmloff/source/forms/officeforms.cxx +++ b/xmloff/source/forms/officeforms.cxx @@ -25,7 +25,6 @@ #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlexp.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <com/sun/star/frame/XModel.hpp> #include <comphelper/extract.hxx> #include <comphelper/diagnose_ex.hxx> diff --git a/xmloff/source/forms/property_meta_data.cxx b/xmloff/source/forms/property_meta_data.cxx index f8cb46c316c5..8c81e7627c01 100644 --- a/xmloff/source/forms/property_meta_data.cxx +++ b/xmloff/source/forms/property_meta_data.cxx @@ -27,8 +27,6 @@ #include <o3tl/hash_combine.hxx> #include <tools/debug.hxx> -#include <osl/diagnose.h> -#include <sal/log.hxx> #include <unordered_map> diff --git a/xmloff/source/forms/propertyimport.cxx b/xmloff/source/forms/propertyimport.cxx index 96ee3ebe69a7..0bc5a1fb3abc 100644 --- a/xmloff/source/forms/propertyimport.cxx +++ b/xmloff/source/forms/propertyimport.cxx @@ -28,7 +28,6 @@ #include <utility> #include <xmloff/xmlimp.hxx> #include <xmloff/xmluconv.hxx> -#include <xmloff/namespacemap.hxx> #include <o3tl/temporary.hxx> #include <osl/diagnose.h> #include <sal/log.hxx> diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx index 1554fff9aa99..953b1c475ab1 100644 --- a/xmloff/source/meta/xmlversion.cxx +++ b/xmloff/source/meta/xmlversion.cxx @@ -27,7 +27,6 @@ #include <xmloff/xmltoken.hxx> #include <comphelper/processfactory.hxx> -#include <comphelper/string.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/io/IOException.hpp> #include <com/sun/star/io/XOutputStream.hpp> diff --git a/xmloff/source/script/XMLEventsImportContext.cxx b/xmloff/source/script/XMLEventsImportContext.cxx index 0b236579f726..5a57eac9ba22 100644 --- a/xmloff/source/script/XMLEventsImportContext.cxx +++ b/xmloff/source/script/XMLEventsImportContext.cxx @@ -22,9 +22,7 @@ #include <XMLEventImportHelper.hxx> #include <com/sun/star/document/XEventsSupplier.hpp> -#include <comphelper/attributelist.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlerror.hxx> diff --git a/xmloff/source/script/XMLScriptContextFactory.cxx b/xmloff/source/script/XMLScriptContextFactory.cxx index 0e7caa3d69f7..082a28eefbc6 100644 --- a/xmloff/source/script/XMLScriptContextFactory.cxx +++ b/xmloff/source/script/XMLScriptContextFactory.cxx @@ -21,7 +21,6 @@ #include <XMLScriptContextFactory.hxx> #include <xmloff/XMLEventsImportContext.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/script/XMLStarBasicContextFactory.cxx b/xmloff/source/script/XMLStarBasicContextFactory.cxx index 2a2b76cfb5f1..23bc361dc11e 100644 --- a/xmloff/source/script/XMLStarBasicContextFactory.cxx +++ b/xmloff/source/script/XMLStarBasicContextFactory.cxx @@ -21,7 +21,6 @@ #include <XMLStarBasicContextFactory.hxx> #include <xmloff/XMLEventsImportContext.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <o3tl/string_view.hxx> diff --git a/xmloff/source/script/xmlbasicscript.cxx b/xmloff/source/script/xmlbasicscript.cxx index 3115cdd8d158..fd464e24100b 100644 --- a/xmloff/source/script/xmlbasicscript.cxx +++ b/xmloff/source/script/xmlbasicscript.cxx @@ -21,15 +21,12 @@ #include "xmlbasicscript.hxx" #include <sal/log.hxx> -#include <xmlscript/xmlns.h> #include <utility> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmltkmap.hxx> +#include <xmloff/xmltoken.hxx> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/lang/XMultiComponentFactory.hpp> #include <com/sun/star/document/XEmbeddedScripts.hpp> #include <com/sun/star/xml/sax/SAXException.hpp> -#include <cppuhelper/supportsservice.hxx> #include <comphelper/diagnose_ex.hxx> using namespace ::com::sun::star; diff --git a/xmloff/source/style/DashStyle.cxx b/xmloff/source/style/DashStyle.cxx index 009b7f12973e..73aede0f557a 100644 --- a/xmloff/source/style/DashStyle.cxx +++ b/xmloff/source/style/DashStyle.cxx @@ -23,7 +23,6 @@ #include <sax/tools/converter.hxx> #include <xmloff/DashStyle.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> @@ -33,7 +32,6 @@ #include <rtl/ustrbuf.hxx> #include <rtl/ustring.hxx> #include <sal/log.hxx> -#include <xmloff/xmltkmap.hxx> using namespace ::com::sun::star; using namespace ::xmloff::token; diff --git a/xmloff/source/style/DrawAspectHdl.cxx b/xmloff/source/style/DrawAspectHdl.cxx index 7eeb374ca559..c77023d7da86 100644 --- a/xmloff/source/style/DrawAspectHdl.cxx +++ b/xmloff/source/style/DrawAspectHdl.cxx @@ -20,7 +20,6 @@ #include "DrawAspectHdl.hxx" #include <com/sun/star/uno/Any.hxx> -#include <rtl/ustrbuf.hxx> #include <sax/tools/converter.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/style/FillStyleContext.cxx b/xmloff/source/style/FillStyleContext.cxx index 3b0ff9ca2ff8..d8f7ea9ea0f4 100644 --- a/xmloff/source/style/FillStyleContext.cxx +++ b/xmloff/source/style/FillStyleContext.cxx @@ -31,17 +31,15 @@ #include <comphelper/sequence.hxx> #include <sax/tools/converter.hxx> #include <xmloff/xmlimp.hxx> +#include <xmloff/xmltoken.hxx> #include <xmloff/GradientStyle.hxx> #include <xmloff/HatchStyle.hxx> #include <xmloff/ImageStyle.hxx> #include <xmloff/MarkerStyle.hxx> #include <xmloff/DashStyle.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/XMLBase64ImportContext.hxx> -#include <vector> - using namespace ::com::sun::star; diff --git a/xmloff/source/style/GradientStyle.cxx b/xmloff/source/style/GradientStyle.cxx index 67b749f79f0b..2356075bcaed 100644 --- a/xmloff/source/style/GradientStyle.cxx +++ b/xmloff/source/style/GradientStyle.cxx @@ -26,12 +26,10 @@ #include <rtl/ustring.hxx> #include <sal/log.hxx> #include <sax/tools/converter.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlement.hxx> #include <xmloff/xmlexp.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> #include <basegfx/utils/bgradient.hxx> diff --git a/xmloff/source/style/HatchStyle.cxx b/xmloff/source/style/HatchStyle.cxx index 2a0bc2259757..bc544c97011d 100644 --- a/xmloff/source/style/HatchStyle.cxx +++ b/xmloff/source/style/HatchStyle.cxx @@ -23,7 +23,6 @@ #include <sax/tools/converter.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> @@ -32,7 +31,6 @@ #include <rtl/ustrbuf.hxx> #include <rtl/ustring.hxx> #include <sal/log.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlement.hxx> using namespace ::com::sun::star; diff --git a/xmloff/source/style/ImageStyle.cxx b/xmloff/source/style/ImageStyle.cxx index 13443d4adfa6..965d70263134 100644 --- a/xmloff/source/style/ImageStyle.cxx +++ b/xmloff/source/style/ImageStyle.cxx @@ -20,14 +20,12 @@ #include <xmloff/ImageStyle.hxx> #include <com/sun/star/awt/XBitmap.hpp> #include <com/sun/star/graphic/XGraphic.hpp> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlexp.hxx> #include <xmloff/xmlimp.hxx> #include <rtl/ustring.hxx> #include <sal/log.hxx> -#include <xmloff/xmltkmap.hxx> using namespace css; using namespace xmloff::token; diff --git a/xmloff/source/style/MarkerStyle.cxx b/xmloff/source/style/MarkerStyle.cxx index 9cf9ecc9423e..5e4107888a77 100644 --- a/xmloff/source/style/MarkerStyle.cxx +++ b/xmloff/source/style/MarkerStyle.cxx @@ -20,7 +20,6 @@ #include <memory> #include <xmloff/MarkerStyle.hxx> #include <xexptran.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/style/PageMasterImportPropMapper.cxx b/xmloff/source/style/PageMasterImportPropMapper.cxx index d4eba76017e7..18ee9fcab4a7 100644 --- a/xmloff/source/style/PageMasterImportPropMapper.cxx +++ b/xmloff/source/style/PageMasterImportPropMapper.cxx @@ -29,7 +29,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlprmap.hxx> -#include <memory> #define XML_LINE_LEFT 0 #define XML_LINE_RIGHT 1 diff --git a/xmloff/source/style/StylePropertiesContext.cxx b/xmloff/source/style/StylePropertiesContext.cxx index 910b7873d54f..ba64b7326e09 100644 --- a/xmloff/source/style/StylePropertiesContext.cxx +++ b/xmloff/source/style/StylePropertiesContext.cxx @@ -9,9 +9,7 @@ #include "StylePropertiesContext.hxx" -#include <tools/debug.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmltypes.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/XMLComplexColorContext.hxx> diff --git a/xmloff/source/style/TransGradientStyle.cxx b/xmloff/source/style/TransGradientStyle.cxx index 74b7670c024f..385c92194404 100644 --- a/xmloff/source/style/TransGradientStyle.cxx +++ b/xmloff/source/style/TransGradientStyle.cxx @@ -28,12 +28,10 @@ #include <sal/log.hxx> #include <sax/tools/converter.hxx> #include <tools/color.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlement.hxx> #include <xmloff/xmlexp.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmluconv.hxx> #include <docmodel/uno/UnoGradientTools.hxx> diff --git a/xmloff/source/style/XMLBackgroundImageContext.cxx b/xmloff/source/style/XMLBackgroundImageContext.cxx index cd500672c6fc..08bcf08597cb 100644 --- a/xmloff/source/style/XMLBackgroundImageContext.cxx +++ b/xmloff/source/style/XMLBackgroundImageContext.cxx @@ -26,12 +26,10 @@ #include <sal/log.hxx> #include <sax/tools/converter.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlement.hxx> #include <xmloff/XMLBase64ImportContext.hxx> #include <XMLBackgroundImageContext.hxx> diff --git a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx index 6b3be1892ca1..8a28d1a22845 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx +++ b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx @@ -20,11 +20,9 @@ #include "XMLFootnoteSeparatorImport.hxx" -#include <rtl/ustring.hxx> #include <sal/log.hxx> #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/text/HorizontalAdjust.hpp> @@ -36,14 +34,11 @@ #include <xmloff/xmluconv.hxx> #include <xmloff/xmlprmap.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/maptype.hxx> #include <xmloff/xmlement.hxx> #include <PageMasterStyleMap.hxx> -#include <vector> - using namespace ::com::sun::star; using namespace ::xmloff::token; diff --git a/xmloff/source/style/XMLThemeContext.cxx b/xmloff/source/style/XMLThemeContext.cxx index 564d934ff8fb..002140ece452 100644 --- a/xmloff/source/style/XMLThemeContext.cxx +++ b/xmloff/source/style/XMLThemeContext.cxx @@ -9,21 +9,13 @@ #include <XMLThemeContext.hxx> -#include <xmloff/maptype.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/xmlprcon.hxx> -#include <xmloff/xmlerror.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/xmlement.hxx> -#include <xmloff/xmlprhdl.hxx> -#include <sal/log.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <sax/tools/converter.hxx> -#include <comphelper/sequence.hxx> #include <docmodel/uno/UnoTheme.hxx> #include <docmodel/theme/Theme.hxx> diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index 1d84aa8b33e2..f70d9361a649 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -17,12 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <memory> #include <algorithm> #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> -#include <tools/solar.h> #include <PageMasterStyleMap.hxx> #include <utility> #include <xmloff/families.hxx> diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx index 7aef1ec4c03c..e59c666c1e13 100644 --- a/xmloff/source/style/prstylei.cxx +++ b/xmloff/source/style/prstylei.cxx @@ -25,7 +25,6 @@ #include <set> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/xmlprcon.hxx> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/style/XAutoStyleFamily.hpp> diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index 3c1afad031ef..91de1963e57e 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -22,7 +22,6 @@ #include <o3tl/any.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/xmluconv.hxx> #include <xmloff/xmlexppr.hxx> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> @@ -38,7 +37,6 @@ #include <xmloff/xmlexp.hxx> #include <xmloff/XMLEventExport.hxx> #include <xmloff/maptype.hxx> -#include <memory> #include <set> #include <prstylecond.hxx> #include <sal/log.hxx> diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index b296ee8e9d98..f7687e2b3355 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -27,7 +27,6 @@ #include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/beans/XTolerantMultiPropertySet.hpp> #include <com/sun/star/beans/TolerantPropertySetResultType.hpp> -#include <rtl/ustrbuf.hxx> #include <comphelper/anycompare.hxx> #include <comphelper/diagnose_ex.hxx> #include <cppuhelper/weakref.hxx> diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index 63f35df350ae..32749a94c8a8 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/beans/TolerantPropertySetResultType.hpp> #include <com/sun/star/beans/XTolerantMultiPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> #include <utility> @@ -39,7 +38,6 @@ #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlerror.hxx> -#include <xmloff/contextid.hxx> #include <xmloff/xmltypes.hxx> #include <xmloff/maptype.hxx> diff --git a/xmloff/source/style/xmlnume.cxx b/xmloff/source/style/xmlnume.cxx index d6ab01426698..a3f20965c52c 100644 --- a/xmloff/source/style/xmlnume.cxx +++ b/xmloff/source/style/xmlnume.cxx @@ -46,7 +46,6 @@ #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> #include "fonthdl.hxx" -#include <xmloff/XMLTextListAutoStylePool.hxx> #include <xmloff/xmlnume.hxx> #include <xmloff/xmlexp.hxx> #include <tools/fontenum.hxx> diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index f6d05e94c1bf..b6bf1d8844f7 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -33,12 +33,10 @@ #include <utility> #include <xmloff/xmlement.hxx> #include <xmloff/xmlnumfi.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmluconv.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/families.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/languagetagodf.hxx> diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx index c6233e09d280..4d12824ba9d0 100644 --- a/xmloff/source/style/xmlnumi.cxx +++ b/xmloff/source/style/xmlnumi.cxx @@ -37,7 +37,6 @@ #include <o3tl/any.hxx> #include <o3tl/temporary.hxx> -#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <comphelper/diagnose_ex.hxx> #include <comphelper/sequence.hxx> @@ -50,8 +49,6 @@ #include <vcl/vclenum.hxx> -#include <xmloff/xmltkmap.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/XMLBase64ImportContext.hxx> diff --git a/xmloff/source/style/xmlprmap.cxx b/xmloff/source/style/xmlprmap.cxx index d8503eebb3f9..57ab4903669d 100644 --- a/xmloff/source/style/xmlprmap.cxx +++ b/xmloff/source/style/xmlprmap.cxx @@ -28,8 +28,6 @@ #include <xmloff/prhdlfac.hxx> #include <xmloff/xmlimp.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> - #include <vector> using namespace ::com::sun::star::uno; diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx index 168483af1db0..efc4da3e6842 100644 --- a/xmloff/source/style/xmlstyle.cxx +++ b/xmloff/source/style/xmlstyle.cxx @@ -22,7 +22,6 @@ #include <sal/config.h> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> #include <com/sun/star/style/XAutoStylesSupplier.hpp> @@ -32,7 +31,6 @@ #include <sal/log.hxx> #include <svl/style.hxx> #include <utility> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/style/xmltabi.cxx b/xmloff/source/style/xmltabi.cxx index e6d33b114936..edea09f76c66 100644 --- a/xmloff/source/style/xmltabi.cxx +++ b/xmloff/source/style/xmltabi.cxx @@ -19,8 +19,6 @@ #include <com/sun/star/style/TabAlign.hpp> #include <sal/log.hxx> -#include <xmloff/xmltkmap.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlimp.hxx> #include <com/sun/star/style/TabStop.hpp> diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx index 73d6fdada7f3..0ed9f196d343 100644 --- a/xmloff/source/table/XMLTableExport.cxx +++ b/xmloff/source/table/XMLTableExport.cxx @@ -27,7 +27,6 @@ #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> #include <com/sun/star/text/XText.hpp> #include <com/sun/star/table/XCellRange.hpp> -#include <com/sun/star/table/XColumnRowRange.hpp> #include <com/sun/star/table/XMergeableCell.hpp> #include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/beans/XPropertyState.hpp> diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx index 272457c956f9..76b5d86c36cc 100644 --- a/xmloff/source/table/XMLTableImport.cxx +++ b/xmloff/source/table/XMLTableImport.cxx @@ -29,13 +29,11 @@ #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/style/XStyle.hpp> #include <comphelper/sequence.hxx> #include <comphelper/diagnose_ex.hxx> #include <utility> #include <xmloff/table/XMLTableImport.hxx> -#include <xmloff/xmltypes.hxx> #include <xmloff/maptype.hxx> #include <xmloff/xmlprmap.hxx> #include <xmloff/txtimp.hxx> diff --git a/xmloff/source/text/XMLAutoMarkFileContext.cxx b/xmloff/source/text/XMLAutoMarkFileContext.cxx index c7237aa78351..cb459516450c 100644 --- a/xmloff/source/text/XMLAutoMarkFileContext.cxx +++ b/xmloff/source/text/XMLAutoMarkFileContext.cxx @@ -19,13 +19,10 @@ #include "XMLAutoMarkFileContext.hxx" #include <xmloff/xmlimp.hxx> -#include <rtl/ustring.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <sal/log.hxx> diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.cxx b/xmloff/source/text/XMLAutoTextContainerEventImport.cxx index 9ac584865cbb..7d1119b953f9 100644 --- a/xmloff/source/text/XMLAutoTextContainerEventImport.cxx +++ b/xmloff/source/text/XMLAutoTextContainerEventImport.cxx @@ -19,7 +19,6 @@ #include "XMLAutoTextContainerEventImport.hxx" #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/container/XNameReplace.hpp> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx index b6a089e8a038..c0c928858c69 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.cxx +++ b/xmloff/source/text/XMLAutoTextEventExport.cxx @@ -22,7 +22,6 @@ #include <com/sun/star/util/MeasureUnit.hpp> #include <com/sun/star/document/XEventsSupplier.hpp> #include <com/sun/star/container/XNameReplace.hpp> -#include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Exception.hpp> @@ -33,7 +32,6 @@ #include <xmloff/xmltoken.hxx> #include <xmloff/XMLEventExport.hxx> #include <tools/debug.hxx> -#include <comphelper/processfactory.hxx> using namespace ::com::sun::star; diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx index cb76f062ba27..93901ca97fa6 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.cxx +++ b/xmloff/source/text/XMLAutoTextEventImport.cxx @@ -26,7 +26,6 @@ #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <tools/debug.hxx> -#include <comphelper/processfactory.hxx> using namespace ::com::sun::star; diff --git a/xmloff/source/text/XMLCalculationSettingsContext.cxx b/xmloff/source/text/XMLCalculationSettingsContext.cxx index fa7ff423658a..f314758543dc 100644 --- a/xmloff/source/text/XMLCalculationSettingsContext.cxx +++ b/xmloff/source/text/XMLCalculationSettingsContext.cxx @@ -24,10 +24,8 @@ #include <com/sun/star/text/XTextDocument.hpp> #include <sal/log.hxx> -#include <sax/tools/converter.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/XMLChangeImportContext.cxx b/xmloff/source/text/XMLChangeImportContext.cxx index 35e766e76879..b352ecbe0d1a 100644 --- a/xmloff/source/text/XMLChangeImportContext.cxx +++ b/xmloff/source/text/XMLChangeImportContext.cxx @@ -20,7 +20,6 @@ #include "XMLChangeImportContext.hxx" #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> #include <sal/log.hxx> diff --git a/xmloff/source/text/XMLChangedRegionImportContext.cxx b/xmloff/source/text/XMLChangedRegionImportContext.cxx index 7143ee4d082b..8ee5b7ae6e98 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.cxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.cxx @@ -28,7 +28,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/XMLComplexColorContext.cxx b/xmloff/source/text/XMLComplexColorContext.cxx index c580b022256a..5d8198359670 100644 --- a/xmloff/source/text/XMLComplexColorContext.cxx +++ b/xmloff/source/text/XMLComplexColorContext.cxx @@ -12,12 +12,10 @@ #include <sal/log.hxx> #include <sax/tools/converter.hxx> #include <xmloff/xmluconv.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlement.hxx> -#include <xmloff/xmlprhdl.hxx> #include <xmloff/XMLComplexColorContext.hxx> #include <docmodel/uno/UnoComplexColor.hxx> diff --git a/xmloff/source/text/XMLComplexColorExport.cxx b/xmloff/source/text/XMLComplexColorExport.cxx index feac9d0d6e3d..7442d23f74c2 100644 --- a/xmloff/source/text/XMLComplexColorExport.cxx +++ b/xmloff/source/text/XMLComplexColorExport.cxx @@ -13,7 +13,6 @@ #include <docmodel/uno/UnoComplexColor.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmluconv.hxx> #include <xmloff/xmlexp.hxx> #include <array> diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx index 2e9b76ccaa7b..9cf8aba31cf5 100644 --- a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx @@ -19,10 +19,8 @@ #include "XMLFootnoteBodyImportContext.hxx" -#include <rtl/ustring.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> -#include <com/sun/star/xml/sax/XAttributeList.hpp> using ::com::sun::star::uno::Reference; diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx index 8e67b2d90964..9c17f5b1f9bf 100644 --- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx @@ -25,7 +25,6 @@ #include <sax/tools/converter.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlement.hxx> @@ -34,7 +33,6 @@ #include <xmloff/xmluconv.hxx> #include <xmloff/xmlimp.hxx> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/text/XFootnotesSupplier.hpp> #include <com/sun/star/text/XEndnotesSupplier.hpp> diff --git a/xmloff/source/text/XMLFootnoteImportContext.cxx b/xmloff/source/text/XMLFootnoteImportContext.cxx index cf206e5d6e39..93cc5bebe04d 100644 --- a/xmloff/source/text/XMLFootnoteImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteImportContext.cxx @@ -23,14 +23,12 @@ #include <sal/log.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include "XMLFootnoteBodyImportContext.hxx" #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/text/XTextContent.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> diff --git a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx index fe6013619daa..558f43dfb586 100644 --- a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx +++ b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx @@ -26,7 +26,6 @@ #include <sax/tools/converter.hxx> #include "XMLIndexTemplateContext.hxx" -#include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> #include <xmloff/xmlnamespace.hxx> diff --git a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx index e7ba5e6baee7..ae2d648f5720 100644 --- a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx @@ -23,7 +23,6 @@ #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx index 8ae78e990203..8ec3d6ff7e78 100644 --- a/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx @@ -20,8 +20,6 @@ #include "XMLIndexBibliographyEntryContext.hxx" #include "XMLIndexTemplateContext.hxx" #include <xmloff/xmlimp.hxx> -#include <xmloff/txtimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> diff --git a/xmloff/source/text/XMLIndexBibliographySourceContext.cxx b/xmloff/source/text/XMLIndexBibliographySourceContext.cxx index 426505fc2787..aec7444f76cb 100644 --- a/xmloff/source/text/XMLIndexBibliographySourceContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographySourceContext.cxx @@ -25,7 +25,6 @@ #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> -#include <rtl/ustring.hxx> #include <sal/log.hxx> diff --git a/xmloff/source/text/XMLIndexBodyContext.cxx b/xmloff/source/text/XMLIndexBodyContext.cxx index 53a7def1d2c0..3c75f9f429c0 100644 --- a/xmloff/source/text/XMLIndexBodyContext.cxx +++ b/xmloff/source/text/XMLIndexBodyContext.cxx @@ -21,7 +21,6 @@ #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> -#include <rtl/ustring.hxx> using ::com::sun::star::uno::Reference; diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx index b17d05739caf..0844e7f5ef56 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx @@ -27,7 +27,6 @@ #include "XMLIndexTemplateContext.hxx" #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx index 3148bc71ec67..48be7f26b81c 100644 --- a/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx +++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx @@ -20,12 +20,10 @@ #include "XMLIndexIllustrationSourceContext.hxx" #include <com/sun/star/beans/XPropertySet.hpp> #include "XMLIndexTemplateContext.hxx" -#include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> -#include <rtl/ustring.hxx> using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; diff --git a/xmloff/source/text/XMLIndexObjectSourceContext.cxx b/xmloff/source/text/XMLIndexObjectSourceContext.cxx index 805ce796aaa8..d016d21c971d 100644 --- a/xmloff/source/text/XMLIndexObjectSourceContext.cxx +++ b/xmloff/source/text/XMLIndexObjectSourceContext.cxx @@ -20,14 +20,11 @@ #include "XMLIndexObjectSourceContext.hxx" -#include <rtl/ustring.hxx> - #include <com/sun/star/beans/XPropertySet.hpp> #include <sax/tools/converter.hxx> #include "XMLIndexTemplateContext.hxx" -#include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx index 6c59f13380f3..94d15dd2f196 100644 --- a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx +++ b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx @@ -23,7 +23,6 @@ #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.cxx b/xmloff/source/text/XMLIndexSourceBaseContext.cxx index 366daed58f32..c93d2faab5cd 100644 --- a/xmloff/source/text/XMLIndexSourceBaseContext.cxx +++ b/xmloff/source/text/XMLIndexSourceBaseContext.cxx @@ -24,7 +24,6 @@ #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> #include <sax/tools/converter.hxx> #include <rtl/ustring.hxx> diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx index 6fe4bf0f1345..b2dfe52e4803 100644 --- a/xmloff/source/text/XMLIndexTOCContext.cxx +++ b/xmloff/source/text/XMLIndexTOCContext.cxx @@ -37,7 +37,6 @@ #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/prstylei.hxx> diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.cxx b/xmloff/source/text/XMLIndexTOCSourceContext.cxx index 8850493b8660..eb6bf5bac0be 100644 --- a/xmloff/source/text/XMLIndexTOCSourceContext.cxx +++ b/xmloff/source/text/XMLIndexTOCSourceContext.cxx @@ -22,12 +22,10 @@ #include <com/sun/star/container/XIndexReplace.hpp> #include <sax/tools/converter.hxx> #include "XMLIndexTemplateContext.hxx" -#include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> -#include <rtl/ustring.hxx> using namespace ::xmloff::token; diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.cxx b/xmloff/source/text/XMLIndexTOCStylesContext.cxx index ff9cfaa4cb7c..a410e49f13aa 100644 --- a/xmloff/source/text/XMLIndexTOCStylesContext.cxx +++ b/xmloff/source/text/XMLIndexTOCStylesContext.cxx @@ -26,7 +26,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> #include <sax/tools/converter.hxx> #include <com/sun/star/uno/Sequence.hxx> diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx index cf7b339a04d8..d5ad6b8780cb 100644 --- a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx +++ b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx @@ -24,7 +24,6 @@ #include "XMLIndexTemplateContext.hxx" #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> diff --git a/xmloff/source/text/XMLIndexTableSourceContext.cxx b/xmloff/source/text/XMLIndexTableSourceContext.cxx index 48855b6ac02a..d5d4901b0391 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.cxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.cxx @@ -26,7 +26,6 @@ #include <sax/tools/converter.hxx> #include "XMLIndexTemplateContext.hxx" -#include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/XMLIndexTemplateContext.cxx b/xmloff/source/text/XMLIndexTemplateContext.cxx index 411e4c6b94b0..9a521686f596 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.cxx +++ b/xmloff/source/text/XMLIndexTemplateContext.cxx @@ -26,7 +26,6 @@ #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmluconv.hxx> diff --git a/xmloff/source/text/XMLIndexTitleTemplateContext.cxx b/xmloff/source/text/XMLIndexTitleTemplateContext.cxx index 5d1f47fdb8a1..33cb56770ccd 100644 --- a/xmloff/source/text/XMLIndexTitleTemplateContext.cxx +++ b/xmloff/source/text/XMLIndexTitleTemplateContext.cxx @@ -20,7 +20,6 @@ #include "XMLIndexTitleTemplateContext.hxx" #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <sal/log.hxx> diff --git a/xmloff/source/text/XMLIndexUserSourceContext.cxx b/xmloff/source/text/XMLIndexUserSourceContext.cxx index e139a66c83b3..78b39b2f723d 100644 --- a/xmloff/source/text/XMLIndexUserSourceContext.cxx +++ b/xmloff/source/text/XMLIndexUserSourceContext.cxx @@ -21,7 +21,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <sax/tools/converter.hxx> #include "XMLIndexTemplateContext.hxx" -#include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/XMLLineNumberingImportContext.cxx b/xmloff/source/text/XMLLineNumberingImportContext.cxx index 0ba08972df2f..67450c0d5f5c 100644 --- a/xmloff/source/text/XMLLineNumberingImportContext.cxx +++ b/xmloff/source/text/XMLLineNumberingImportContext.cxx @@ -28,7 +28,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlement.hxx> diff --git a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx index 1482494aedc3..d2b36ca49ea1 100644 --- a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx +++ b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx @@ -23,7 +23,6 @@ #include <sax/tools/converter.hxx> #include <XMLLineNumberingImportContext.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/XMLRedlineExport.cxx b/xmloff/source/text/XMLRedlineExport.cxx index e0c60d8b76d2..69664f818644 100644 --- a/xmloff/source/text/XMLRedlineExport.cxx +++ b/xmloff/source/text/XMLRedlineExport.cxx @@ -43,8 +43,6 @@ #include <xmloff/xmlexp.hxx> #include <xmloff/xmluconv.hxx> #include <unotools/securityoptions.hxx> -#include <tools/date.hxx> -#include <tools/datetime.hxx> using namespace ::com::sun::star; diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx index 6e1c06319110..bf0d05825cc7 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx @@ -31,8 +31,6 @@ #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> -#include <vector> - using namespace ::xmloff::token; diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx index 113e7f2d22cf..b9ea403e4939 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx @@ -21,7 +21,6 @@ #include <rtl/ustring.hxx> #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/style/NumberingType.hpp> #include <sal/log.hxx> #include <sax/tools/converter.hxx> @@ -31,12 +30,9 @@ #include <xmloff/xmluconv.hxx> #include <xmloff/xmlprmap.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/maptype.hxx> #include <xmloff/txtprmap.hxx> -#include <vector> - using namespace ::xmloff::token; using namespace ::com::sun::star::style; diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx index e2d8f1ce8468..f6f2ca77883f 100644 --- a/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx +++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx @@ -21,7 +21,6 @@ #include "XMLSectionImportContext.hxx" #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <sax/tools/converter.hxx> diff --git a/xmloff/source/text/XMLSectionSourceImportContext.cxx b/xmloff/source/text/XMLSectionSourceImportContext.cxx index e8f12a85a272..61aeb6b2b95a 100644 --- a/xmloff/source/text/XMLSectionSourceImportContext.cxx +++ b/xmloff/source/text/XMLSectionSourceImportContext.cxx @@ -18,11 +18,9 @@ */ #include "XMLSectionSourceImportContext.hxx" -#include "XMLSectionImportContext.hxx" #include <com/sun/star/text/SectionFileLink.hpp> #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include <com/sun/star/uno/Reference.h> diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx index 09c6ac1eb9a4..7e0122610f74 100644 --- a/xmloff/source/text/XMLTextColumnsContext.cxx +++ b/xmloff/source/text/XMLTextColumnsContext.cxx @@ -27,9 +27,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <sal/log.hxx> #include <sax/tools/converter.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmluconv.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index 0ee7dcb7863b..ae037e2ee43d 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -44,7 +44,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmluconv.hxx> #include "XMLAnchorTypePropHdl.hxx" #include <XMLEmbeddedObjectImportContext.hxx> diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx index 64e16f1470d6..f2899635a310 100644 --- a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx +++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx @@ -22,7 +22,6 @@ #include <xmloff/shapeimport.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include "XMLTextFrameContext.hxx" diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx b/xmloff/source/text/XMLTextListAutoStylePool.cxx index c1483f2adf3b..e0116a7cdb30 100644 --- a/xmloff/source/text/XMLTextListAutoStylePool.cxx +++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx @@ -20,7 +20,6 @@ #include <utility> #include <vector> -#include <tools/solar.h> #include <o3tl/sorted_vector.hxx> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/style/XStyle.hpp> @@ -28,7 +27,6 @@ #include <com/sun/star/ucb/XAnyCompareFactory.hpp> #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XIndexReplace.hpp> -#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <xmloff/xmlnume.hxx> #include <xmloff/XMLTextListAutoStylePool.hxx> diff --git a/xmloff/source/text/XMLTextListBlockContext.cxx b/xmloff/source/text/XMLTextListBlockContext.cxx index ffacadf6cf70..7c39574061af 100644 --- a/xmloff/source/text/XMLTextListBlockContext.cxx +++ b/xmloff/source/text/XMLTextListBlockContext.cxx @@ -17,11 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/container/XIndexReplace.hpp> -#include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include "XMLTextListItemContext.hxx" @@ -32,8 +29,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::container; -using namespace ::com::sun::star::style; using namespace ::com::sun::star::beans; using namespace ::xmloff::token; diff --git a/xmloff/source/text/XMLTextListItemContext.cxx b/xmloff/source/text/XMLTextListItemContext.cxx index 1ef6736fa83f..83d23a3659e1 100644 --- a/xmloff/source/text/XMLTextListItemContext.cxx +++ b/xmloff/source/text/XMLTextListItemContext.cxx @@ -18,7 +18,6 @@ */ #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmltoken.hxx> #include "txtparai.hxx" diff --git a/xmloff/source/text/XMLTextMarkImportContext.cxx b/xmloff/source/text/XMLTextMarkImportContext.cxx index 96a694cf1def..e51f14a7864e 100644 --- a/xmloff/source/text/XMLTextMarkImportContext.cxx +++ b/xmloff/source/text/XMLTextMarkImportContext.cxx @@ -27,12 +27,10 @@ #include <xmloff/xmluconv.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/odffields.hxx> #include <xmloff/xmlement.hxx> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/text/ControlCharacter.hpp> #include <com/sun/star/text/XTextContent.hpp> #include <com/sun/star/text/XTextRangeCompare.hpp> diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx index 71e5f6770182..034f767ddc5a 100644 --- a/xmloff/source/text/XMLTextMasterPageContext.cxx +++ b/xmloff/source/text/XMLTextMasterPageContext.cxx @@ -28,7 +28,6 @@ #include <o3tl/any.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/prstylei.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/XMLTextNumRuleInfo.cxx b/xmloff/source/text/XMLTextNumRuleInfo.cxx index 5f9a5e2b7a54..69b4548891f6 100644 --- a/xmloff/source/text/XMLTextNumRuleInfo.cxx +++ b/xmloff/source/text/XMLTextNumRuleInfo.cxx @@ -21,9 +21,7 @@ #include <osl/diagnose.h> #include <sal/log.hxx> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/container/XIndexReplace.hpp> #include <com/sun/star/style/NumberingType.hpp> #include <com/sun/star/text/XTextContent.hpp> #include <com/sun/star/container/XNamed.hpp> diff --git a/xmloff/source/text/XMLTextShapeImportHelper.cxx b/xmloff/source/text/XMLTextShapeImportHelper.cxx index 314d394cc235..56dba8ed2271 100644 --- a/xmloff/source/text/XMLTextShapeImportHelper.cxx +++ b/xmloff/source/text/XMLTextShapeImportHelper.cxx @@ -26,7 +26,6 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/txtimp.hxx> #include <xmloff/xmluconv.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include "XMLAnchorTypePropHdl.hxx" #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.cxx b/xmloff/source/text/XMLTrackedChangesImportContext.cxx index 57a71e0dbf9b..6bff1ea4e631 100644 --- a/xmloff/source/text/XMLTrackedChangesImportContext.cxx +++ b/xmloff/source/text/XMLTrackedChangesImportContext.cxx @@ -24,7 +24,6 @@ #include <sax/tools/converter.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/txtdropi.cxx b/xmloff/source/text/txtdropi.cxx index 66b219884b44..1d09f4f06d93 100644 --- a/xmloff/source/text/txtdropi.cxx +++ b/xmloff/source/text/txtdropi.cxx @@ -25,9 +25,7 @@ #include <sal/log.hxx> #include <sax/tools/converter.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmluconv.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index 3b76fdee190e..c90c3e8fb479 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -46,7 +46,6 @@ #include <com/sun/star/text/ReferenceFieldPart.hpp> #include <com/sun/star/text/ReferenceFieldSource.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/text/XTextField.hpp> #include <com/sun/star/text/XDependentTextField.hpp> #include <com/sun/star/text/XTextFieldsSupplier.hpp> @@ -56,7 +55,6 @@ #include <com/sun/star/text/FilenameDisplayFormat.hpp> #include <com/sun/star/text/ChapterFormat.hpp> #include <com/sun/star/text/TemplateDisplayFormat.hpp> -#include <com/sun/star/container/XNameReplace.hpp> #include <com/sun/star/uno/Sequence.h> #include <com/sun/star/text/BibliographyDataType.hpp> #include <com/sun/star/sdb/CommandType.hpp> diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index 3d8c099bbc4b..a235d1203d3a 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -24,7 +24,6 @@ * (variable related text fields and database display fields) */ -#include <o3tl/safeint.hxx> #include <sal/config.h> #include <cassert> @@ -43,7 +42,6 @@ #include <XMLStringBufferImportContext.hxx> #include <xmloff/XMLEventsImportContext.hxx> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/text/UserDataPart.hpp> #include <com/sun/star/style/NumberingType.hpp> #include <com/sun/star/text/PlaceholderType.hpp> diff --git a/xmloff/source/text/txtftne.cxx b/xmloff/source/text/txtftne.cxx index 9673b15745c9..af713adc7e8f 100644 --- a/xmloff/source/text/txtftne.cxx +++ b/xmloff/source/text/txtftne.cxx @@ -34,21 +34,19 @@ #include <rtl/ustrbuf.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/XPropertyState.hpp> -#include <com/sun/star/text/XTextDocument.hpp> +#include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/container/XElementAccess.hpp> #include <com/sun/star/text/XText.hpp> #include <com/sun/star/text/XFootnote.hpp> #include <com/sun/star/text/XFootnotesSupplier.hpp> #include <com/sun/star/text/XEndnotesSupplier.hpp> #include <com/sun/star/text/FootnoteNumbering.hpp> -#include <com/sun/star/container/XNameReplace.hpp> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/xmlexp.hxx> #include <xmloff/families.hxx> #include "XMLTextCharStyleNamesElementExport.hxx" -#include <xmloff/XMLEventExport.hxx> #include <xmloff/txtparae.hxx> diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index ac0e89474245..b98f6a41d3e4 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -34,7 +34,7 @@ #include <com/sun/star/text/XTextGraphicObjectsSupplier.hpp> #include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp> #include <com/sun/star/text/XFormField.hpp> -#include <com/sun/star/ucb/XAnyCompareFactory.hpp> +#include <com/sun/star/ucb/XAnyCompare.hpp> #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/style/XStyle.hpp> #include <xmloff/xmlnamespace.hxx> @@ -65,12 +65,10 @@ #include <XMLNumberStylesImport.hxx> #include <PageMasterStyleMap.hxx> #include <PageMasterPropHdlFactory.hxx> -#include <PageMasterPropMapper.hxx> // XML import: reconstruction of assignment of paragraph style to outline levels (#i69629#) #include <com/sun/star/beans/XPropertyState.hpp> #include <txtlists.hxx> #include <xmloff/odffields.hxx> -#include <comphelper/attributelist.hxx> using ::com::sun::star::ucb::XAnyCompare; diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx index e1da4578a1b8..7fde78724227 100644 --- a/xmloff/source/text/txtimppr.cxx +++ b/xmloff/source/text/txtimppr.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <memory> #include <sal/config.h> #include <o3tl/any.hxx> diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 6ea41f7c0c63..c2244dfcd66b 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -25,6 +25,7 @@ #include <sal/types.h> #include <sal/log.hxx> #include <osl/diagnose.h> +#include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/container/XEnumeration.hpp> @@ -34,7 +35,6 @@ #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/beans/UnknownPropertyException.hpp> #include <com/sun/star/graphic/XGraphic.hpp> -#include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/text/XTextSectionsSupplier.hpp> #include <com/sun/star/text/XTextTablesSupplier.hpp> #include <com/sun/star/text/XNumberingRulesSupplier.hpp> @@ -56,7 +56,6 @@ #include <com/sun/star/text/XTextGraphicObjectsSupplier.hpp> #include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp> #include <com/sun/star/drawing/XDrawPageSupplier.hpp> -#include <com/sun/star/document/XEmbeddedObjectSupplier.hpp> #include <com/sun/star/document/XEventsSupplier.hpp> #include <com/sun/star/document/XRedlinesSupplier.hpp> #include <com/sun/star/text/XFormField.hpp> diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index c777fa0c2929..94cef85739ef 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -29,13 +29,11 @@ #include <comphelper/diagnose_ex.hxx> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/text/XTextFrame.hpp> #include <com/sun/star/text/XTextCursor.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/text/ControlCharacter.hpp> #include <com/sun/star/text/XTextRangeCompare.hpp> -#include <com/sun/star/container/XIndexReplace.hpp> #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/rdf/XMetadatable.hpp> @@ -46,7 +44,6 @@ #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/txtimp.hxx> #include "txtparai.hxx" diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx index a80a2804b0ea..f140d2341475 100644 --- a/xmloff/source/text/txtprhdl.cxx +++ b/xmloff/source/text/txtprhdl.cxx @@ -24,7 +24,6 @@ #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <com/sun/star/uno/Any.hxx> -#include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/style/DropCapFormat.hpp> #include <com/sun/star/text/FontRelief.hpp> #include <com/sun/star/text/WrapTextMode.hpp> diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx index e19589851cf6..4b02d4b8107e 100644 --- a/xmloff/source/text/txtvfldi.cxx +++ b/xmloff/source/text/txtvfldi.cxx @@ -38,7 +38,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/style/NumberingType.hpp> #include <com/sun/star/container/XIndexReplace.hpp> diff --git a/xmloff/source/transform/DocumentTContext.cxx b/xmloff/source/transform/DocumentTContext.cxx index 14ad377a68fc..a5d12a416c23 100644 --- a/xmloff/source/transform/DocumentTContext.cxx +++ b/xmloff/source/transform/DocumentTContext.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/xml/sax/SAXException.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/transform/MetaTContext.cxx b/xmloff/source/transform/MetaTContext.cxx index 1e2ca46e5c37..d3e4059ff99d 100644 --- a/xmloff/source/transform/MetaTContext.cxx +++ b/xmloff/source/transform/MetaTContext.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/xml/sax/SAXException.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlnamespace.hxx> diff --git a/xmloff/source/transform/MutableAttrList.cxx b/xmloff/source/transform/MutableAttrList.cxx index 6798721b4cdc..d53c595805df 100644 --- a/xmloff/source/transform/MutableAttrList.cxx +++ b/xmloff/source/transform/MutableAttrList.cxx @@ -20,7 +20,6 @@ #include <sal/config.h> #include <comphelper/attributelist.hxx> -#include <comphelper/servicehelper.hxx> #include "MutableAttrList.hxx" diff --git a/xmloff/source/transform/NotesTContext.cxx b/xmloff/source/transform/NotesTContext.cxx index 9cd3b2e574b6..b3adcdb007ba 100644 --- a/xmloff/source/transform/NotesTContext.cxx +++ b/xmloff/source/transform/NotesTContext.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/xml/sax/SAXException.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <osl/diagnose.h> #include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx index d7d63b853c8b..418c17e9f565 100644 --- a/xmloff/source/transform/OOo2Oasis.cxx +++ b/xmloff/source/transform/OOo2Oasis.cxx @@ -20,11 +20,10 @@ #include <config_wasm_strip.h> #include <osl/diagnose.h> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <sal/log.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <comphelper/base64.hxx> #include <comphelper/processfactory.hxx> -#include <comphelper/servicehelper.hxx> #include <utility> #include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> @@ -45,7 +44,6 @@ #include "OOo2Oasis.hxx" #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> -#include <comphelper/diagnose_ex.hxx> using namespace ::xmloff::token; using namespace ::com::sun::star::uno; diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx index 1a9abab488ce..88cc9b81b103 100644 --- a/xmloff/source/transform/Oasis2OOo.cxx +++ b/xmloff/source/transform/Oasis2OOo.cxx @@ -43,7 +43,6 @@ #include "AttrTransformerAction.hxx" #include "TransformerActions.hxx" #include "FamilyType.hxx" -#include <comphelper/servicehelper.hxx> #include "Oasis2OOo.hxx" #include <cppuhelper/supportsservice.hxx> diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx index 75dd62db6374..fadc188bf8bc 100644 --- a/xmloff/source/transform/StyleOASISTContext.cxx +++ b/xmloff/source/transform/StyleOASISTContext.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/xml/sax/SAXException.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <rtl/ustrbuf.hxx> #include <osl/diagnose.h> #include <sax/tools/converter.hxx> diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx index 214884140869..490baa5b4905 100644 --- a/xmloff/source/transform/StyleOOoTContext.cxx +++ b/xmloff/source/transform/StyleOOoTContext.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/xml/sax/SAXException.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <sax/tools/converter.hxx> diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index 288f013a9253..7d64b905900a 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -19,7 +19,6 @@ #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> -#include <sal/log.hxx> #include <tools/UnitConversion.hxx> #include <osl/diagnose.h> #include <com/sun/star/i18n/CharacterClassification.hpp> diff --git a/xmloff/source/transform/TransformerContext.cxx b/xmloff/source/transform/TransformerContext.cxx index 880821aff5a5..658aee8bfc34 100644 --- a/xmloff/source/transform/TransformerContext.cxx +++ b/xmloff/source/transform/TransformerContext.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/xml/sax/SAXException.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <utility> #include <osl/diagnose.h> diff --git a/xmloff/source/xforms/SchemaContext.cxx b/xmloff/source/xforms/SchemaContext.cxx index 573805a25164..3d643b50d70c 100644 --- a/xmloff/source/xforms/SchemaContext.cxx +++ b/xmloff/source/xforms/SchemaContext.cxx @@ -24,7 +24,6 @@ #include <xmloff/xmltoken.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlimp.hxx> #include <sal/log.hxx> diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx index 0a1114f7d40c..c7c4cd390a74 100644 --- a/xmloff/source/xforms/SchemaRestrictionContext.cxx +++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx @@ -23,9 +23,6 @@ #include <utility> #include <xmloff/xmltoken.hxx> -#include <xmloff/namespacemap.hxx> -#include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlimp.hxx> #include <sax/tools/converter.hxx> diff --git a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx index cd245193094f..261b4723f864 100644 --- a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx +++ b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx @@ -22,12 +22,9 @@ #include "SchemaRestrictionContext.hxx" #include <xmloff/xmltoken.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlimp.hxx> -#include <osl/diagnose.h> #include <sal/log.hxx> using com::sun::star::uno::Reference; diff --git a/xmloff/source/xforms/TokenContext.cxx b/xmloff/source/xforms/TokenContext.cxx index 928ea8788931..6275bad5c73f 100644 --- a/xmloff/source/xforms/TokenContext.cxx +++ b/xmloff/source/xforms/TokenContext.cxx @@ -18,12 +18,9 @@ */ #include <sal/config.h> -#include <sal/log.hxx> #include "TokenContext.hxx" -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlimp.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmlerror.hxx> #include <algorithm> diff --git a/xmloff/source/xforms/XFormsBindContext.cxx b/xmloff/source/xforms/XFormsBindContext.cxx index 9c799d53f322..f8190164697b 100644 --- a/xmloff/source/xforms/XFormsBindContext.cxx +++ b/xmloff/source/xforms/XFormsBindContext.cxx @@ -25,14 +25,12 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmlerror.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlnamespace.hxx> #include <xmloff/namespacemap.hxx> #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/xforms/XModel2.hpp> -#include <osl/diagnose.h> #include <sal/log.hxx> using com::sun::star::uno::Reference; diff --git a/xmloff/source/xforms/XFormsInstanceContext.cxx b/xmloff/source/xforms/XFormsInstanceContext.cxx index e6e6ec2a2fa4..b79c3f1b615b 100644 --- a/xmloff/source/xforms/XFormsInstanceContext.cxx +++ b/xmloff/source/xforms/XFormsInstanceContext.cxx @@ -26,14 +26,11 @@ #include <sal/log.hxx> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/xml/dom/XDocument.hpp> #include <com/sun/star/xforms/XModel2.hpp> -#include <osl/diagnose.h> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmlerror.hxx> -#include <xmloff/namespacemap.hxx> using com::sun::star::uno::Reference; diff --git a/xmloff/source/xforms/XFormsModelContext.cxx b/xmloff/source/xforms/XFormsModelContext.cxx index 479909fb5496..fa3c500af4fc 100644 --- a/xmloff/source/xforms/XFormsModelContext.cxx +++ b/xmloff/source/xforms/XFormsModelContext.cxx @@ -28,15 +28,12 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> -#include <xmloff/namespacemap.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/xmlerror.hxx> -#include <osl/diagnose.h> #include <sal/log.hxx> #include <com/sun/star/util/XUpdatable.hpp> -#include <com/sun/star/xforms/XModel2.hpp> using com::sun::star::util::XUpdatable; diff --git a/xmloff/source/xforms/XFormsSubmissionContext.cxx b/xmloff/source/xforms/XFormsSubmissionContext.cxx index 49369765820a..ed9cf44b7ba7 100644 --- a/xmloff/source/xforms/XFormsSubmissionContext.cxx +++ b/xmloff/source/xforms/XFormsSubmissionContext.cxx @@ -24,14 +24,11 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/xmltkmap.hxx> -#include <xmloff/namespacemap.hxx> #include <sax/tools/converter.hxx> #include <com/sun/star/xforms/XModel2.hpp> -#include <osl/diagnose.h> #include <sal/log.hxx> using com::sun::star::xforms::XModel2; |