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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/brwbox/brwbox1.cxx | 1 | ||||
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/contnr/contentenumeration.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/cellvalueconversion.cxx | 1 | ||||
-rw-r--r-- | svtools/source/table/gridtablerenderer.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/unocontroltablemodel.cxx | 8 | ||||
-rw-r--r-- | svtools/source/uno/unoevent.cxx | 1 | ||||
-rw-r--r-- | svtools/source/uno/unogridcolumnfacade.cxx | 1 | ||||
-rw-r--r-- | svtools/source/uno/wizard/wizardpagecontroller.cxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/wizard/wizardshell.cxx | 3 |
10 files changed, 0 insertions, 25 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx index 1f23ddc3ec20..a1dfe8588dbe 100644 --- a/svtools/source/brwbox/brwbox1.cxx +++ b/svtools/source/brwbox/brwbox1.cxx @@ -41,7 +41,6 @@ using namespace com::sun::star::accessibility::AccessibleEventId; using namespace com::sun::star::accessibility::AccessibleTableModelChangeType; using com::sun::star::accessibility::AccessibleTableModelChange; -using com::sun::star::lang::XComponent; using namespace ::com::sun::star::uno; using namespace svt; diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index 1865e0d5a4bd..2132d8099fc5 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -37,7 +37,6 @@ #include <tools/multisel.hxx> #include "editbrowseboximpl.hxx" #include <com/sun/star/accessibility/AccessibleEventId.hpp> -#include <com/sun/star/accessibility/XAccessible.hpp> #include <comphelper/types.hxx> @@ -61,7 +60,6 @@ namespace svt using namespace ::com::sun::star::uno; using namespace com::sun::star::accessibility::AccessibleEventId; - using com::sun::star::accessibility::XAccessible; IEditImplementation::~IEditImplementation() diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx index b654e6c532ca..fee02548db08 100644 --- a/svtools/source/contnr/contentenumeration.cxx +++ b/svtools/source/contnr/contentenumeration.cxx @@ -21,7 +21,6 @@ #include <svtools/inettbc.hxx> #include <svtools/imagemgr.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/ucb/XDynamicResultSet.hpp> @@ -61,7 +60,6 @@ namespace svt using ::com::sun::star::ucb::CommandAbortedException; using ::com::sun::star::ucb::XContentAccess; using ::com::sun::star::ucb::XCommandEnvironment; - using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::document::DocumentProperties; using ::ucbhelper::ResultSetInclude; diff --git a/svtools/source/table/cellvalueconversion.cxx b/svtools/source/table/cellvalueconversion.cxx index 65cef2e8f7e3..ee9fc710cc88 100644 --- a/svtools/source/table/cellvalueconversion.cxx +++ b/svtools/source/table/cellvalueconversion.cxx @@ -44,7 +44,6 @@ namespace svt using namespace ::com::sun::star::uno; using ::com::sun::star::util::XNumberFormatter; - using ::com::sun::star::util::XNumberFormatter2; using ::com::sun::star::util::NumberFormatter; using ::com::sun::star::util::XNumberFormatsSupplier; using ::com::sun::star::util::NumberFormatsSupplier; diff --git a/svtools/source/table/gridtablerenderer.cxx b/svtools/source/table/gridtablerenderer.cxx index 93f3e75ef3f7..157cdec4b344 100644 --- a/svtools/source/table/gridtablerenderer.cxx +++ b/svtools/source/table/gridtablerenderer.cxx @@ -43,11 +43,9 @@ namespace svt { namespace table using ::css::uno::TypeClass_INTERFACE; using ::css::graphic::XGraphic; using ::css::style::HorizontalAlignment; - using ::css::style::HorizontalAlignment_LEFT; using ::css::style::HorizontalAlignment_CENTER; using ::css::style::HorizontalAlignment_RIGHT; using ::css::style::VerticalAlignment; - using ::css::style::VerticalAlignment_TOP; using ::css::style::VerticalAlignment_MIDDLE; using ::css::style::VerticalAlignment_BOTTOM; diff --git a/svtools/source/uno/unocontroltablemodel.cxx b/svtools/source/uno/unocontroltablemodel.cxx index bda43e18a6a7..e10d3d30e802 100644 --- a/svtools/source/uno/unocontroltablemodel.cxx +++ b/svtools/source/uno/unocontroltablemodel.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/awt/grid/XGridColumn.hpp> #include <com/sun/star/view/SelectionType.hpp> -#include <com/sun/star/awt/grid/XGridColumnListener.hpp> #include <com/sun/star/awt/grid/XSortableGridData.hpp> #include <cppuhelper/weakref.hxx> @@ -41,21 +40,14 @@ namespace svt { namespace table using css::uno::Reference; - using css::uno::RuntimeException; using css::uno::Sequence; using css::uno::UNO_QUERY_THROW; using css::uno::UNO_QUERY; using css::awt::grid::XGridColumn; - using css::uno::XInterface; using css::uno::Exception; - using css::awt::grid::XGridColumnListener; - using css::lang::EventObject; - using css::awt::grid::GridColumnEvent; using css::awt::grid::XGridDataModel; using css::awt::grid::XGridColumnModel; using css::uno::Any; - using css::style::HorizontalAlignment_LEFT; - using css::style::HorizontalAlignment; using css::style::VerticalAlignment_TOP; using css::style::VerticalAlignment; using css::uno::WeakReference; diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx index 7c88245e3094..4b62d2d98655 100644 --- a/svtools/source/uno/unoevent.cxx +++ b/svtools/source/uno/unoevent.cxx @@ -31,7 +31,6 @@ using css::container::NoSuchElementException; using css::container::XNameReplace; using css::lang::IllegalArgumentException; using css::lang::WrappedTargetException; -using css::lang::XServiceInfo; using css::beans::PropertyValue; diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 5492488e3204..143dccc9a979 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -43,7 +43,6 @@ namespace svt { namespace table using css::uno::RuntimeException; using css::uno::UNO_QUERY_THROW; using css::awt::grid::XGridColumn; - using css::uno::XInterface; using css::uno::Exception; using css::awt::grid::XGridColumnListener; using css::lang::EventObject; diff --git a/svtools/source/uno/wizard/wizardpagecontroller.cxx b/svtools/source/uno/wizard/wizardpagecontroller.cxx index b9428ae5c54d..affec7daf1bf 100644 --- a/svtools/source/uno/wizard/wizardpagecontroller.cxx +++ b/svtools/source/uno/wizard/wizardpagecontroller.cxx @@ -21,7 +21,6 @@ #include "wizardpagecontroller.hxx" #include "wizardshell.hxx" -#include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/awt/XControl.hpp> #include <toolkit/helper/vclunohelper.hxx> @@ -33,14 +32,11 @@ namespace svt { namespace uno using css::uno::Reference; - using css::uno::XInterface; using css::uno::UNO_QUERY_THROW; using css::uno::UNO_SET_THROW; using css::uno::Exception; - using css::uno::RuntimeException; using css::ui::dialogs::XWizardController; using css::awt::XWindow; - using css::lang::XComponent; using css::awt::XControl; using namespace ::com::sun::star; diff --git a/svtools/source/uno/wizard/wizardshell.cxx b/svtools/source/uno/wizard/wizardshell.cxx index 3593a162df71..ca27a2ee2193 100644 --- a/svtools/source/uno/wizard/wizardshell.cxx +++ b/svtools/source/uno/wizard/wizardshell.cxx @@ -33,12 +33,9 @@ namespace svt { namespace uno using css::uno::Reference; - using css::uno::XInterface; using css::uno::Exception; - using css::uno::RuntimeException; using css::uno::Sequence; using css::ui::dialogs::XWizardController; - using css::ui::dialogs::XWizard; using css::ui::dialogs::XWizardPage; namespace WizardTravelType = css::ui::dialogs::WizardTravelType; |