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 /svx/source/form | |
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 'svx/source/form')
-rw-r--r-- | svx/source/form/filtnav.cxx | 5 | ||||
-rw-r--r-- | svx/source/form/fmpage.cxx | 4 | ||||
-rw-r--r-- | svx/source/form/fmpgeimp.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/fmscriptingenv.cxx | 4 | ||||
-rw-r--r-- | svx/source/form/fmvwimp.cxx | 10 | ||||
-rw-r--r-- | svx/source/form/formcontrolfactory.cxx | 6 | ||||
-rw-r--r-- | svx/source/form/formcontroller.cxx | 5 | ||||
-rw-r--r-- | svx/source/form/formcontrolling.cxx | 4 | ||||
-rw-r--r-- | svx/source/form/formdispatchinterceptor.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/tbxform.cxx | 2 |
10 files changed, 0 insertions, 44 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 1583d4dafc84..97cde24dd42e 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/awt/XControlModel.hpp> #include <com/sun/star/awt/XControl.hpp> -#include <com/sun/star/awt/XTextComponent.hpp> #include <com/sun/star/form/runtime/XFormController.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/util/NumberFormatter.hpp> @@ -76,8 +75,6 @@ namespace svxform using ::com::sun::star::uno::Reference; - using ::com::sun::star::lang::XMultiServiceFactory; - using ::com::sun::star::awt::TextEvent; using ::com::sun::star::container::XIndexAccess; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::beans::XPropertySet; @@ -93,7 +90,6 @@ namespace svxform using ::com::sun::star::sdbc::XConnection; using ::com::sun::star::util::XNumberFormatsSupplier; using ::com::sun::star::util::XNumberFormatter; - using ::com::sun::star::util::XNumberFormatter2; using ::com::sun::star::util::NumberFormatter; using ::com::sun::star::sdbc::XRowSet; using ::com::sun::star::lang::Locale; @@ -102,7 +98,6 @@ namespace svxform 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::awt::XTextComponent; using ::com::sun::star::uno::Sequence; diff --git a/svx/source/form/fmpage.cxx b/svx/source/form/fmpage.cxx index 3dc3c370fd71..0b4277dc671a 100644 --- a/svx/source/form/fmpage.cxx +++ b/svx/source/form/fmpage.cxx @@ -21,8 +21,6 @@ #include <svx/fmpage.hxx> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/container/XNameContainer.hpp> - #include <svx/fmmodel.hxx> @@ -49,8 +47,6 @@ using namespace ::svxform; using com::sun::star::uno::Reference; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::container::XChild; -using com::sun::star::container::XNameContainer; FmFormPage::FmFormPage(FmFormModel& rModel, bool bMasterPage) diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx index 895f729e16c1..4712864f557a 100644 --- a/svx/source/form/fmpgeimp.cxx +++ b/svx/source/form/fmpgeimp.cxx @@ -31,7 +31,6 @@ #include "treevisitor.hxx" #include <com/sun/star/sdb/CommandType.hpp> -#include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/container/EnumerableMap.hpp> #include <com/sun/star/drawing/XControlShape.hpp> #include <com/sun/star/form/Forms.hpp> @@ -57,7 +56,6 @@ using namespace ::com::sun::star::sdb; using namespace ::com::sun::star::container; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::form; -using ::com::sun::star::util::XCloneable; using ::com::sun::star::awt::XControlModel; using ::com::sun::star::container::XMap; using ::com::sun::star::container::EnumerableMap; diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index 3f3c8e0ddafd..c4b9bc43b8ad 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -24,8 +24,6 @@ #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/script/XScriptListener.hpp> -#include <com/sun/star/container/XHierarchicalNameAccess.hpp> -#include <com/sun/star/reflection/XInterfaceMethodTypeDescription.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/EventObject.hpp> #include <com/sun/star/awt/XControl.hpp> @@ -58,8 +56,6 @@ namespace svxform using ::com::sun::star::lang::EventObject; using ::com::sun::star::reflection::InvocationTargetException; using ::com::sun::star::uno::Any; - using ::com::sun::star::container::XHierarchicalNameAccess; - using ::com::sun::star::reflection::XInterfaceMethodTypeDescription; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::lang::DisposedException; using ::com::sun::star::uno::RuntimeException; diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 184a29dbecf3..a20630e4f710 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -44,8 +44,6 @@ #include "svx/xmlexchg.hxx" #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> -#include <com/sun/star/style/VerticalAlignment.hpp> -#include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/sdbc/XRowSet.hpp> #include <com/sun/star/form/XLoadable.hpp> #include <com/sun/star/awt/VisualEffect.hpp> @@ -66,7 +64,6 @@ #include <com/sun/star/awt/XTabController.hpp> #include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/awt/XControl.hpp> -#include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/sdbcx/XTablesSupplier.hpp> #include <com/sun/star/sdbc/XPreparedStatement.hpp> #include <com/sun/star/sdb/XQueriesSupplier.hpp> @@ -106,7 +103,6 @@ using namespace ::dbtools; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::makeAny; using ::com::sun::star::uno::XComponentContext; - using ::com::sun::star::style::VerticalAlignment_MIDDLE; using ::com::sun::star::form::FormButtonType_SUBMIT; using ::com::sun::star::form::binding::XValueBinding; using ::com::sun::star::form::binding::XBindableValue; @@ -117,11 +113,8 @@ using namespace ::dbtools; using ::com::sun::star::script::XEventAttacherManager; using ::com::sun::star::awt::XTabControllerModel; using ::com::sun::star::container::XChild; - using ::com::sun::star::container::XEnumeration; using ::com::sun::star::task::XInteractionHandler; - using ::com::sun::star::lang::XInitialization; using ::com::sun::star::awt::XTabController; - using ::com::sun::star::lang::XUnoTunnel; using ::com::sun::star::awt::XControlContainer; using ::com::sun::star::awt::XControl; using ::com::sun::star::form::XFormComponent; @@ -131,7 +124,6 @@ using namespace ::dbtools; using ::com::sun::star::container::XContainer; using ::com::sun::star::container::ContainerEvent; using ::com::sun::star::lang::EventObject; - using ::com::sun::star::beans::NamedValue; using ::com::sun::star::sdb::SQLErrorEvent; using ::com::sun::star::sdbc::XRowSet; using ::com::sun::star::beans::XPropertySet; @@ -143,8 +135,6 @@ using namespace ::dbtools; using ::com::sun::star::container::XIndexContainer; using ::com::sun::star::sdbc::XConnection; using ::com::sun::star::container::XNameAccess; - using ::com::sun::star::sdb::SQLContext; - using ::com::sun::star::sdbc::SQLWarning; using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::util::XNumberFormatsSupplier; using ::com::sun::star::util::XNumberFormats; diff --git a/svx/source/form/formcontrolfactory.cxx b/svx/source/form/formcontrolfactory.cxx index ecd0278768a3..bcf1fa1d585a 100644 --- a/svx/source/form/formcontrolfactory.cxx +++ b/svx/source/form/formcontrolfactory.cxx @@ -38,7 +38,6 @@ #include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/text/WritingMode2.hpp> -#include <com/sun/star/awt/FontDescriptor.hpp> #include <comphelper/numbers.hxx> #include <comphelper/processfactory.hxx> @@ -56,19 +55,16 @@ namespace svxform using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; 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::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::makeAny; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Type; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::beans::XPropertySet; - using ::com::sun::star::awt::XControlModel; using ::com::sun::star::form::XFormComponent; using ::com::sun::star::container::XIndexAccess; using ::com::sun::star::beans::XPropertySetInfo; @@ -81,8 +77,6 @@ namespace svxform using ::com::sun::star::uno::TypeClass_LONG; using ::com::sun::star::util::XNumberFormats; using ::com::sun::star::util::XNumberFormatTypes; - using ::com::sun::star::awt::FontDescriptor; - using ::com::sun::star::lang::Locale; using ::com::sun::star::lang::XServiceInfo; using ::com::sun::star::container::XNameAccess; diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 072eae04298c..8b09b05952ba 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -37,7 +37,6 @@ #include <com/sun/star/awt/XListBox.hpp> #include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/awt/TabController.hpp> -#include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/container/XIdentifierReplace.hpp> #include <com/sun/star/form/TabulatorCycle.hpp> @@ -110,7 +109,6 @@ namespace svxform using ::com::sun::star::sdb::XColumn; using ::com::sun::star::awt::XControl; - using ::com::sun::star::awt::XTabController; using ::com::sun::star::awt::TabController; using ::com::sun::star::awt::XToolkit; using ::com::sun::star::awt::XWindowPeer; @@ -134,7 +132,6 @@ namespace svxform using ::com::sun::star::uno::Any; using ::com::sun::star::frame::XDispatch; using ::com::sun::star::lang::XMultiServiceFactory; - using ::com::sun::star::uno::XAggregation; using ::com::sun::star::uno::Type; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::sdbc::XConnection; @@ -163,7 +160,6 @@ namespace svxform using ::com::sun::star::beans::PropertyChangeEvent; using ::com::sun::star::form::validation::XValidatableFormComponent; using ::com::sun::star::form::XLoadable; - using ::com::sun::star::script::XEventAttacherManager; using ::com::sun::star::form::XBoundControl; using ::com::sun::star::beans::XPropertyChangeListener; using ::com::sun::star::awt::TextEvent; @@ -185,7 +181,6 @@ namespace svxform using ::com::sun::star::container::ContainerEvent; using ::com::sun::star::lang::DisposedException; using ::com::sun::star::lang::Locale; - using ::com::sun::star::beans::NamedValue; using ::com::sun::star::lang::NoSupportException; using ::com::sun::star::sdb::RowChangeEvent; using ::com::sun::star::frame::XStatusListener; diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx index 6845ad6e8b0a..da0d42ddae28 100644 --- a/svx/source/form/formcontrolling.cxx +++ b/svx/source/form/formcontrolling.cxx @@ -28,7 +28,6 @@ #include <com/sun/star/form/runtime/FormOperations.hpp> #include <com/sun/star/form/runtime/FormFeature.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/sdb/XSQLErrorBroadcaster.hpp> #include <tools/diagnose_ex.h> #include <comphelper/anytostring.hxx> @@ -45,9 +44,7 @@ namespace svx using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::form::runtime::XFormController; - using ::com::sun::star::form::XForm; using ::com::sun::star::form::runtime::FormOperations; using ::com::sun::star::uno::Exception; using ::com::sun::star::sdbc::XRowSet; @@ -59,7 +56,6 @@ namespace svx using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::sdbc::SQLException; - using ::com::sun::star::sdb::XSQLErrorBroadcaster; using ::com::sun::star::sdb::SQLErrorEvent; using ::com::sun::star::lang::EventObject; diff --git a/svx/source/form/formdispatchinterceptor.cxx b/svx/source/form/formdispatchinterceptor.cxx index 7f7b4d7a5c2a..52802221cf02 100644 --- a/svx/source/form/formdispatchinterceptor.cxx +++ b/svx/source/form/formdispatchinterceptor.cxx @@ -22,9 +22,7 @@ namespace svxform { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::com::sun::star::frame::XDispatchProviderInterception; diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx index 1da3496a853a..117155a0526e 100644 --- a/svx/source/form/tbxform.cxx +++ b/svx/source/form/tbxform.cxx @@ -38,12 +38,10 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/imagemgr.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::frame; -using ::com::sun::star::beans::XPropertySet; SvxFmAbsRecWin::SvxFmAbsRecWin( vcl::Window* _pParent, SfxToolBoxControl* _pController ) :NumericField( _pParent, WB_BORDER ) |