diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-04 12:03:11 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-12 06:38:26 +0000 |
commit | 4c7ec9f112c042a7246b002f94c1afc627569708 (patch) | |
tree | 60028cb1bd57ad11560bd16a489c3c6b86870fa3 /sc/source | |
parent | 7f29612cf010c89d5d2dffd4c868a79ad6f9897c (diff) |
cleanup: remove unused com/sun/star/uno includes
Sequence.h(xx), Any.h(xx) and Type.h(xx)
and remove unused using-declarations from these files.
Add a few missing includes provided by them.
Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4
Reviewed-on: https://gerrit.libreoffice.org/23805
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/dpoutput.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/dpsave.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dptabdat.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dptabsrc.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/addincfg.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/defaultsoptions.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/formulaopt.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/unitconv.cxx | 1 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlstyli.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmltabi.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh6.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/dapitype.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/inc/undotab.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/undo/undotab.cxx | 1 |
17 files changed, 0 insertions, 23 deletions
diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx index c75f570ea661..a1d7968a2ad2 100644 --- a/sc/source/core/data/dpoutput.cxx +++ b/sc/source/core/data/dpoutput.cxx @@ -65,7 +65,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::sheet::DataPilotTablePositionData; using ::com::sun::star::sheet::DataPilotTableResultData; using ::com::sun::star::uno::makeAny; -using ::com::sun::star::uno::Any; #define SC_DP_FRAME_INNER_BOLD 20 #define SC_DP_FRAME_OUTER_BOLD 40 diff --git a/sc/source/core/data/dpsave.cxx b/sc/source/core/data/dpsave.cxx index 22c3ba58ba89..b17393f975ec 100644 --- a/sc/source/core/data/dpsave.cxx +++ b/sc/source/core/data/dpsave.cxx @@ -55,8 +55,6 @@ using namespace com::sun::star; using namespace com::sun::star::sheet; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Any; using ::std::unique_ptr; #define SC_DPSAVEMODE_DONTKNOW 2 diff --git a/sc/source/core/data/dptabdat.cxx b/sc/source/core/data/dptabdat.cxx index 87ac0fd9164e..181cf150ea97 100644 --- a/sc/source/core/data/dptabdat.cxx +++ b/sc/source/core/data/dptabdat.cxx @@ -34,8 +34,6 @@ #include <com/sun/star/sheet/DataPilotFieldFilter.hpp> using namespace ::com::sun::star; -using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::Any; using ::std::vector; ScDPTableData::CalcInfo::CalcInfo() : diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx index 2895cb5e6f59..72cc4d26031c 100644 --- a/sc/source/core/data/dptabsrc.cxx +++ b/sc/source/core/data/dptabsrc.cxx @@ -63,7 +63,6 @@ using namespace com::sun::star; using ::std::vector; using ::std::set; -using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; using ::com::sun::star::sheet::DataPilotFieldAutoShowInfo; diff --git a/sc/source/core/tool/addincfg.cxx b/sc/source/core/tool/addincfg.cxx index 4b03a47413d4..d5a0e244525f 100644 --- a/sc/source/core/tool/addincfg.cxx +++ b/sc/source/core/tool/addincfg.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include "global.hxx" diff --git a/sc/source/core/tool/defaultsoptions.cxx b/sc/source/core/tool/defaultsoptions.cxx index 337b16aff0d0..7f8d8eaabeac 100644 --- a/sc/source/core/tool/defaultsoptions.cxx +++ b/sc/source/core/tool/defaultsoptions.cxx @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <osl/diagnose.h> diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx index 240b39ca9143..a6d77373b875 100644 --- a/sc/source/core/tool/formulaopt.cxx +++ b/sc/source/core/tool/formulaopt.cxx @@ -9,7 +9,6 @@ #include <ctype.h> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/i18n/LocaleDataItem.hpp> diff --git a/sc/source/core/tool/unitconv.cxx b/sc/source/core/tool/unitconv.cxx index c7560bf52661..97905cdf4997 100644 --- a/sc/source/core/tool/unitconv.cxx +++ b/sc/source/core/tool/unitconv.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include "unitconv.hxx" diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index 5292f57b256b..3cae9c9713af 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -106,8 +106,6 @@ using namespace com::sun::star; using namespace ::xmloff::token; using namespace ::formula; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::UNO_QUERY; OUString SAL_CALL ScXMLImport_getImplementationName() throw() { diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx index 7e39f25751aa..39599bda310f 100644 --- a/sc/source/filter/xml/xmlstyli.cxx +++ b/sc/source/filter/xml/xmlstyli.cxx @@ -69,9 +69,7 @@ using namespace ::com::sun::star::container; using namespace xmloff::token; using namespace ::formula; -using com::sun::star::uno::Reference; using com::sun::star::uno::UNO_QUERY; - ScXMLCellImportPropertyMapper::ScXMLCellImportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper, SvXMLImport& rImportP) : diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx index 5747f22e9451..88fa5ed54b85 100644 --- a/sc/source/filter/xml/xmltabi.cxx +++ b/sc/source/filter/xml/xmltabi.cxx @@ -52,7 +52,6 @@ using namespace com::sun::star; using namespace xmloff::token; using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::xml::sax::XAttributeList; diff --git a/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx b/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx index 01980b0e6cbb..16b03e1705a1 100644 --- a/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx +++ b/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx @@ -35,7 +35,6 @@ using namespace ::com::sun::star::accessibility::AccessibleStateType; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; using ::com::sun::star::lang::IndexOutOfBoundsException; using ::com::sun::star::uno::RuntimeException; diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index a879464dd884..c69493a20f29 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -96,7 +96,6 @@ #include <vector> using namespace com::sun::star; -using ::com::sun::star::uno::Sequence; using ::std::vector; IMPL_LINK_TYPED( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction, void ) diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index 041ce8214d1b..222c1e107c46 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -48,9 +48,7 @@ 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::Any; using ::com::sun::star::uno::Exception; -using ::com::sun::star::uno::Sequence; namespace { diff --git a/sc/source/ui/inc/dapitype.hxx b/sc/source/ui/inc/dapitype.hxx index e6b2eec67a9b..97255f8aaa16 100644 --- a/sc/source/ui/inc/dapitype.hxx +++ b/sc/source/ui/inc/dapitype.hxx @@ -25,7 +25,6 @@ #include <vcl/edit.hxx> #include <vcl/fixed.hxx> #include <vcl/lstbox.hxx> -#include <com/sun/star/uno/Sequence.hxx> class ScDataPilotSourceTypeDlg : public ModalDialog { diff --git a/sc/source/ui/inc/undotab.hxx b/sc/source/ui/inc/undotab.hxx index c4f1b49e6b0f..455689fb6e30 100644 --- a/sc/source/ui/inc/undotab.hxx +++ b/sc/source/ui/inc/undotab.hxx @@ -25,8 +25,6 @@ #include <tools/color.hxx> #include "tabbgcolor.hxx" -#include <com/sun/star/uno/Sequence.hxx> - #include <memory> #include <memory> diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index 97d76a0f0869..ae987aeefc60 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -54,7 +54,6 @@ extern bool bDrawIsInUndo; // somewhere as member! using namespace com::sun::star; -using ::com::sun::star::uno::Sequence; using ::std::unique_ptr; using ::std::vector; using std::shared_ptr; |