diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-17 19:20:37 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-18 07:25:24 +0000 |
commit | 150ac9cf05ed9da6a2af5bc3f820280fd853e519 (patch) | |
tree | 10a73ee6974c2ee67ee63a09e533081ce519685f /sc/source | |
parent | 0fa6c88007f61176ac707cb5d77fd35cf1521123 (diff) |
clean-up: unused using declarations and includes
Searched source for using declarations.
Checked if those symbols reappear in the source file,
even in comments or dead code but not in #include statements.
If they don't reappear, remove the declaration.
Remove includes whose symbol got removed.
Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0
Reviewed-on: https://gerrit.libreoffice.org/24148
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source')
34 files changed, 0 insertions, 94 deletions
diff --git a/sc/source/core/data/clipparam.cxx b/sc/source/core/data/clipparam.cxx index 4a7370e996a2..9c08d6093dfc 100644 --- a/sc/source/core/data/clipparam.cxx +++ b/sc/source/core/data/clipparam.cxx @@ -19,7 +19,6 @@ #include "clipparam.hxx" -using ::std::vector; ScClipParam::ScClipParam() : meDirection(Unspecified), diff --git a/sc/source/core/data/dpfilteredcache.cxx b/sc/source/core/data/dpfilteredcache.cxx index c0ef87469938..805c3012da07 100644 --- a/sc/source/core/data/dpfilteredcache.cxx +++ b/sc/source/core/data/dpfilteredcache.cxx @@ -29,23 +29,10 @@ #include "dpitemdata.hxx" #include <osl/diagnose.h> -#include <com/sun/star/i18n/LocaleDataItem.hpp> -#include <com/sun/star/sdbc/DataType.hpp> -#include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XRowSet.hpp> -#include <com/sun/star/sdbc/XResultSetMetaData.hpp> -#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp> -#include <com/sun/star/util/Date.hpp> -#include <com/sun/star/sheet/DataPilotFieldFilter.hpp> -#include <com/sun/star/sheet/DataPilotFieldGroupBy.hpp> using ::std::vector; -using ::std::pair; -using ::com::sun::star::i18n::LocaleDataItem; -using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; -using ::com::sun::star::sheet::DataPilotFieldFilter; ScDPFilteredCache::SingleFilter::SingleFilter(const ScDPItemData& rItem) : maItem(rItem) {} diff --git a/sc/source/core/data/global2.cxx b/sc/source/core/data/global2.cxx index b31876a9bd31..5825e39339a0 100644 --- a/sc/source/core/data/global2.cxx +++ b/sc/source/core/data/global2.cxx @@ -39,7 +39,6 @@ #include "sc.hrc" #include "globstr.hrc" -using ::std::vector; // struct ScImportParam: diff --git a/sc/source/core/data/pivot2.cxx b/sc/source/core/data/pivot2.cxx index 6c06c69cca3e..4a1ba34d9dd8 100644 --- a/sc/source/core/data/pivot2.cxx +++ b/sc/source/core/data/pivot2.cxx @@ -44,8 +44,6 @@ using std::cout; using std::endl; #endif -using css::sheet::DataPilotFieldReference; -using std::vector; // ScDPName diff --git a/sc/source/core/tool/docoptio.cxx b/sc/source/core/tool/docoptio.cxx index 77c6389fbe91..3d4ab5b48501 100644 --- a/sc/source/core/tool/docoptio.cxx +++ b/sc/source/core/tool/docoptio.cxx @@ -37,7 +37,6 @@ using namespace com::sun::star::uno; using sc::HMMToTwips; -using sc::TwipsToHMM; using sc::TwipsToEvenHMM; static sal_uInt16 lcl_GetDefaultTabDist() diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx index a6d77373b875..a3fb6771d87c 100644 --- a/sc/source/core/tool/formulaopt.cxx +++ b/sc/source/core/tool/formulaopt.cxx @@ -11,7 +11,6 @@ #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/lang/Locale.hpp> -#include <com/sun/star/i18n/LocaleDataItem.hpp> #include <osl/diagnose.h> #include "formulaopt.hxx" @@ -22,7 +21,6 @@ using namespace utl; using namespace com::sun::star::uno; namespace lang = ::com::sun::star::lang; -using ::com::sun::star::i18n::LocaleDataItem; ScFormulaOptions::ScFormulaOptions() diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index 07f1bb9af91a..8c096d442bab 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -50,8 +50,6 @@ using std::endl; #endif using ::std::pair; -using ::std::for_each; -using ::std::count_if; using ::std::advance; using ::std::unary_function; diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx index c6da8e80da67..6e98086408b7 100644 --- a/sc/source/filter/excel/xechart.cxx +++ b/sc/source/filter/excel/xechart.cxx @@ -105,7 +105,6 @@ using ::com::sun::star::chart2::XFormattedString; using ::com::sun::star::chart2::XLegend; using ::com::sun::star::chart2::XRegressionCurve; using ::com::sun::star::chart2::XRegressionCurveContainer; -using ::com::sun::star::chart2::XScaling; using ::com::sun::star::chart2::XTitle; using ::com::sun::star::chart2::XTitled; @@ -113,7 +112,6 @@ using ::com::sun::star::chart2::data::XDataSequence; using ::com::sun::star::chart2::data::XDataSource; using ::com::sun::star::chart2::data::XLabeledDataSequence; -using ::formula::FormulaGrammar; using ::formula::FormulaToken; namespace cssc = ::com::sun::star::chart; diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx index b05bcad30693..0623f18cbb6b 100644 --- a/sc/source/filter/excel/xecontent.cxx +++ b/sc/source/filter/excel/xecontent.cxx @@ -21,8 +21,6 @@ #include <list> #include <algorithm> -#include <com/sun/star/container/XIndexAccess.hpp> -#include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/sheet/XAreaLinks.hpp> #include <com/sun/star/sheet/XAreaLink.hpp> #include <comphelper/string.hxx> @@ -52,9 +50,6 @@ using namespace ::oox; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::UNO_QUERY; -using ::com::sun::star::beans::XPropertySet; -using ::com::sun::star::container::XIndexAccess; -using ::com::sun::star::frame::XModel; using ::com::sun::star::table::CellRangeAddress; using ::com::sun::star::sheet::XAreaLinks; using ::com::sun::star::sheet::XAreaLink; diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx index 1c0b2ede4d7d..8859baac227e 100644 --- a/sc/source/filter/excel/xeescher.cxx +++ b/sc/source/filter/excel/xeescher.cxx @@ -26,14 +26,11 @@ #include <com/sun/star/awt/ScrollBarOrientation.hpp> #include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/form/binding/XBindableValue.hpp> -#include <com/sun/star/form/binding/XValueBinding.hpp> #include <com/sun/star/form/binding/XListEntrySink.hpp> -#include <com/sun/star/form/binding/XListEntrySource.hpp> #include <com/sun/star/script/ScriptEventDescriptor.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/container/XNamed.hpp> #include <set> #include <rtl/ustrbuf.h> @@ -88,17 +85,13 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::drawing::XShape; using ::com::sun::star::drawing::XShapes; using ::com::sun::star::frame::XModel; -using ::com::sun::star::embed::XEmbeddedObject; using ::com::sun::star::awt::XControlModel; using ::com::sun::star::form::binding::XBindableValue; -using ::com::sun::star::form::binding::XValueBinding; using ::com::sun::star::form::binding::XListEntrySink; -using ::com::sun::star::form::binding::XListEntrySource; using ::com::sun::star::script::ScriptEventDescriptor; using ::com::sun::star::table::CellAddress; using ::com::sun::star::table::CellRangeAddress; using ::com::sun::star::chart2::XChartDocument; -using ::com::sun::star::container::XNamed; using ::oox::drawingml::DrawingML; using ::oox::drawingml::ChartExport; using namespace oox; diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx index b72cd6e9941d..7f7644752952 100644 --- a/sc/source/filter/excel/xepivot.cxx +++ b/sc/source/filter/excel/xepivot.cxx @@ -45,7 +45,6 @@ using namespace ::oox; using ::com::sun::star::sheet::DataPilotFieldOrientation; -using ::com::sun::star::sheet::DataPilotFieldOrientation_HIDDEN; using ::com::sun::star::sheet::DataPilotFieldOrientation_ROW; using ::com::sun::star::sheet::DataPilotFieldOrientation_COLUMN; using ::com::sun::star::sheet::DataPilotFieldOrientation_PAGE; diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index aef122dbe380..83958d99ade3 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -63,10 +63,6 @@ #define DEBUG_XL_ENCRYPTION 0 -using ::com::sun::star::lang::XSingleServiceFactory; -using ::com::sun::star::registry::InvalidRegistryException; -using ::com::sun::star::registry::XRegistryKey; -using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::XInterface; using ::std::vector; diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx index 18d7afbaf5e1..a9ed30120401 100644 --- a/sc/source/filter/excel/xichart.cxx +++ b/sc/source/filter/excel/xichart.cxx @@ -104,7 +104,6 @@ using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::uno::Exception; using ::com::sun::star::beans::XPropertySet; -using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::frame::XModel; using ::com::sun::star::util::XNumberFormatsSupplier; using ::com::sun::star::drawing::XDrawPage; @@ -121,9 +120,6 @@ using ::com::sun::star::chart2::data::XLabeledDataSequence; using ::com::sun::star::chart2::data::LabeledDataSequence; using ::formula::FormulaToken; -using ::formula::StackVar; -using ::std::shared_ptr; -using ::std::pair; using ::std::unique_ptr; namespace cssc = ::com::sun::star::chart; diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index 0998647115f3..2c1809983825 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -121,7 +121,6 @@ using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; -using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::beans::NamedValue; using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::container::XIndexContainer; @@ -132,7 +131,6 @@ using ::com::sun::star::embed::XEmbeddedObject; using ::com::sun::star::embed::XEmbedPersist; using ::com::sun::star::drawing::XControlShape; using ::com::sun::star::drawing::XShape; -using ::com::sun::star::form::XForm; using ::com::sun::star::form::XFormComponent; using ::com::sun::star::form::XFormsSupplier; using ::com::sun::star::form::binding::XBindableValue; diff --git a/sc/source/filter/excel/xipivot.cxx b/sc/source/filter/excel/xipivot.cxx index ef2a209c3bb9..0bd13a5325b1 100644 --- a/sc/source/filter/excel/xipivot.cxx +++ b/sc/source/filter/excel/xipivot.cxx @@ -53,7 +53,6 @@ using namespace com::sun::star; -using ::com::sun::star::sheet::DataPilotFieldOrientation; using ::com::sun::star::sheet::DataPilotFieldOrientation_DATA; using ::com::sun::star::sheet::DataPilotFieldSortInfo; using ::com::sun::star::sheet::DataPilotFieldAutoShowInfo; diff --git a/sc/source/filter/excel/xlroot.cxx b/sc/source/filter/excel/xlroot.cxx index 4e9835de2ec4..46d9d28c2ad8 100644 --- a/sc/source/filter/excel/xlroot.cxx +++ b/sc/source/filter/excel/xlroot.cxx @@ -22,7 +22,6 @@ #include <com/sun/star/awt/XDevice.hpp> #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XFrame.hpp> -#include <com/sun/star/frame/XFramesSupplier.hpp> #include <com/sun/star/i18n/ScriptType.hpp> #include <comphelper/processfactory.hxx> #include <vcl/svapp.hxx> @@ -61,8 +60,6 @@ using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::awt::XDevice; using ::com::sun::star::awt::DeviceInfo; using ::com::sun::star::frame::XFrame; -using ::com::sun::star::frame::XFramesSupplier; -using ::com::sun::star::lang::XMultiServiceFactory; using namespace ::com::sun::star; diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx index d192800520b5..066d7839a431 100644 --- a/sc/source/filter/ftools/fapihelper.cxx +++ b/sc/source/filter/ftools/fapihelper.cxx @@ -43,13 +43,11 @@ using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; -using ::com::sun::star::uno::TypeClass_BOOLEAN; using ::com::sun::star::uno::XInterface; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::beans::XPropertyState; using ::com::sun::star::lang::XServiceName; using ::com::sun::star::lang::XMultiServiceFactory; -using ::com::sun::star::task::PasswordRequestMode_PASSWORD_ENTER; using namespace ::com::sun::star; diff --git a/sc/source/filter/oox/biffcodec.cxx b/sc/source/filter/oox/biffcodec.cxx index 18b19d0e23ab..02878bbccb74 100644 --- a/sc/source/filter/oox/biffcodec.cxx +++ b/sc/source/filter/oox/biffcodec.cxx @@ -21,7 +21,6 @@ #include <osl/thread.h> #include <string.h> -#include <oox/core/filterbase.hxx> #include "biffinputstream.hxx" namespace oox { @@ -30,7 +29,6 @@ namespace xls { using namespace ::com::sun::star::beans; using namespace ::com::sun::star::uno; -using ::oox::core::FilterBase; BiffDecoderBase::BiffDecoderBase() : mbValid( false ) diff --git a/sc/source/filter/oox/commentsbuffer.cxx b/sc/source/filter/oox/commentsbuffer.cxx index 7198dc1ea8ab..15de0690088d 100644 --- a/sc/source/filter/oox/commentsbuffer.cxx +++ b/sc/source/filter/oox/commentsbuffer.cxx @@ -37,10 +37,8 @@ #include "drawingmanager.hxx" #include <com/sun/star/text/XText.hpp> -#include <com/sun/star/text/XTextRange.hpp> using ::com::sun::star::text::XText; -using ::com::sun::star::text::XTextRange; namespace oox { namespace xls { diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx index 554097116d8a..1e48469ee192 100644 --- a/sc/source/filter/oox/stylesbuffer.cxx +++ b/sc/source/filter/oox/stylesbuffer.cxx @@ -92,7 +92,6 @@ using namespace ::com::sun::star::table; using namespace ::com::sun::star::text; using namespace ::com::sun::star::uno; -using ::oox::core::FilterBase; namespace { diff --git a/sc/source/filter/oox/themebuffer.cxx b/sc/source/filter/oox/themebuffer.cxx index a4dfc32574ce..210094bfec13 100644 --- a/sc/source/filter/oox/themebuffer.cxx +++ b/sc/source/filter/oox/themebuffer.cxx @@ -24,7 +24,6 @@ namespace oox { namespace xls { -using ::oox::drawingml::ClrScheme; ThemeBuffer::ThemeBuffer( const WorkbookHelper& rHelper ) : WorkbookHelper( rHelper ), diff --git a/sc/source/filter/xcl97/xcl97esc.cxx b/sc/source/filter/xcl97/xcl97esc.cxx index 0297cbfb07a0..0333afb70141 100644 --- a/sc/source/filter/xcl97/xcl97esc.cxx +++ b/sc/source/filter/xcl97/xcl97esc.cxx @@ -23,7 +23,6 @@ #include <com/sun/star/script/ScriptEventDescriptor.hpp> #include <com/sun/star/script/XEventAttacherManager.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/form/XForm.hpp> #include <svx/svdpage.hxx> #include <editeng/outlobj.hxx> @@ -67,8 +66,6 @@ using ::com::sun::star::drawing::XShape; using ::com::sun::star::awt::XControlModel; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Any; -using ::com::sun::star::form::XForm; -using ::com::sun::star::form::XFormComponent; using ::com::sun::star::form::XFormsSupplier; using ::com::sun::star::io::XOutputStream; using ::com::sun::star::script::ScriptEventDescriptor; diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx index 585276ef9fb1..88b7d3a19e72 100644 --- a/sc/source/filter/xcl97/xcl97rec.cxx +++ b/sc/source/filter/xcl97/xcl97rec.cxx @@ -84,7 +84,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; -using ::oox::drawingml::DrawingML; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::drawing::XShape; diff --git a/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx b/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx index 2cb914dfed5a..15a63a2fb9b8 100644 --- a/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx +++ b/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx @@ -45,10 +45,8 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::lang::IndexOutOfBoundsException; -using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::uno::RuntimeException; using ::std::for_each; -using ::std::vector; namespace { diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 38c10aa2e79f..1e9a1029e89c 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -69,8 +69,6 @@ #include <svtools/miscopt.hxx> #include <comphelper/string.hxx> #include <com/sun/star/frame/XLayoutManager.hpp> -#include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/frame/XController.hpp> #define THESIZE 1000000 // Should be more than enough! #define TBX_WINDOW_HEIGHT 22 // in pixel - TODO: The same on all systems? @@ -84,9 +82,6 @@ using com::sun::star::uno::Reference; using com::sun::star::uno::UNO_QUERY; using com::sun::star::frame::XLayoutManager; -using com::sun::star::frame::XModel; -using com::sun::star::frame::XFrame; -using com::sun::star::frame::XController; using com::sun::star::beans::XPropertySet; enum ScNameInputType diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index 222c1e107c46..729e93173518 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -38,17 +38,8 @@ #include <vcl/msgbox.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/container/XNameAccess.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/util/XChangesBatch.hpp> #include <memory> -using ::com::sun::star::beans::XPropertySet; -using ::com::sun::star::lang::XMultiServiceFactory; -using ::com::sun::star::container::XNameAccess; -using ::com::sun::star::util::XChangesBatch; -using ::com::sun::star::uno::Exception; namespace { diff --git a/sc/source/ui/docshell/macromgr.cxx b/sc/source/ui/docshell/macromgr.cxx index ba1c132f978b..69ad2cbf77be 100644 --- a/sc/source/ui/docshell/macromgr.cxx +++ b/sc/source/ui/docshell/macromgr.cxx @@ -33,7 +33,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Reference; using ::std::list; -using ::std::for_each; using ::std::pair; /** diff --git a/sc/source/ui/optdlg/tpformula.cxx b/sc/source/ui/optdlg/tpformula.cxx index 70f913983fd2..afbf42160627 100644 --- a/sc/source/ui/optdlg/tpformula.cxx +++ b/sc/source/ui/optdlg/tpformula.cxx @@ -32,11 +32,6 @@ #include <unotools/localedatawrapper.hxx> -#include <com/sun/star/lang/Locale.hpp> -#include <com/sun/star/i18n/LocaleDataItem.hpp> - -using ::com::sun::star::lang::Locale; -using ::com::sun::star::i18n::LocaleDataItem; ScTpFormulaOptions::ScTpFormulaOptions(vcl::Window* pParent, const SfxItemSet& rCoreAttrs) : SfxTabPage(pParent, "OptFormula", "modules/scalc/ui/optformula.ui", &rCoreAttrs), diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx index 9802c9c06b52..49c1ef96991e 100644 --- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx +++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx @@ -18,7 +18,6 @@ */ #include <sfx2/sidebar/ResourceDefinitions.hrc> -#include <sfx2/sidebar/Theme.hxx> #include <sfx2/sidebar/ControlFactory.hxx> #include "NumberFormatPropertyPanel.hxx" #include <NumberFormatPropertyPanel.hrc> @@ -36,7 +35,6 @@ using namespace css; using namespace css::uno; -using ::sfx2::sidebar::Theme; namespace sc { namespace sidebar { diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index ae987aeefc60..877d38dd9a39 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -56,7 +56,6 @@ extern bool bDrawIsInUndo; // somewhere as member! using namespace com::sun::star; using ::std::unique_ptr; using ::std::vector; -using std::shared_ptr; ScUndoInsertTab::ScUndoInsertTab( ScDocShell* pNewDocShell, diff --git a/sc/source/ui/unoobj/defltuno.cxx b/sc/source/ui/unoobj/defltuno.cxx index f7a02ce8aedd..fa329a03ca56 100644 --- a/sc/source/ui/unoobj/defltuno.cxx +++ b/sc/source/ui/unoobj/defltuno.cxx @@ -68,7 +68,6 @@ static const SfxItemPropertyMapEntry* lcl_GetDocDefaultsMap() } using sc::HMMToTwips; -using sc::TwipsToHMM; using sc::TwipsToEvenHMM; SC_SIMPLE_SERVICE_INFO( ScDocDefaultsObj, "ScDocDefaultsObj", "com.sun.star.sheet.Defaults" ) diff --git a/sc/source/ui/unoobj/warnpassword.cxx b/sc/source/ui/unoobj/warnpassword.cxx index 02e59aef4184..f7a5ca74ef6a 100644 --- a/sc/source/ui/unoobj/warnpassword.cxx +++ b/sc/source/ui/unoobj/warnpassword.cxx @@ -19,7 +19,6 @@ #include "warnpassword.hxx" #include <com/sun/star/task/XInteractionHandler.hpp> -#include <com/sun/star/task/XInteractionRequest.hpp> #include <svl/itemset.hxx> #include <sfx2/docfile.hxx> #include <sfx2/sfxsids.hrc> @@ -32,11 +31,9 @@ using ::com::sun::star::uno::makeAny; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::XInterface; using ::com::sun::star::task::InteractionClassification_QUERY; using ::com::sun::star::task::XInteractionHandler; -using ::com::sun::star::task::XInteractionRequest; using ::com::sun::star::ucb::InteractiveAppException; bool ScWarnPassword::WarningOnPassword( SfxMedium& rMedium ) diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index e85e70a68abc..cc7dc339d9e8 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -53,7 +53,6 @@ #define IS_EDITMODE() GetViewData()->HasEditView( GetViewData()->GetActivePart() ) using sc::HMMToTwips; -using sc::TwipsToHMM; using sc::TwipsToEvenHMM; void ScCellShell::Execute( SfxRequest& rReq ) diff --git a/sc/source/ui/view/overlayobject.cxx b/sc/source/ui/view/overlayobject.cxx index 54bc968fcf7c..469e98d387d2 100644 --- a/sc/source/ui/view/overlayobject.cxx +++ b/sc/source/ui/view/overlayobject.cxx @@ -31,7 +31,6 @@ using sdr::overlay::OverlayObject; using sdr::overlay::OverlayManager; -using ::drawinglayer::primitive2d::Primitive2DSequence; #define DASH_UPDATE_INTERVAL 180 // in msec |