diff options
Diffstat (limited to 'sc/source/filter')
34 files changed, 15 insertions, 100 deletions
diff --git a/sc/source/filter/inc/formulabase.hxx b/sc/source/filter/inc/formulabase.hxx index e105905485b8..e217165fe04d 100644 --- a/sc/source/filter/inc/formulabase.hxx +++ b/sc/source/filter/inc/formulabase.hxx @@ -30,7 +30,7 @@ #include "addressconverter.hxx" namespace com { namespace sun { namespace star { - namespace sheet { class XFormulaOpCodeMapper; } + namespace lang { class XMultiServiceFactory; } namespace sheet { class XFormulaParser; } } } } diff --git a/sc/source/filter/inc/numberformatsbuffer.hxx b/sc/source/filter/inc/numberformatsbuffer.hxx index 57861d4f26a3..4098095cdaa0 100644 --- a/sc/source/filter/inc/numberformatsbuffer.hxx +++ b/sc/source/filter/inc/numberformatsbuffer.hxx @@ -28,8 +28,6 @@ namespace com { namespace sun { namespace star { namespace util { class XNumberFormats; } } } } -namespace oox { class PropertyMap; } - namespace oox { namespace xls { diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx index 8a5fdc84d408..64231e96636b 100644 --- a/sc/source/filter/inc/stylesbuffer.hxx +++ b/sc/source/filter/inc/stylesbuffer.hxx @@ -37,12 +37,8 @@ #include "attarray.hxx" #include <list> -class ScMarkData; -namespace com { namespace sun { namespace star { - namespace awt { struct FontDescrtiptor; } -} } } - -namespace oox { class PropertySet; } +namespace oox { class PropertySet; + class PropertyMap; } namespace oox { namespace xls { diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx index 7b6a07354a92..e5e12b6dfc08 100644 --- a/sc/source/filter/inc/workbookhelper.hxx +++ b/sc/source/filter/inc/workbookhelper.hxx @@ -28,22 +28,18 @@ #include "rangenam.hxx" namespace com { namespace sun { namespace star { - namespace container { class XNameAccess; } namespace container { class XNameContainer; } - namespace lang { class XMultiServiceFactory; } namespace sheet { class XDatabaseRange; } namespace sheet { class XSpreadsheet; } namespace sheet { class XSpreadsheetDocument; } namespace sheet { struct FormulaToken; } namespace style { class XStyle; } - namespace table { class XCell; } namespace table { class XCellRange; } } } } namespace oox { class AttributeList; class SegmentProgressBar; - class ISegmentProgressBar; } namespace oox { namespace core { @@ -54,7 +50,6 @@ namespace oox { namespace core { } } class ScDocument; -class ScDocShell; class ScDocumentImport; class ScEditEngineDefaulter; class ScDBData; @@ -73,7 +68,6 @@ struct IgnoreCaseCompare class AddressConverter; class ConnectionsBuffer; class DefinedNamesBuffer; -class ExcelChartConverter; class ExternalLinkBuffer; class FormulaParser; class PageSettingsConverter; diff --git a/sc/source/filter/inc/worksheetbuffer.hxx b/sc/source/filter/inc/worksheetbuffer.hxx index cc865595fbd4..dc9a18447ce6 100644 --- a/sc/source/filter/inc/worksheetbuffer.hxx +++ b/sc/source/filter/inc/worksheetbuffer.hxx @@ -26,9 +26,6 @@ #include "workbookhelper.hxx" #include "documentimport.hxx" -namespace com { namespace sun { namespace star { - namespace i18n { class XCharacterClassification; } -} } } namespace oox { namespace xls { diff --git a/sc/source/filter/inc/worksheethelper.hxx b/sc/source/filter/inc/worksheethelper.hxx index d996ee021ade..3c2276e1b308 100644 --- a/sc/source/filter/inc/worksheethelper.hxx +++ b/sc/source/filter/inc/worksheethelper.hxx @@ -35,7 +35,6 @@ namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } namespace sheet { class XSpreadsheet; } namespace table { class XCell; } - namespace table { class XCell2; } namespace table { class XCellRange; } } } } diff --git a/sc/source/filter/oox/commentsbuffer.cxx b/sc/source/filter/oox/commentsbuffer.cxx index 568d38000e92..ae719868b0a9 100644 --- a/sc/source/filter/oox/commentsbuffer.cxx +++ b/sc/source/filter/oox/commentsbuffer.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/sheet/XSheetAnnotationShapeSupplier.hpp> #include <com/sun/star/sheet/XSheetAnnotations.hpp> #include <com/sun/star/sheet/XSheetAnnotationsSupplier.hpp> +#include <com/sun/star/text/XText.hpp> #include <osl/diagnose.h> #include <oox/helper/attributelist.hxx> #include <oox/vml/vmlshape.hxx> @@ -35,10 +36,6 @@ #include <svx/sdtaitm.hxx> #include "unitconverter.hxx" -#include <com/sun/star/text/XText.hpp> - -using ::com::sun::star::text::XText; - namespace oox { namespace xls { diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx index ede0d46c7da3..3dcb0b2bfdcd 100644 --- a/sc/source/filter/oox/condformatbuffer.cxx +++ b/sc/source/filter/oox/condformatbuffer.cxx @@ -46,7 +46,6 @@ namespace oox { namespace xls { using namespace ::com::sun::star::sheet; -using namespace ::com::sun::star::style; using namespace ::com::sun::star::uno; namespace { diff --git a/sc/source/filter/oox/drawingbase.cxx b/sc/source/filter/oox/drawingbase.cxx index eae05aac6241..7835942ebb0b 100644 --- a/sc/source/filter/oox/drawingbase.cxx +++ b/sc/source/filter/oox/drawingbase.cxx @@ -32,7 +32,6 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::table; using namespace ::oox::drawingml; namespace { diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx index 67b24276b5b4..91a2e5008728 100644 --- a/sc/source/filter/oox/drawingfragment.cxx +++ b/sc/source/filter/oox/drawingfragment.cxx @@ -56,7 +56,6 @@ using namespace ::com::sun::star::document; using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::script; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::xml::sax; using namespace ::oox::core; using namespace ::oox::drawingml; using namespace ::oox::ole; diff --git a/sc/source/filter/oox/excelchartconverter.cxx b/sc/source/filter/oox/excelchartconverter.cxx index 71a161e1b940..3357ed93b968 100644 --- a/sc/source/filter/oox/excelchartconverter.cxx +++ b/sc/source/filter/oox/excelchartconverter.cxx @@ -35,8 +35,6 @@ namespace xls { using namespace ::com::sun::star::chart2; using namespace ::com::sun::star::chart2::data; -using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::table; using namespace ::com::sun::star::uno; using ::oox::drawingml::chart::DataSequenceModel; diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx index 36c375711346..8cda915f6b74 100644 --- a/sc/source/filter/oox/excelfilter.cxx +++ b/sc/source/filter/oox/excelfilter.cxx @@ -36,7 +36,6 @@ namespace xls { using namespace ::com::sun::star::lang; using namespace ::com::sun::star::sheet; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::xml::sax; using namespace ::oox::core; using ::oox::drawingml::table::TableStyleListPtr; diff --git a/sc/source/filter/oox/excelvbaproject.cxx b/sc/source/filter/oox/excelvbaproject.cxx index 4a0ba64065ee..05dcb5ba79ad 100644 --- a/sc/source/filter/oox/excelvbaproject.cxx +++ b/sc/source/filter/oox/excelvbaproject.cxx @@ -24,7 +24,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/container/XEnumerationAccess.hpp> -#include <com/sun/star/document/XEventsSupplier.hpp> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/script/ModuleType.hpp> #include <com/sun/star/sheet/XSpreadsheetDocument.hpp> @@ -37,9 +36,7 @@ namespace oox { namespace xls { using namespace ::com::sun::star::container; -using namespace ::com::sun::star::document; using namespace ::com::sun::star::frame; -using namespace ::com::sun::star::lang; using namespace ::com::sun::star::script; using namespace ::com::sun::star::sheet; using namespace ::com::sun::star::uno; diff --git a/sc/source/filter/oox/externallinkbuffer.cxx b/sc/source/filter/oox/externallinkbuffer.cxx index b16d58f80b2e..878d8d762b71 100644 --- a/sc/source/filter/oox/externallinkbuffer.cxx +++ b/sc/source/filter/oox/externallinkbuffer.cxx @@ -20,16 +20,10 @@ #include "externallinkbuffer.hxx" #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/sheet/ComplexReference.hpp> #include <com/sun/star/sheet/DDELinkInfo.hpp> #include <com/sun/star/sheet/ExternalLinkType.hpp> -#include <com/sun/star/sheet/ExternalReference.hpp> -#include <com/sun/star/sheet/ReferenceFlags.hpp> -#include <com/sun/star/sheet/SingleReference.hpp> #include <com/sun/star/sheet/XDDELinks.hpp> -#include <com/sun/star/sheet/XDDELink.hpp> #include <com/sun/star/sheet/XDDELinkResults.hpp> -#include <com/sun/star/sheet/XExternalDocLink.hpp> #include <com/sun/star/sheet/XExternalDocLinks.hpp> #include <osl/diagnose.h> #include <rtl/strbuf.hxx> @@ -47,7 +41,6 @@ namespace oox { namespace xls { using namespace ::com::sun::star::sheet; -using namespace ::com::sun::star::table; using namespace ::com::sun::star::uno; using ::oox::core::Relation; diff --git a/sc/source/filter/oox/externallinkfragment.cxx b/sc/source/filter/oox/externallinkfragment.cxx index d3f0bdac891b..c91360a8e43b 100644 --- a/sc/source/filter/oox/externallinkfragment.cxx +++ b/sc/source/filter/oox/externallinkfragment.cxx @@ -31,7 +31,6 @@ namespace oox { namespace xls { using namespace ::com::sun::star::sheet; -using namespace ::com::sun::star::table; using namespace ::com::sun::star::uno; using namespace ::oox::core; diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx index b8a319f93fb4..00f73eebdf70 100644 --- a/sc/source/filter/oox/formulabuffer.cxx +++ b/sc/source/filter/oox/formulabuffer.cxx @@ -24,10 +24,8 @@ #include <oox/token/tokens.hxx> #include <svl/sharedstringpool.hxx> -using namespace com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::sheet; -using namespace ::com::sun::star::container; #include <memory> @@ -170,7 +168,7 @@ void applySharedFormulas( void applyCellFormulas( ScDocumentImport& rDoc, CachedTokenArray& rCache, SvNumberFormatter& rFormatter, - const uno::Sequence<sheet::ExternalLinkInfo>& rExternalLinks, + const Sequence<ExternalLinkInfo>& rExternalLinks, const std::vector<FormulaBuffer::TokenAddressItem>& rCells ) { for (const FormulaBuffer::TokenAddressItem& rItem : rCells) @@ -289,7 +287,7 @@ void applyCellFormulaValues( void processSheetFormulaCells( ScDocumentImport& rDoc, FormulaBuffer::SheetItem& rItem, SvNumberFormatter& rFormatter, - const uno::Sequence<sheet::ExternalLinkInfo>& rExternalLinks, bool bGeneratorKnownGood ) + const Sequence<ExternalLinkInfo>& rExternalLinks, bool bGeneratorKnownGood ) { if (rItem.mpSharedFormulaEntries && rItem.mpSharedFormulaIDs) applySharedFormulas(rDoc, rFormatter, *rItem.mpSharedFormulaEntries, *rItem.mpSharedFormulaIDs); diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx index ff0ce24e7c80..d7f7cc93d887 100644 --- a/sc/source/filter/oox/formulaparser.cxx +++ b/sc/source/filter/oox/formulaparser.cxx @@ -19,11 +19,8 @@ #include "formulaparser.hxx" -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/sheet/ComplexReference.hpp> #include <com/sun/star/sheet/ExternalReference.hpp> -#include <com/sun/star/sheet/FormulaToken.hpp> -#include <com/sun/star/sheet/NameToken.hpp> #include <com/sun/star/sheet/ReferenceFlags.hpp> #include <com/sun/star/sheet/SingleReference.hpp> #include <osl/diagnose.h> diff --git a/sc/source/filter/oox/numberformatsbuffer.cxx b/sc/source/filter/oox/numberformatsbuffer.cxx index 31b2e2467c04..3fb7178acd7d 100644 --- a/sc/source/filter/oox/numberformatsbuffer.cxx +++ b/sc/source/filter/oox/numberformatsbuffer.cxx @@ -19,9 +19,7 @@ #include "numberformatsbuffer.hxx" -#include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/i18n/NumberFormatIndex.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/util/XNumberFormats.hpp> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> @@ -46,7 +44,6 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx index 685d163044e1..4c6b27fa4114 100644 --- a/sc/source/filter/oox/pivotcachebuffer.cxx +++ b/sc/source/filter/oox/pivotcachebuffer.cxx @@ -50,7 +50,6 @@ namespace xls { using namespace ::com::sun::star::container; using namespace ::com::sun::star::sheet; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::util; using ::oox::core::Relations; diff --git a/sc/source/filter/oox/pivottablebuffer.cxx b/sc/source/filter/oox/pivottablebuffer.cxx index 37a1c4674622..f9da29ea2a64 100644 --- a/sc/source/filter/oox/pivottablebuffer.cxx +++ b/sc/source/filter/oox/pivottablebuffer.cxx @@ -60,7 +60,6 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::sheet; using namespace ::com::sun::star::table; using namespace ::com::sun::star::uno; -using namespace com::sun::star; namespace { diff --git a/sc/source/filter/oox/scenariobuffer.cxx b/sc/source/filter/oox/scenariobuffer.cxx index 5032159acdf5..dd2dc0092719 100644 --- a/sc/source/filter/oox/scenariobuffer.cxx +++ b/sc/source/filter/oox/scenariobuffer.cxx @@ -20,7 +20,6 @@ #include "scenariobuffer.hxx" #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/sheet/XScenario.hpp> #include <com/sun/star/sheet/XScenarios.hpp> #include <com/sun/star/sheet/XScenariosSupplier.hpp> diff --git a/sc/source/filter/oox/sharedstringsbuffer.cxx b/sc/source/filter/oox/sharedstringsbuffer.cxx index c01c2576a084..839f2c08e481 100644 --- a/sc/source/filter/oox/sharedstringsbuffer.cxx +++ b/sc/source/filter/oox/sharedstringsbuffer.cxx @@ -22,9 +22,6 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::text; -using namespace ::com::sun::star::uno; - SharedStringsBuffer::SharedStringsBuffer( const WorkbookHelper& rHelper ) : WorkbookHelper( rHelper ) { diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx index e40e47e147f0..52f29ac2b5b9 100644 --- a/sc/source/filter/oox/sheetdatabuffer.cxx +++ b/sc/source/filter/oox/sheetdatabuffer.cxx @@ -21,12 +21,8 @@ #include <algorithm> #include <com/sun/star/sheet/XArrayFormulaTokens.hpp> -#include <com/sun/star/sheet/XCellRangeData.hpp> -#include <com/sun/star/sheet/XMultipleOperation.hpp> -#include <com/sun/star/text/XText.hpp> #include <com/sun/star/util/DateTime.hpp> #include <com/sun/star/util/NumberFormat.hpp> -#include <com/sun/star/util/XMergeable.hpp> #include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> #include <rtl/ustrbuf.hxx> @@ -58,7 +54,6 @@ namespace xls { using namespace ::com::sun::star::lang; using namespace ::com::sun::star::sheet; -using namespace ::com::sun::star::text; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; diff --git a/sc/source/filter/oox/sheetdatacontext.cxx b/sc/source/filter/oox/sheetdatacontext.cxx index 2db99b33ff32..95f8be41b90a 100644 --- a/sc/source/filter/oox/sheetdatacontext.cxx +++ b/sc/source/filter/oox/sheetdatacontext.cxx @@ -19,10 +19,6 @@ #include "sheetdatacontext.hxx" -#include <com/sun/star/table/CellContentType.hpp> -#include <com/sun/star/table/XCell.hpp> -#include <com/sun/star/table/XCellRange.hpp> -#include <com/sun/star/text/XText.hpp> #include <oox/helper/attributelist.hxx> #include <oox/helper/propertyset.hxx> #include <oox/token/namespaces.hxx> @@ -35,11 +31,6 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::sheet; -using namespace ::com::sun::star::table; -using namespace ::com::sun::star::text; -using namespace ::com::sun::star::uno; - using ::oox::core::ContextHandlerRef; namespace { diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx index 0d097b0f699a..68253bd06064 100644 --- a/sc/source/filter/oox/stylesbuffer.cxx +++ b/sc/source/filter/oox/stylesbuffer.cxx @@ -30,14 +30,11 @@ #include <com/sun/star/awt/XDevice.hpp> #include <com/sun/star/awt/XFont2.hpp> #include <com/sun/star/container/XIndexAccess.hpp> -#include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/text/WritingMode2.hpp> -#include <com/sun/star/text/XText.hpp> #include <com/sun/star/table/BorderLineStyle.hpp> #include <com/sun/star/table/CellVertJustify2.hpp> #include <com/sun/star/table/CellJustifyMethod.hpp> -#include <com/sun/star/table/TableBorder.hpp> #include <editeng/justifyitem.hxx> #include <editeng/frmdiritem.hxx> #include <editeng/fontitem.hxx> @@ -85,7 +82,6 @@ namespace oox { namespace xls { -using namespace com::sun::star; using namespace ::com::sun::star::awt; using namespace ::com::sun::star::container; using namespace ::com::sun::star::style; @@ -1549,42 +1545,42 @@ bool Border::convertBorderLine( BorderLine2& rBorderLine, const BorderLineModel& { case XML_dashDot: lclSetBorderLineWidth( rBorderLine, API_LINE_THIN ); - rBorderLine.LineStyle = table::BorderLineStyle::DASH_DOT; + rBorderLine.LineStyle = BorderLineStyle::DASH_DOT; break; case XML_dashDotDot: lclSetBorderLineWidth( rBorderLine, API_LINE_THIN ); - rBorderLine.LineStyle = table::BorderLineStyle::DASH_DOT_DOT; + rBorderLine.LineStyle = BorderLineStyle::DASH_DOT_DOT; break; case XML_dashed: lclSetBorderLineWidth( rBorderLine, API_LINE_THIN ); - rBorderLine.LineStyle = table::BorderLineStyle::FINE_DASHED; + rBorderLine.LineStyle = BorderLineStyle::FINE_DASHED; break; case XML_dotted: lclSetBorderLineWidth( rBorderLine, API_LINE_THIN ); - rBorderLine.LineStyle = table::BorderLineStyle::DOTTED; + rBorderLine.LineStyle = BorderLineStyle::DOTTED; break; case XML_double: lclSetBorderLineWidth( rBorderLine, 10, 15, 10 ); - rBorderLine.LineStyle = table::BorderLineStyle::DOUBLE_THIN; + rBorderLine.LineStyle = BorderLineStyle::DOUBLE_THIN; break; case XML_hair: lclSetBorderLineWidth( rBorderLine, API_LINE_HAIR ); break; case XML_medium: lclSetBorderLineWidth( rBorderLine, API_LINE_MEDIUM ); break; case XML_mediumDashDot: lclSetBorderLineWidth( rBorderLine, API_LINE_MEDIUM ); - rBorderLine.LineStyle = table::BorderLineStyle::DASH_DOT; + rBorderLine.LineStyle = BorderLineStyle::DASH_DOT; break; case XML_mediumDashDotDot: lclSetBorderLineWidth( rBorderLine, API_LINE_MEDIUM ); - rBorderLine.LineStyle = table::BorderLineStyle::DASH_DOT_DOT; + rBorderLine.LineStyle = BorderLineStyle::DASH_DOT_DOT; break; case XML_mediumDashed: lclSetBorderLineWidth( rBorderLine, API_LINE_MEDIUM ); - rBorderLine.LineStyle = table::BorderLineStyle::DASHED; + rBorderLine.LineStyle = BorderLineStyle::DASHED; break; case XML_none: lclSetBorderLineWidth( rBorderLine, API_LINE_NONE ); break; case XML_slantDashDot: lclSetBorderLineWidth( rBorderLine, API_LINE_MEDIUM ); - rBorderLine.LineStyle = table::BorderLineStyle::FINE_DASHED; + rBorderLine.LineStyle = BorderLineStyle::FINE_DASHED; break; case XML_thick: lclSetBorderLineWidth( rBorderLine, API_LINE_THICK ); break; case XML_thin: lclSetBorderLineWidth( rBorderLine, API_LINE_THIN ); break; diff --git a/sc/source/filter/oox/tablebuffer.cxx b/sc/source/filter/oox/tablebuffer.cxx index e3fdbe31850b..10e5a196460e 100644 --- a/sc/source/filter/oox/tablebuffer.cxx +++ b/sc/source/filter/oox/tablebuffer.cxx @@ -33,7 +33,6 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::container; using namespace ::com::sun::star::sheet; using namespace ::com::sun::star::uno; diff --git a/sc/source/filter/oox/tablecolumnsbuffer.cxx b/sc/source/filter/oox/tablecolumnsbuffer.cxx index 1ea875ccba8e..56b0f7e094e9 100644 --- a/sc/source/filter/oox/tablecolumnsbuffer.cxx +++ b/sc/source/filter/oox/tablecolumnsbuffer.cxx @@ -19,7 +19,6 @@ #include "tablecolumnsbuffer.hxx" -#include <com/sun/star/sheet/XDatabaseRange.hpp> #include <rtl/ustrbuf.hxx> #include <osl/diagnose.h> #include <oox/helper/attributelist.hxx> @@ -34,10 +33,6 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::sheet; -using namespace ::com::sun::star::table; -using namespace ::com::sun::star::uno; - TableColumn::TableColumn( const WorkbookHelper& rHelper ) : WorkbookHelper( rHelper ), mnId( -1 ), diff --git a/sc/source/filter/oox/viewsettings.cxx b/sc/source/filter/oox/viewsettings.cxx index 4048674ac25a..6ac2aced3278 100644 --- a/sc/source/filter/oox/viewsettings.cxx +++ b/sc/source/filter/oox/viewsettings.cxx @@ -21,7 +21,6 @@ #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/container/XNameContainer.hpp> diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx index bf19e87c71d9..6799f1cb332e 100644 --- a/sc/source/filter/oox/workbookfragment.cxx +++ b/sc/source/filter/oox/workbookfragment.cxx @@ -80,7 +80,6 @@ namespace xls { using namespace ::com::sun::star::io; using namespace ::com::sun::star::table; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::sheet; using namespace ::oox::core; using ::oox::drawingml::ThemeFragmentHandler; diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx index 5dd584a85fe9..0eb53c5abecb 100644 --- a/sc/source/filter/oox/workbookhelper.cxx +++ b/sc/source/filter/oox/workbookhelper.cxx @@ -83,7 +83,6 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::awt; using namespace ::com::sun::star::container; using namespace ::com::sun::star::document; using namespace ::com::sun::star::lang; diff --git a/sc/source/filter/oox/worksheetbuffer.cxx b/sc/source/filter/oox/worksheetbuffer.cxx index 608657de8e1b..df0637640b50 100644 --- a/sc/source/filter/oox/worksheetbuffer.cxx +++ b/sc/source/filter/oox/worksheetbuffer.cxx @@ -20,10 +20,7 @@ #include "worksheetbuffer.hxx" #include <com/sun/star/container/XIndexAccess.hpp> -#include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XNamed.hpp> -#include <com/sun/star/sheet/XExternalSheetName.hpp> -#include <com/sun/star/sheet/XSheetLinkable.hpp> #include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <osl/diagnose.h> #include <rtl/ustrbuf.hxx> diff --git a/sc/source/filter/oox/worksheetfragment.cxx b/sc/source/filter/oox/worksheetfragment.cxx index c7649f1abdf7..8aaab09c43cd 100644 --- a/sc/source/filter/oox/worksheetfragment.cxx +++ b/sc/source/filter/oox/worksheetfragment.cxx @@ -47,7 +47,6 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::uno; using namespace ::oox::core; namespace { diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 34e8606df9ce..c57947ff8f95 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -87,7 +87,6 @@ using namespace ::com::sun::star::sheet; using namespace ::com::sun::star::table; using namespace ::com::sun::star::text; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::util; namespace { diff --git a/sc/source/filter/oox/worksheetsettings.cxx b/sc/source/filter/oox/worksheetsettings.cxx index 12d047dc47cd..2f4041c5798c 100644 --- a/sc/source/filter/oox/worksheetsettings.cxx +++ b/sc/source/filter/oox/worksheetsettings.cxx @@ -19,7 +19,6 @@ #include "worksheetsettings.hxx" -#include <com/sun/star/util/XProtectable.hpp> #include <oox/core/filterbase.hxx> #include <oox/helper/binaryinputstream.hxx> #include <oox/helper/attributelist.hxx> @@ -34,9 +33,7 @@ namespace oox { namespace xls { -using namespace ::com::sun::star::beans; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::util; namespace { |