sc/source/filter/inc/drawingbase.hxx | 2 -- sc/source/filter/inc/drawingfragment.hxx | 1 - sc/source/filter/inc/formulabuffer.hxx | 3 --- sc/source/filter/inc/ooxformulaparser.hxx | 1 - sc/source/filter/inc/pivotcachebuffer.hxx | 1 - sc/source/filter/inc/scenariobuffer.hxx | 1 - sc/source/filter/inc/stylesbuffer.hxx | 1 - sc/source/filter/inc/viewsettings.hxx | 1 - sc/source/filter/inc/xlstyle.hxx | 1 - sc/source/filter/xml/XMLCalculationSettingsContext.cxx | 1 - sc/source/filter/xml/XMLExportDatabaseRanges.cxx | 4 ---- sc/source/filter/xml/XMLTableShapeResizer.cxx | 2 -- sc/source/filter/xml/XMLTableShapesContext.cxx | 1 - sc/source/filter/xml/xmlbodyi.cxx | 1 - sc/source/filter/xml/xmlcoli.cxx | 1 - sc/source/filter/xml/xmldrani.cxx | 6 ------ sc/source/filter/xml/xmlexprt.cxx | 9 --------- sc/source/filter/xml/xmlimprt.cxx | 5 ----- sc/source/filter/xml/xmlstyle.cxx | 1 - sc/source/filter/xml/xmlsubti.cxx | 7 ------- sc/source/filter/xml/xmlwrap.cxx | 8 -------- 21 files changed, 58 deletions(-)
New commits: commit 069445f9cdf4d3f48cbfcf7cb4bf02d16f74956e Author: Bartosz Kosiorek <gan...@poczta.onet.pl> Date: Mon Nov 21 15:44:20 2016 +0100 tdf#42949 Remove not needed uno headers from filters/xml Change-Id: I5be5150a41906aa550e1fe00aa1647d79315172d Reviewed-on: https://gerrit.libreoffice.org/31043 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/filter/inc/drawingbase.hxx b/sc/source/filter/inc/drawingbase.hxx index 16e258f..c0682da 100644 --- a/sc/source/filter/inc/drawingbase.hxx +++ b/sc/source/filter/inc/drawingbase.hxx @@ -23,8 +23,6 @@ #include <oox/drawingml/drawingmltypes.hxx> #include "worksheethelper.hxx" -#include <com/sun/star/drawing/XShape.hpp> -#include <com/sun/star/table/XCell.hpp> namespace oox { namespace xls { diff --git a/sc/source/filter/inc/drawingfragment.hxx b/sc/source/filter/inc/drawingfragment.hxx index 6c52a4e..e9a29d2 100644 --- a/sc/source/filter/inc/drawingfragment.hxx +++ b/sc/source/filter/inc/drawingfragment.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SC_SOURCE_FILTER_INC_DRAWINGFRAGMENT_HXX #include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/awt/Size.hpp> #include <oox/drawingml/shapegroupcontext.hxx> #include <oox/ole/axcontrol.hxx> #include <oox/drawingml/shape.hxx> diff --git a/sc/source/filter/inc/formulabuffer.hxx b/sc/source/filter/inc/formulabuffer.hxx index d52f2d6..1d1bc77 100644 --- a/sc/source/filter/inc/formulabuffer.hxx +++ b/sc/source/filter/inc/formulabuffer.hxx @@ -18,9 +18,6 @@ #include "workbookhelper.hxx" #include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/CellRangeAddress.hpp> -#include <com/sun/star/table/XCellRange.hpp> -#include <com/sun/star/table/XCell.hpp> -#include <com/sun/star/sheet/XSpreadsheet.hpp> #include <map> #include <vector> #include "worksheethelper.hxx" diff --git a/sc/source/filter/inc/ooxformulaparser.hxx b/sc/source/filter/inc/ooxformulaparser.hxx index c5b1d31..eaf1a11 100644 --- a/sc/source/filter/inc/ooxformulaparser.hxx +++ b/sc/source/filter/inc/ooxformulaparser.hxx @@ -22,7 +22,6 @@ #include <memory> #include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/sheet/XFilterFormulaParser.hpp> diff --git a/sc/source/filter/inc/pivotcachebuffer.hxx b/sc/source/filter/inc/pivotcachebuffer.hxx index a45e09c..2add88c 100644 --- a/sc/source/filter/inc/pivotcachebuffer.hxx +++ b/sc/source/filter/inc/pivotcachebuffer.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_PIVOTCACHEBUFFER_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_PIVOTCACHEBUFFER_HXX -#include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/CellRangeAddress.hpp> #include <com/sun/star/util/DateTime.hpp> #include <oox/helper/containerhelper.hxx> diff --git a/sc/source/filter/inc/scenariobuffer.hxx b/sc/source/filter/inc/scenariobuffer.hxx index d0c117f..cfe18f7 100644 --- a/sc/source/filter/inc/scenariobuffer.hxx +++ b/sc/source/filter/inc/scenariobuffer.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_SCENARIOBUFFER_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_SCENARIOBUFFER_HXX -#include <com/sun/star/table/CellAddress.hpp> #include <oox/helper/refmap.hxx> #include <oox/helper/refvector.hxx> #include "workbookhelper.hxx" diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx index d284fbc..2bc7598 100644 --- a/sc/source/filter/inc/stylesbuffer.hxx +++ b/sc/source/filter/inc/stylesbuffer.hxx @@ -23,7 +23,6 @@ #include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/table/CellHoriJustify.hpp> #include <com/sun/star/table/CellOrientation.hpp> -#include <com/sun/star/table/CellVertJustify2.hpp> #include <com/sun/star/table/BorderLine2.hpp> #include <com/sun/star/util/CellProtection.hpp> #include <oox/drawingml/color.hxx> diff --git a/sc/source/filter/inc/viewsettings.hxx b/sc/source/filter/inc/viewsettings.hxx index 951e0e2..c7d3ec5 100644 --- a/sc/source/filter/inc/viewsettings.hxx +++ b/sc/source/filter/inc/viewsettings.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_VIEWSETTINGS_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_VIEWSETTINGS_HXX -#include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/CellRangeAddress.hpp> #include "addressconverter.hxx" #include "stylesbuffer.hxx" diff --git a/sc/source/filter/inc/xlstyle.hxx b/sc/source/filter/inc/xlstyle.hxx index b83a646..339002d 100644 --- a/sc/source/filter/inc/xlstyle.hxx +++ b/sc/source/filter/inc/xlstyle.hxx @@ -22,7 +22,6 @@ #include <map> #include <com/sun/star/awt/FontSlant.hpp> -#include <com/sun/star/awt/FontUnderline.hpp> #include <com/sun/star/awt/FontStrikeout.hpp> #include <tools/color.hxx> #include <vcl/vclenum.hxx> diff --git a/sc/source/filter/xml/XMLCalculationSettingsContext.cxx b/sc/source/filter/xml/XMLCalculationSettingsContext.cxx index 6aeed40..c995a6a 100644 --- a/sc/source/filter/xml/XMLCalculationSettingsContext.cxx +++ b/sc/source/filter/xml/XMLCalculationSettingsContext.cxx @@ -26,7 +26,6 @@ #include <xmloff/xmlnmspe.hxx> #include <xmloff/nmspmap.hxx> #include <sax/tools/converter.hxx> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <comphelper/extract.hxx> using namespace com::sun::star; diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx index 8a627f1..a0d1ede 100644 --- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx +++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx @@ -40,12 +40,8 @@ #include <svx/dataaccessdescriptor.hxx> #include <com/sun/star/sheet/DataImportMode.hpp> -#include <com/sun/star/table/TableSortField.hpp> -#include <com/sun/star/table/TableSortFieldType.hpp> -#include <com/sun/star/sheet/XSubTotalField.hpp> #include <com/sun/star/sheet/XDatabaseRanges.hpp> #include <com/sun/star/sheet/XDatabaseRange.hpp> -#include <com/sun/star/table/TableOrientation.hpp> #include <comphelper/extract.hxx> #include <map> diff --git a/sc/source/filter/xml/XMLTableShapeResizer.cxx b/sc/source/filter/xml/XMLTableShapeResizer.cxx index 098b237..31f9bc2e 100644 --- a/sc/source/filter/xml/XMLTableShapeResizer.cxx +++ b/sc/source/filter/xml/XMLTableShapeResizer.cxx @@ -29,8 +29,6 @@ #include <osl/diagnose.h> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> -#include <com/sun/star/table/XColumnRowRange.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <memory> diff --git a/sc/source/filter/xml/XMLTableShapesContext.cxx b/sc/source/filter/xml/XMLTableShapesContext.cxx index 1d3b8db..4aa69c0 100644 --- a/sc/source/filter/xml/XMLTableShapesContext.cxx +++ b/sc/source/filter/xml/XMLTableShapesContext.cxx @@ -21,7 +21,6 @@ #include "XMLTableShapeImportHelper.hxx" #include "xmlimprt.hxx" #include "document.hxx" -#include <com/sun/star/drawing/XDrawPageSupplier.hpp> using namespace com::sun::star; diff --git a/sc/source/filter/xml/xmlbodyi.cxx b/sc/source/filter/xml/xmlbodyi.cxx index 53f1b62..17cc879 100644 --- a/sc/source/filter/xml/xmlbodyi.cxx +++ b/sc/source/filter/xml/xmlbodyi.cxx @@ -48,7 +48,6 @@ #include <xmloff/nmspmap.hxx> #include <sax/tools/converter.hxx> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <sal/types.h> #include <memory> diff --git a/sc/source/filter/xml/xmlcoli.cxx b/sc/source/filter/xml/xmlcoli.cxx index 1d62b3c..9c396d0 100644 --- a/sc/source/filter/xml/xmlcoli.cxx +++ b/sc/source/filter/xml/xmlcoli.cxx @@ -32,7 +32,6 @@ #include <xmloff/xmlnmspe.hxx> #include <xmloff/families.hxx> #include <xmloff/xmltoken.hxx> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <com/sun/star/sheet/XSpreadsheet.hpp> #include <com/sun/star/table/XColumnRowRange.hpp> #include <com/sun/star/sheet/XPrintAreas.hpp> diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx index 82ca937..c525b04 100644 --- a/sc/source/filter/xml/xmldrani.cxx +++ b/sc/source/filter/xml/xmldrani.cxx @@ -45,13 +45,7 @@ #include <sax/tools/converter.hxx> #include <com/sun/star/sheet/DataImportMode.hpp> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> -#include <com/sun/star/sheet/XDatabaseRanges.hpp> -#include <com/sun/star/sheet/XDatabaseRange.hpp> -#include <com/sun/star/table/CellRangeAddress.hpp> #include <comphelper/extract.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/xml/sax/XLocator.hpp> #include <memory> diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 2188806..a3ec5b1 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -131,23 +131,14 @@ #include <com/sun/star/io/XSeekable.hpp> #include <com/sun/star/sheet/XUsedAreaCursor.hpp> #include <com/sun/star/sheet/XCellRangeAddressable.hpp> -#include <com/sun/star/sheet/XAreaLinks.hpp> -#include <com/sun/star/sheet/XAreaLink.hpp> #include <com/sun/star/sheet/XPrintAreas.hpp> #include <com/sun/star/sheet/XUniqueCellFormatRangesSupplier.hpp> -#include <com/sun/star/sheet/XCellRangesQuery.hpp> -#include <com/sun/star/sheet/CellFlags.hpp> -#include <com/sun/star/sheet/XArrayFormulaRange.hpp> -#include <com/sun/star/sheet/XLabelRanges.hpp> #include <com/sun/star/sheet/XLabelRange.hpp> -#include <com/sun/star/sheet/XCellRangeReferrer.hpp> #include <com/sun/star/sheet/NamedRangeFlag.hpp> #include <com/sun/star/sheet/XSheetLinkable.hpp> #include <com/sun/star/sheet/GlobalSheetSettings.hpp> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> #include <com/sun/star/table/XColumnRowRange.hpp> -#include <com/sun/star/text/XText.hpp> -#include <com/sun/star/util/XMergeable.hpp> #include <com/sun/star/util/XProtectable.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index df7c99a..d74f871 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -81,11 +81,6 @@ #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/sheet/XSheetCellRange.hpp> -#include <com/sun/star/sheet/XCellRangeAddressable.hpp> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> -#include <com/sun/star/util/XMergeable.hpp> -#include <com/sun/star/sheet/CellInsertMode.hpp> -#include <com/sun/star/sheet/XCellRangeMovement.hpp> #include <com/sun/star/document/XActionLockable.hpp> #include <com/sun/star/util/NumberFormat.hpp> #include <com/sun/star/util/XNumberFormatTypes.hpp> diff --git a/sc/source/filter/xml/xmlstyle.cxx b/sc/source/filter/xml/xmlstyle.cxx index 9c99c86..f34c68e 100644 --- a/sc/source/filter/xml/xmlstyle.cxx +++ b/sc/source/filter/xml/xmlstyle.cxx @@ -40,7 +40,6 @@ #include <com/sun/star/table/CellVertJustify2.hpp> #include <com/sun/star/table/CellHoriJustify.hpp> #include <com/sun/star/table/CellJustifyMethod.hpp> -#include <com/sun/star/table/TableBorder.hpp> #include <com/sun/star/table/BorderLine2.hpp> #include <com/sun/star/sheet/XSheetConditionalEntry.hpp> #include <com/sun/star/sheet/XSheetCondition.hpp> diff --git a/sc/source/filter/xml/xmlsubti.cxx b/sc/source/filter/xml/xmlsubti.cxx index a277b0d..c145cc2 100644 --- a/sc/source/filter/xml/xmlsubti.cxx +++ b/sc/source/filter/xml/xmlsubti.cxx @@ -40,14 +40,7 @@ #include <xmloff/nmspmap.hxx> #include <xmloff/xmlerror.hxx> #include <com/sun/star/sheet/XSpreadsheetDocument.hpp> -#include <com/sun/star/sheet/XSheetCellRange.hpp> -#include <com/sun/star/sheet/XCellRangeAddressable.hpp> -#include <com/sun/star/sheet/CellInsertMode.hpp> -#include <com/sun/star/sheet/XCellRangeMovement.hpp> #include <com/sun/star/drawing/XDrawPageSupplier.hpp> -#include <com/sun/star/container/XNamed.hpp> -#include <com/sun/star/util/XProtectable.hpp> -#include <com/sun/star/sheet/XArrayFormulaRange.hpp> #include <memory> diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx index f170f31..c6b8be1 100644 --- a/sc/source/filter/xml/xmlwrap.cxx +++ b/sc/source/filter/xml/xmlwrap.cxx @@ -32,22 +32,14 @@ #include <sfx2/sfxsids.hrc> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> -#include <com/sun/star/xml/sax/XErrorHandler.hpp> -#include <com/sun/star/xml/sax/XEntityResolver.hpp> #include <com/sun/star/xml/sax/InputSource.hpp> -#include <com/sun/star/xml/sax/XDTDHandler.hpp> #include <com/sun/star/xml/sax/Parser.hpp> #include <com/sun/star/xml/sax/Writer.hpp> -#include <com/sun/star/io/XActiveDataSource.hpp> -#include <com/sun/star/io/XActiveDataControl.hpp> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/task/XStatusIndicatorFactory.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <comphelper/extract.hxx> #include <comphelper/propertysetinfo.hxx> #include <comphelper/genericpropertyset.hxx> -#include <com/sun/star/container/XNameContainer.hpp> -#include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/packages/zip/ZipIOException.hpp> #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/script/vba/XVBACompatibility.hpp> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits