diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2016-11-21 15:44:20 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-11-21 17:06:55 +0000 |
commit | 069445f9cdf4d3f48cbfcf7cb4bf02d16f74956e (patch) | |
tree | fa2581f727461f8e4c1aee0427cff96fbb11a906 | |
parent | a2686cc717187637c47f9c748b115a46bf16eced (diff) |
tdf#42949 Remove not needed uno headers from filters/xml
Change-Id: I5be5150a41906aa550e1fe00aa1647d79315172d
Reviewed-on: https://gerrit.libreoffice.org/31043
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
21 files changed, 0 insertions, 58 deletions
diff --git a/sc/source/filter/inc/drawingbase.hxx b/sc/source/filter/inc/drawingbase.hxx index 16e258f7a911..c0682dae8025 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 6c52a4efc48b..e9a29d290403 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 d52f2d65f29f..1d1bc7752d0a 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 c5b1d314c108..eaf1a113607e 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 a45e09ce1ec4..2add88cb52da 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 d0c117fb2044..cfe18f7eb94a 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 d284fbc4a726..2bc75986f6ea 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 951e0e2e3ecd..c7d3ec55a05f 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 b83a646f0ae5..339002dbf4cc 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 6aeed403e57b..c995a6a8254f 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 8a627f117e3b..a0d1ede509d2 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 098b2371d54a..31f9bc2e93df 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 1d3b8dbd6cb7..4aa69c0b65cd 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 53f1b625e066..17cc8793cae9 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 1d62b3cc0a10..9c396d04b555 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 82ca937a46f3..c525b046cfe2 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 2188806609df..a3ec5b1b06fc 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 df7c99a849fc..d74f87147882 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 9c99c86067d4..f34c68ed65b1 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 a277b0da5ffc..c145cc2a6cad 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 f170f31f1b33..c6b8be184ed3 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> |