sc/source/filter/inc/formulabuffer.hxx | 1 - sc/source/filter/oox/condformatbuffer.cxx | 1 - sc/source/filter/oox/defnamesbuffer.cxx | 1 - sc/source/filter/oox/formulabuffer.cxx | 5 ----- sc/source/filter/oox/sheetdatabuffer.cxx | 1 - sc/source/filter/oox/workbookfragment.cxx | 1 - sc/source/filter/oox/workbookhelper.cxx | 4 ---- sc/source/filter/oox/worksheethelper.cxx | 4 ---- sc/source/filter/xcl97/xcl97rec.cxx | 2 -- sc/source/filter/xml/XMLTableShapeResizer.hxx | 2 -- sc/source/filter/xml/xmlcelli.cxx | 15 --------------- sc/source/filter/xml/xmldrani.hxx | 3 --- sc/source/filter/xml/xmlexprt.hxx | 2 -- sc/source/filter/xml/xmlimprt.hxx | 1 - sc/source/filter/xml/xmlrowi.cxx | 3 --- sc/source/filter/xml/xmlsubti.hxx | 3 --- sc/source/filter/xml/xmltabi.cxx | 6 ------ sc/source/ui/unoobj/datauno.cxx | 2 +- 18 files changed, 1 insertion(+), 56 deletions(-)
New commits: commit dfee3a97a0bd30e461974af4ecb09f67bded584d Author: Bartosz Kosiorek <gan...@poczta.onet.pl> Date: Fri Nov 18 15:44:39 2016 +0100 tdf#48140 Remove not used UNO headers from filters Change-Id: I66e775b60343fe8ac772d8c0287ca19be58a7236 Reviewed-on: https://gerrit.libreoffice.org/30966 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/filter/inc/formulabuffer.hxx b/sc/source/filter/inc/formulabuffer.hxx index 692fff2..d52f2d6 100644 --- a/sc/source/filter/inc/formulabuffer.hxx +++ b/sc/source/filter/inc/formulabuffer.hxx @@ -25,7 +25,6 @@ #include <vector> #include "worksheethelper.hxx" #include "sheetdatabuffer.hxx" -#include <com/sun/star/sheet/XFormulaTokens.hpp> namespace oox { namespace xls { diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx index f08f8b6..1d0dd13 100644 --- a/sc/source/filter/oox/condformatbuffer.cxx +++ b/sc/source/filter/oox/condformatbuffer.cxx @@ -20,7 +20,6 @@ #include "condformatbuffer.hxx" #include <com/sun/star/sheet/ConditionOperator2.hpp> -#include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/CellRangeAddress.hpp> #include <rtl/ustrbuf.hxx> #include <osl/diagnose.h> diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx index 18c0aeb..79457ab 100644 --- a/sc/source/filter/oox/defnamesbuffer.cxx +++ b/sc/source/filter/oox/defnamesbuffer.cxx @@ -24,7 +24,6 @@ #include <com/sun/star/sheet/NamedRangeFlag.hpp> #include <com/sun/star/sheet/ReferenceFlags.hpp> #include <com/sun/star/sheet/SingleReference.hpp> -#include <com/sun/star/sheet/XFormulaTokens.hpp> #include <com/sun/star/sheet/XPrintAreas.hpp> #include <osl/diagnose.h> #include <rtl/ustrbuf.hxx> diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx index f2aff25..003d0b9 100644 --- a/sc/source/filter/oox/formulabuffer.cxx +++ b/sc/source/filter/oox/formulabuffer.cxx @@ -10,11 +10,6 @@ #include "formulabuffer.hxx" #include "formulaparser.hxx" #include <externallinkbuffer.hxx> -#include <com/sun/star/sheet/XFormulaTokens.hpp> -#include <com/sun/star/sheet/XArrayFormulaTokens.hpp> -#include <com/sun/star/container/XIndexAccess.hpp> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> -#include <com/sun/star/table/XCell2.hpp> #include "formulacell.hxx" #include "document.hxx" #include "documentimport.hxx" diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx index fd4c9f1..44a0e02 100644 --- a/sc/source/filter/oox/sheetdatabuffer.cxx +++ b/sc/source/filter/oox/sheetdatabuffer.cxx @@ -22,7 +22,6 @@ #include <algorithm> #include <com/sun/star/sheet/XArrayFormulaTokens.hpp> #include <com/sun/star/sheet/XCellRangeData.hpp> -#include <com/sun/star/sheet/XFormulaTokens.hpp> #include <com/sun/star/sheet/XMultipleOperation.hpp> #include <com/sun/star/table/XCell.hpp> #include <com/sun/star/text/XText.hpp> diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx index 78b7686..53ae02f 100644 --- a/sc/source/filter/oox/workbookfragment.cxx +++ b/sc/source/filter/oox/workbookfragment.cxx @@ -19,7 +19,6 @@ #include "workbookfragment.hxx" -#include <com/sun/star/table/CellAddress.hpp> #include <oox/core/filterbase.hxx> #include <oox/core/xmlfilterbase.hxx> #include <oox/drawingml/themefragmenthandler.hxx> diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx index 580b430..8cd46ed 100644 --- a/sc/source/filter/oox/workbookhelper.cxx +++ b/sc/source/filter/oox/workbookhelper.cxx @@ -21,17 +21,13 @@ #include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/container/XNameContainer.hpp> -#include <com/sun/star/document/XActionLockable.hpp> #include <com/sun/star/sheet/XDatabaseRange.hpp> #include <com/sun/star/sheet/XDatabaseRanges.hpp> -#include <com/sun/star/sheet/XUnnamedDatabaseRanges.hpp> #include <com/sun/star/sheet/XSpreadsheet.hpp> #include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <com/sun/star/sheet/NamedRangeFlag.hpp> #include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> -#include <com/sun/star/table/CellAddress.hpp> -#include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <osl/thread.h> diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 5d20156..450283a 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -25,14 +25,11 @@ #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/drawing/XDrawPageSupplier.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/sheet/TableValidationVisibility.hpp> #include <com/sun/star/sheet/ValidationType.hpp> #include <com/sun/star/sheet/ValidationAlertStyle.hpp> #include <com/sun/star/sheet/XCellAddressable.hpp> #include <com/sun/star/sheet/XCellRangeAddressable.hpp> -#include <com/sun/star/sheet/XFormulaTokens.hpp> -#include <com/sun/star/sheet/XLabelRanges.hpp> #include <com/sun/star/sheet/XMultiFormulaTokens.hpp> #include <com/sun/star/sheet/XSheetCellRangeContainer.hpp> #include <com/sun/star/sheet/XSheetCondition2.hpp> @@ -40,7 +37,6 @@ #include <com/sun/star/sheet/XSpreadsheet.hpp> #include <com/sun/star/table/XColumnRowRange.hpp> #include <com/sun/star/text/WritingMode2.hpp> -#include <com/sun/star/text/XText.hpp> #include <osl/diagnose.h> #include <rtl/ustrbuf.hxx> #include <oox/core/filterbase.hxx> diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx index 991355d..85f8067 100644 --- a/sc/source/filter/xcl97/xcl97rec.cxx +++ b/sc/source/filter/xcl97/xcl97rec.cxx @@ -69,8 +69,6 @@ #include "patattr.hxx" #include "tabprotection.hxx" -#include <com/sun/star/sheet/XCellAddressable.hpp> -#include <com/sun/star/sheet/XCellRangeAddressable.hpp> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> diff --git a/sc/source/filter/xml/XMLTableShapeResizer.hxx b/sc/source/filter/xml/XMLTableShapeResizer.hxx index bead339..f154bb3 100644 --- a/sc/source/filter/xml/XMLTableShapeResizer.hxx +++ b/sc/source/filter/xml/XMLTableShapeResizer.hxx @@ -21,8 +21,6 @@ #define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESHAPERESIZER_HXX #include <com/sun/star/drawing/XShape.hpp> -#include <com/sun/star/table/CellAddress.hpp> -#include <com/sun/star/sheet/XSpreadsheet.hpp> #include <list> class ScXMLImport; diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 6ac6a4c..851101e 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -91,27 +91,12 @@ #include <svtools/miscopt.hxx> #include <sax/tools/converter.hxx> -#include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/text/XText.hpp> -#include <com/sun/star/sheet/XSpreadsheets.hpp> -#include <com/sun/star/sheet/XSpreadsheet.hpp> -#include <com/sun/star/sheet/XCellRangeAddressable.hpp> - -#include <com/sun/star/sheet/XSheetCondition.hpp> -#include <com/sun/star/table/XCellRange.hpp> #include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/util/NumberFormat.hpp> -#include <com/sun/star/util/XNumberFormatsSupplier.hpp> -#include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/util/Date.hpp> -#include <com/sun/star/lang/Locale.hpp> -#include <com/sun/star/text/ControlCharacter.hpp> -#include <com/sun/star/table/XCell.hpp> -#include <com/sun/star/document/XActionLockable.hpp> #include <com/sun/star/sheet/ValidationType.hpp> #include <com/sun/star/sheet/ValidationAlertStyle.hpp> -#include <com/sun/star/sheet/ConditionOperator.hpp> #include <rtl/ustrbuf.hxx> #include <tools/date.hxx> diff --git a/sc/source/filter/xml/xmldrani.hxx b/sc/source/filter/xml/xmldrani.hxx index 8c47371..a22339a 100644 --- a/sc/source/filter/xml/xmldrani.hxx +++ b/sc/source/filter/xml/xmldrani.hxx @@ -23,10 +23,7 @@ #include <xmloff/xmlimp.hxx> #include <com/sun/star/sheet/DataImportMode.hpp> #include <com/sun/star/sheet/SubTotalColumn.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/sheet/TableFilterField2.hpp> -#include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/CellRangeAddress.hpp> #include <com/sun/star/table/TableOrientation.hpp> diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx index 7e40ae1..90ef0ff 100644 --- a/sc/source/filter/xml/xmlexprt.hxx +++ b/sc/source/filter/xml/xmlexprt.hxx @@ -23,8 +23,6 @@ #include <com/sun/star/sheet/XSpreadsheet.hpp> #include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <com/sun/star/table/CellRangeAddress.hpp> -#include <com/sun/star/table/CellAddress.hpp> -#include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/table/XCellRange.hpp> #include "address.hxx" diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index b2eec2a..317fad7 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -37,7 +37,6 @@ #include <com/sun/star/sheet/ValidationAlertStyle.hpp> #include <com/sun/star/sheet/ValidationType.hpp> #include <com/sun/star/sheet/ConditionOperator.hpp> -#include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/sheet/XSheetCellRangeContainer.hpp> diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx index 723b1f1..2a66bde 100644 --- a/sc/source/filter/xml/xmlrowi.cxx +++ b/sc/source/filter/xml/xmlrowi.cxx @@ -33,13 +33,10 @@ #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> -#include <com/sun/star/table/CellAddress.hpp> - #define SC_ISFILTERED "IsFiltered" using namespace com::sun::star; diff --git a/sc/source/filter/xml/xmlsubti.hxx b/sc/source/filter/xml/xmlsubti.hxx index 83a93b7..48f7a92 100644 --- a/sc/source/filter/xml/xmlsubti.hxx +++ b/sc/source/filter/xml/xmlsubti.hxx @@ -23,10 +23,7 @@ #include <xmloff/xmlimp.hxx> #include <com/sun/star/sheet/XSpreadsheet.hpp> #include <com/sun/star/drawing/XDrawPage.hpp> -#include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/XCellRange.hpp> -#include <com/sun/star/table/CellRangeAddress.hpp> -#include <com/sun/star/frame/XModel.hpp> #include "XMLTableShapeResizer.hxx" #include <formula/grammar.hxx> diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx index 98837dd..162bacd 100644 --- a/sc/source/filter/xml/xmltabi.cxx +++ b/sc/source/filter/xml/xmltabi.cxx @@ -43,12 +43,6 @@ #include <tools/urlobj.hxx> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> -#include <com/sun/star/sheet/XSpreadsheets.hpp> -#include <com/sun/star/sheet/XSpreadsheet.hpp> -#include <com/sun/star/sheet/XPrintAreas.hpp> -#include <com/sun/star/table/CellAddress.hpp> - using namespace com::sun::star; using namespace xmloff::token; using ::com::sun::star::uno::Reference; diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx index 6af4446..718af05 100644 --- a/sc/source/ui/unoobj/datauno.cxx +++ b/sc/source/ui/unoobj/datauno.cxx @@ -1640,7 +1640,7 @@ void ScDatabaseRangeObj::Notify( SfxBroadcaster&, const SfxHint& rHint ) } } -// Hilfsfuntionen +// Help functions ScDBData* ScDatabaseRangeObj::GetDBData_Impl() const { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits