[Libreoffice-commits] core.git: animations/source basctl/source basic/source chart2/source comphelper/source connectivity/source cui/source dbaccess/source

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 27 09:45:15 UTC 2019


 animations/source/animcore/animcore.cxx                                 |    2 --
 basctl/source/basicide/doceventnotifier.cxx                             |    1 -
 basic/source/basmgr/basicmanagerrepository.cxx                          |    1 -
 chart2/source/controller/accessibility/AccessibleBase.cxx               |    1 -
 chart2/source/controller/accessibility/AccessibleChartElement.cxx       |    1 -
 chart2/source/controller/accessibility/AccessibleChartShape.cxx         |    1 -
 chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx    |    1 -
 chart2/source/controller/main/UndoActions.cxx                           |    1 -
 chart2/source/model/main/CartesianCoordinateSystem.cxx                  |    1 -
 chart2/source/model/main/ChartModel.cxx                                 |    1 -
 chart2/source/model/main/PolarCoordinateSystem.cxx                      |    1 -
 chart2/source/model/main/UndoManager.cxx                                |    1 -
 chart2/source/tools/DataSource.cxx                                      |    1 -
 chart2/source/tools/RegressionCurveHelper.cxx                           |    1 -
 chart2/source/view/main/Linear3DTransformation.cxx                      |    1 -
 chart2/source/view/main/VPolarTransformation.cxx                        |    1 -
 comphelper/source/container/enumerablemap.cxx                           |    2 --
 comphelper/source/misc/accimplaccess.cxx                                |    3 ---
 comphelper/source/misc/docpasswordrequest.cxx                           |    1 -
 comphelper/source/misc/logging.cxx                                      |    1 -
 comphelper/source/property/ChainablePropertySetInfo.cxx                 |    2 --
 comphelper/source/property/MasterPropertySetInfo.cxx                    |    2 --
 comphelper/source/property/propstate.cxx                                |    1 -
 connectivity/source/commontools/paramwrapper.cxx                        |    1 -
 connectivity/source/commontools/sqlerror.cxx                            |    1 -
 connectivity/source/drivers/firebird/ResultSetMetaData.cxx              |    3 ---
 connectivity/source/drivers/hsqldb/HConnection.cxx                      |    1 -
 connectivity/source/drivers/jdbc/ConnectionLog.cxx                      |    4 ----
 connectivity/source/drivers/postgresql/pq_baseresultset.cxx             |    6 ------
 connectivity/source/drivers/postgresql/pq_connection.cxx                |    1 -
 connectivity/source/drivers/postgresql/pq_databasemetadata.cxx          |    2 --
 connectivity/source/drivers/postgresql/pq_driver.cxx                    |    2 --
 connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx  |    1 -
 connectivity/source/drivers/postgresql/pq_preparedstatement.cxx         |    3 ---
 connectivity/source/drivers/postgresql/pq_resultset.cxx                 |    2 --
 connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx         |    1 -
 connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx |    2 --
 connectivity/source/drivers/postgresql/pq_statement.cxx                 |    3 ---
 connectivity/source/drivers/postgresql/pq_statics.cxx                   |    1 -
 connectivity/source/drivers/postgresql/pq_updateableresultset.cxx       |    2 --
 connectivity/source/drivers/postgresql/pq_xcolumn.cxx                   |    1 -
 connectivity/source/drivers/postgresql/pq_xcolumns.cxx                  |    4 ----
 connectivity/source/drivers/postgresql/pq_xcontainer.cxx                |    2 --
 connectivity/source/drivers/postgresql/pq_xindex.cxx                    |    1 -
 connectivity/source/drivers/postgresql/pq_xindexcolumn.cxx              |    1 -
 connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx             |    4 ----
 connectivity/source/drivers/postgresql/pq_xindexes.cxx                  |    2 --
 connectivity/source/drivers/postgresql/pq_xkey.cxx                      |    1 -
 connectivity/source/drivers/postgresql/pq_xkeycolumn.cxx                |    1 -
 connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx               |    2 --
 connectivity/source/drivers/postgresql/pq_xkeys.cxx                     |    1 -
 connectivity/source/drivers/postgresql/pq_xtable.cxx                    |    3 ---
 connectivity/source/drivers/postgresql/pq_xtables.cxx                   |    1 -
 connectivity/source/drivers/postgresql/pq_xuser.cxx                     |    1 -
 connectivity/source/drivers/postgresql/pq_xusers.cxx                    |    1 -
 connectivity/source/drivers/postgresql/pq_xview.cxx                     |    1 -
 connectivity/source/drivers/postgresql/pq_xviews.cxx                    |    1 -
 connectivity/source/resource/sharedresources.cxx                        |    4 ----
 cui/source/dialogs/iconcdlg.cxx                                         |    2 --
 dbaccess/source/core/api/View.cxx                                       |    1 -
 dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx                |    1 -
 dbaccess/source/core/dataaccess/documentevents.cxx                      |    2 --
 dbaccess/source/core/misc/DatabaseDataProvider.cxx                      |    2 --
 dbaccess/source/core/misc/veto.cxx                                      |    1 -
 dbaccess/source/core/recovery/storagexmlstream.cxx                      |    1 -
 dbaccess/source/core/recovery/subcomponentloader.cxx                    |    1 -
 dbaccess/source/core/recovery/subcomponentrecovery.cxx                  |    1 -
 dbaccess/source/ext/macromigration/progresscapture.cxx                  |    2 --
 dbaccess/source/sdbtools/connection/connectiontools.cxx                 |    2 --
 dbaccess/source/sdbtools/connection/datasourcemetadata.cxx              |    1 -
 dbaccess/source/sdbtools/connection/objectnames.cxx                     |    1 -
 dbaccess/source/ui/misc/dbaundomanager.cxx                              |    7 -------
 dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx                    |    3 ---
 dbaccess/source/ui/misc/singledoccontroller.cxx                         |    2 --
 dbaccess/source/ui/uno/textconnectionsettings_uno.cxx                   |    3 ---
 75 files changed, 130 deletions(-)

New commits:
commit d9e0eade62b7164e81458a5da7c2aba6f4c77311
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Sun Mar 24 18:55:11 2019 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Mar 27 10:44:44 2019 +0100

    Remove unused using declarations in directories [a-d]*
    
    Found with:
    run-clang-tidy-7 -checks=-*,misc-unused-using-decls
    
    Change-Id: I50f6dfa881ac4e752668e762ade0943aaf28ab96
    Reviewed-on: https://gerrit.libreoffice.org/69601
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index 12ba771046ab..4dd4868e70e5 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -68,7 +68,6 @@ using ::comphelper::OInterfaceIteratorHelper2;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::uno::XInterface;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::WeakReference;
@@ -78,7 +77,6 @@ using ::com::sun::star::uno::XWeak;
 using ::com::sun::star::uno::Type;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::lang::IllegalArgumentException;
-using ::com::sun::star::lang::WrappedTargetException;
 using ::com::sun::star::lang::XServiceInfo;
 using ::com::sun::star::lang::XTypeProvider;
 using ::com::sun::star::container::NoSuchElementException;
diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx
index 6d0ea0c6786a..36ed3d3548c5 100644
--- a/basctl/source/basicide/doceventnotifier.cxx
+++ b/basctl/source/basicide/doceventnotifier.cxx
@@ -38,7 +38,6 @@ namespace basctl
     using ::com::sun::star::document::XDocumentEventListener;
     using ::com::sun::star::document::DocumentEvent;
     using ::com::sun::star::uno::XComponentContext;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::UNO_QUERY_THROW;
     using ::com::sun::star::uno::Exception;
diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx
index c282eabacbcd..5b8b10f56d31 100644
--- a/basic/source/basmgr/basicmanagerrepository.cxx
+++ b/basic/source/basmgr/basicmanagerrepository.cxx
@@ -60,7 +60,6 @@ namespace basic
     using ::com::sun::star::uno::UNO_QUERY_THROW;
     using ::com::sun::star::uno::Exception;
     using ::com::sun::star::document::XStorageBasedDocument;
-    using ::com::sun::star::lang::XComponent;
     using ::com::sun::star::document::XEmbeddedScripts;
 
     typedef std::map< Reference< XInterface >, std::unique_ptr<BasicManager>, ::comphelper::OInterfaceCompare< XInterface > > BasicManagerStore;
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx
index 2e375755dc01..ce2c5769c812 100644
--- a/chart2/source/controller/accessibility/AccessibleBase.cxx
+++ b/chart2/source/controller/accessibility/AccessibleBase.cxx
@@ -57,7 +57,6 @@ using ::com::sun::star::uno::Reference;
 using ::osl::MutexGuard;
 using ::osl::ClearableMutexGuard;
 using ::osl::ResettableMutexGuard;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Any;
 
 namespace chart
diff --git a/chart2/source/controller/accessibility/AccessibleChartElement.cxx b/chart2/source/controller/accessibility/AccessibleChartElement.cxx
index 4afafc219043..31619177aedb 100644
--- a/chart2/source/controller/accessibility/AccessibleChartElement.cxx
+++ b/chart2/source/controller/accessibility/AccessibleChartElement.cxx
@@ -40,7 +40,6 @@ using namespace ::com::sun::star::accessibility;
 using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::RuntimeException;
 
 namespace chart
 {
diff --git a/chart2/source/controller/accessibility/AccessibleChartShape.cxx b/chart2/source/controller/accessibility/AccessibleChartShape.cxx
index aa1abefed47e..b935bd9923d1 100644
--- a/chart2/source/controller/accessibility/AccessibleChartShape.cxx
+++ b/chart2/source/controller/accessibility/AccessibleChartShape.cxx
@@ -30,7 +30,6 @@ using namespace ::com::sun::star;
 using namespace ::com::sun::star::accessibility;
 
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::RuntimeException;
 
 namespace chart
 {
diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
index 558e800a2f7f..2f4077a1b51b 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
@@ -37,7 +37,6 @@
 using namespace ::com::sun::star;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::beans::Property;
 
 namespace chart
diff --git a/chart2/source/controller/main/UndoActions.cxx b/chart2/source/controller/main/UndoActions.cxx
index acf812554cae..812e059e7980 100644
--- a/chart2/source/controller/main/UndoActions.cxx
+++ b/chart2/source/controller/main/UndoActions.cxx
@@ -33,7 +33,6 @@ namespace chart
 namespace impl
 {
     using ::com::sun::star::uno::Reference;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::frame::XModel;
     using ::com::sun::star::lang::DisposedException;
 
diff --git a/chart2/source/model/main/CartesianCoordinateSystem.cxx b/chart2/source/model/main/CartesianCoordinateSystem.cxx
index 766afaddda11..4a76823ff1aa 100644
--- a/chart2/source/model/main/CartesianCoordinateSystem.cxx
+++ b/chart2/source/model/main/CartesianCoordinateSystem.cxx
@@ -23,7 +23,6 @@
 
 using namespace ::com::sun::star;
 
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
 
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index c05047bce6af..a4d3268f95e3 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -59,7 +59,6 @@
 
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Any;
 using ::osl::MutexGuard;
 
diff --git a/chart2/source/model/main/PolarCoordinateSystem.cxx b/chart2/source/model/main/PolarCoordinateSystem.cxx
index fac2c282485b..032ebfa001d3 100644
--- a/chart2/source/model/main/PolarCoordinateSystem.cxx
+++ b/chart2/source/model/main/PolarCoordinateSystem.cxx
@@ -25,7 +25,6 @@ namespace com { namespace sun { namespace star { namespace uno { class XComponen
 
 using namespace ::com::sun::star;
 
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
 
diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx
index fc9abb174a04..023ab553b345 100644
--- a/chart2/source/model/main/UndoManager.cxx
+++ b/chart2/source/model/main/UndoManager.cxx
@@ -35,7 +35,6 @@ namespace chart
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::XInterface;
     using ::com::sun::star::uno::UNO_QUERY;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::lang::DisposedException;
     using ::com::sun::star::document::XUndoManager;
diff --git a/chart2/source/tools/DataSource.cxx b/chart2/source/tools/DataSource.cxx
index a3597a0f7b1f..9161a5ae2e4f 100644
--- a/chart2/source/tools/DataSource.cxx
+++ b/chart2/source/tools/DataSource.cxx
@@ -24,7 +24,6 @@ namespace com { namespace sun { namespace star { namespace uno { class XComponen
 
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::RuntimeException;
 
 using namespace ::com::sun::star;
 
diff --git a/chart2/source/tools/RegressionCurveHelper.cxx b/chart2/source/tools/RegressionCurveHelper.cxx
index dede8cb4c110..475069bacdd9 100644
--- a/chart2/source/tools/RegressionCurveHelper.cxx
+++ b/chart2/source/tools/RegressionCurveHelper.cxx
@@ -43,7 +43,6 @@ using namespace ::com::sun::star::chart2;
 
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::XComponentContext;
 using ::com::sun::star::lang::XServiceName;
 using ::com::sun::star::beans::XPropertySet;
 using ::com::sun::star::uno::Exception;
diff --git a/chart2/source/view/main/Linear3DTransformation.cxx b/chart2/source/view/main/Linear3DTransformation.cxx
index 118ddde6aea6..c6802dc21b10 100644
--- a/chart2/source/view/main/Linear3DTransformation.cxx
+++ b/chart2/source/view/main/Linear3DTransformation.cxx
@@ -23,7 +23,6 @@
 using namespace ::com::sun::star;
 
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::RuntimeException;
 
 namespace chart
 {
diff --git a/chart2/source/view/main/VPolarTransformation.cxx b/chart2/source/view/main/VPolarTransformation.cxx
index 365a70b2b948..2facc242bc3e 100644
--- a/chart2/source/view/main/VPolarTransformation.cxx
+++ b/chart2/source/view/main/VPolarTransformation.cxx
@@ -24,7 +24,6 @@
 using namespace ::com::sun::star;
 
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::RuntimeException;
 
 namespace chart
 {
diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx
index f17610f13c71..41a26005b44f 100644
--- a/comphelper/source/container/enumerablemap.cxx
+++ b/comphelper/source/container/enumerablemap.cxx
@@ -50,7 +50,6 @@ namespace comphelper
     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::Any;
     using ::com::sun::star::uno::Sequence;
@@ -76,7 +75,6 @@ namespace comphelper
     using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::container::XEnumeration;
     using ::com::sun::star::uno::TypeDescription;
-    using ::com::sun::star::lang::WrappedTargetException;
     using ::com::sun::star::lang::DisposedException;
 
     class MapEnumerator;
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index 94ac52405517..95a36640d7f8 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -30,10 +30,7 @@ namespace comphelper
 {
 
 
-    using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::Sequence;
-    using ::com::sun::star::uno::RuntimeException;
-    using ::com::sun::star::accessibility::XAccessible;
 
     OAccessibleImplementationAccess::OAccessibleImplementationAccess( )
     {
diff --git a/comphelper/source/misc/docpasswordrequest.cxx b/comphelper/source/misc/docpasswordrequest.cxx
index 6b9d55dbc683..e1092df36f0b 100644
--- a/comphelper/source/misc/docpasswordrequest.cxx
+++ b/comphelper/source/misc/docpasswordrequest.cxx
@@ -28,7 +28,6 @@
 
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::XInterface;
 using ::com::sun::star::task::InteractionClassification_QUERY;
diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx
index 68aa28b2b3ac..5329e8b7200a 100644
--- a/comphelper/source/misc/logging.cxx
+++ b/comphelper/source/misc/logging.cxx
@@ -34,7 +34,6 @@ namespace comphelper
     using ::com::sun::star::logging::XLoggerPool;
     using ::com::sun::star::logging::LoggerPool;
     using ::com::sun::star::logging::XLogger;
-    using ::com::sun::star::uno::UNO_QUERY_THROW;
     using ::com::sun::star::uno::Exception;
 
     class EventLogger_Impl
diff --git a/comphelper/source/property/ChainablePropertySetInfo.cxx b/comphelper/source/property/ChainablePropertySetInfo.cxx
index 37eba79cea09..241826c056c1 100644
--- a/comphelper/source/property/ChainablePropertySetInfo.cxx
+++ b/comphelper/source/property/ChainablePropertySetInfo.cxx
@@ -22,9 +22,7 @@
 
 using ::comphelper::PropertyInfo;
 using ::comphelper::ChainablePropertySetInfo;
-using ::com::sun::star::uno::Type;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::beans::Property;
 using ::com::sun::star::beans::UnknownPropertyException;
 
diff --git a/comphelper/source/property/MasterPropertySetInfo.cxx b/comphelper/source/property/MasterPropertySetInfo.cxx
index fc94d8436ce9..a64f3973c772 100644
--- a/comphelper/source/property/MasterPropertySetInfo.cxx
+++ b/comphelper/source/property/MasterPropertySetInfo.cxx
@@ -22,9 +22,7 @@
 
 using ::comphelper::PropertyInfo;
 using ::comphelper::MasterPropertySetInfo;
-using ::com::sun::star::uno::Type;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::beans::Property;
 using ::com::sun::star::beans::UnknownPropertyException;
 
diff --git a/comphelper/source/property/propstate.cxx b/comphelper/source/property/propstate.cxx
index 89cfa081df3f..cb9df916a027 100644
--- a/comphelper/source/property/propstate.cxx
+++ b/comphelper/source/property/propstate.cxx
@@ -27,7 +27,6 @@ namespace comphelper
 
 
     using ::com::sun::star::uno::Type;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::lang::XTypeProvider;
     using ::com::sun::star::uno::Any;
diff --git a/connectivity/source/commontools/paramwrapper.cxx b/connectivity/source/commontools/paramwrapper.cxx
index be04b91a9df1..790ecb03899f 100644
--- a/connectivity/source/commontools/paramwrapper.cxx
+++ b/connectivity/source/commontools/paramwrapper.cxx
@@ -53,7 +53,6 @@ namespace param
     using ::com::sun::star::uno::Exception;
     using ::com::sun::star::uno::UNO_QUERY_THROW;
     using ::com::sun::star::uno::Any;
-    using ::com::sun::star::lang::IllegalArgumentException;
     using ::com::sun::star::sdbc::SQLException;
     using ::com::sun::star::lang::WrappedTargetException;
     using ::com::sun::star::lang::IndexOutOfBoundsException;
diff --git a/connectivity/source/commontools/sqlerror.cxx b/connectivity/source/commontools/sqlerror.cxx
index 0ce4b8a75e40..b07c1a3cffc3 100644
--- a/connectivity/source/commontools/sqlerror.cxx
+++ b/connectivity/source/commontools/sqlerror.cxx
@@ -41,7 +41,6 @@ namespace connectivity
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::uno::XInterface;
-    using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::sdbc::SQLException;
     using ::com::sun::star::uno::Type;
 
diff --git a/connectivity/source/drivers/firebird/ResultSetMetaData.cxx b/connectivity/source/drivers/firebird/ResultSetMetaData.cxx
index 6c1b8e8d09bb..fa36ac58b206 100644
--- a/connectivity/source/drivers/firebird/ResultSetMetaData.cxx
+++ b/connectivity/source/drivers/firebird/ResultSetMetaData.cxx
@@ -34,9 +34,6 @@ using namespace com::sun::star::sdbc;
 using namespace com::sun::star::sdbcx;
 using namespace com::sun::star::uno;
 
-using com::sun::star::beans::XPropertySet;
-using com::sun::star::container::XNameAccess;
-
 OResultSetMetaData::~OResultSetMetaData()
 {
 }
diff --git a/connectivity/source/drivers/hsqldb/HConnection.cxx b/connectivity/source/drivers/hsqldb/HConnection.cxx
index ddcc01bffe68..9a63991320d8 100644
--- a/connectivity/source/drivers/hsqldb/HConnection.cxx
+++ b/connectivity/source/drivers/hsqldb/HConnection.cxx
@@ -62,7 +62,6 @@ using ::com::sun::star::graphic::GraphicProvider;
 using ::com::sun::star::graphic::XGraphicProvider;
 using ::com::sun::star::uno::XInterface;
 using ::com::sun::star::lang::IllegalArgumentException;
-using ::com::sun::star::ui::dialogs::XExecutableDialog;
 using ::com::sun::star::sdbc::XResultSet;
 using ::com::sun::star::sdbc::XDatabaseMetaData;
 using ::com::sun::star::sdbc::XDatabaseMetaData2;
diff --git a/connectivity/source/drivers/jdbc/ConnectionLog.cxx b/connectivity/source/drivers/jdbc/ConnectionLog.cxx
index 4f564c3fba6e..07c60b102cd3 100644
--- a/connectivity/source/drivers/jdbc/ConnectionLog.cxx
+++ b/connectivity/source/drivers/jdbc/ConnectionLog.cxx
@@ -30,9 +30,6 @@
 namespace connectivity { namespace java { namespace sql {
 
 
-    using ::com::sun::star::uno::XComponentContext;
-
-
     namespace
     {
         sal_Int32 lcl_getFreeID( ConnectionLog::ObjectType _eType )
@@ -70,7 +67,6 @@ namespace comphelper { namespace log { namespace convert
 {
 
 
-    using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::util::Date;
     using ::com::sun::star::util::Time;
     using ::com::sun::star::util::DateTime;
diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
index f28ec81ff67e..d1c833dc1f62 100644
--- a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
@@ -54,17 +54,13 @@
 #include <com/sun/star/sdbc/SQLException.hpp>
 #include <connectivity/dbconversion.hxx>
 
-using osl::Mutex;
 using osl::MutexGuard;
 
 
 using com::sun::star::beans::XPropertySetInfo;
 
 using com::sun::star::uno::Any;
-using com::sun::star::uno::makeAny;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
-using com::sun::star::uno::Exception;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::XInterface;
@@ -72,8 +68,6 @@ using com::sun::star::uno::XInterface;
 using com::sun::star::lang::IllegalArgumentException;
 
 using com::sun::star::sdbc::SQLException;
-using com::sun::star::sdbc::XRow;
-using com::sun::star::sdbc::XResultSetMetaData;
 
 
 using com::sun::star::beans::Property;
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index a950bde8b051..8a8f2d4ca3c0 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -76,7 +76,6 @@ using com::sun::star::script::Converter;
 using com::sun::star::script::XTypeConverter;
 
 using com::sun::star::uno::RuntimeException;
-using com::sun::star::uno::Exception;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::XInterface;
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 95cc723d832c..10c8546025f2 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -89,11 +89,9 @@ using ::osl::MutexGuard;
 
 using namespace com::sun::star::sdbc;
 
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Any;
-using com::sun::star::uno::makeAny;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::UNO_QUERY_THROW;
 
diff --git a/connectivity/source/drivers/postgresql/pq_driver.cxx b/connectivity/source/drivers/postgresql/pq_driver.cxx
index a27bd95175d5..0a360e603d70 100644
--- a/connectivity/source/drivers/postgresql/pq_driver.cxx
+++ b/connectivity/source/drivers/postgresql/pq_driver.cxx
@@ -50,8 +50,6 @@ using com::sun::star::lang::XSingleComponentFactory;
 using com::sun::star::lang::XServiceInfo;
 using com::sun::star::lang::XComponent;
 
-using com::sun::star::uno::RuntimeException;
-using com::sun::star::uno::Exception;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::XInterface;
diff --git a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx
index 8a41491636a3..a75897ccb211 100644
--- a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx
@@ -43,7 +43,6 @@
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::sdbc::SQLException;
 using com::sun::star::sdbc::XResultSetUpdate;
diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
index 3f721bf7f1ab..808f30b03a14 100644
--- a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
+++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
@@ -61,10 +61,7 @@ using osl::MutexGuard;
 
 
 using com::sun::star::uno::Any;
-using com::sun::star::uno::makeAny;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
-using com::sun::star::uno::Exception;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::UNO_QUERY;
diff --git a/connectivity/source/drivers/postgresql/pq_resultset.cxx b/connectivity/source/drivers/postgresql/pq_resultset.cxx
index 3036543c7988..556bae92d5be 100644
--- a/connectivity/source/drivers/postgresql/pq_resultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_resultset.cxx
@@ -48,9 +48,7 @@
 
 using osl::MutexGuard;
 
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Any;
-using com::sun::star::uno::makeAny;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::XInterface;
 
diff --git a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
index 5e1137477dbb..096742687b85 100644
--- a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
@@ -52,7 +52,6 @@ using osl::MutexGuard;
 
 
 using com::sun::star::uno::Any;
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Exception;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::UNO_QUERY;
diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx
index 8fd98e3f8354..a60ed4b09879 100644
--- a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx
@@ -41,8 +41,6 @@
 
 using com::sun::star::uno::Any;
 
-using com::sun::star::uno::RuntimeException;
-
 using com::sun::star::sdbc::SQLException;
 
 namespace pq_sdbc_driver
diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx
index 773ca6ba66bc..7796cac8cc10 100644
--- a/connectivity/source/drivers/postgresql/pq_statement.cxx
+++ b/connectivity/source/drivers/postgresql/pq_statement.cxx
@@ -71,10 +71,7 @@ using osl::MutexGuard;
 
 
 using com::sun::star::uno::Any;
-using com::sun::star::uno::makeAny;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
-using com::sun::star::uno::Exception;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::XInterface;
diff --git a/connectivity/source/drivers/postgresql/pq_statics.cxx b/connectivity/source/drivers/postgresql/pq_statics.cxx
index 2065aa014737..564ab7910567 100644
--- a/connectivity/source/drivers/postgresql/pq_statics.cxx
+++ b/connectivity/source/drivers/postgresql/pq_statics.cxx
@@ -46,7 +46,6 @@ using com::sun::star::uno::Any;
 using com::sun::star::uno::Type;
 
 using com::sun::star::beans::PropertyAttribute::READONLY;
-using com::sun::star::beans::PropertyAttribute::BOUND;
 using com::sun::star::beans::Property;
 
 namespace pq_sdbc_driver
diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
index fa4b8b5c1de8..8ff8a571a376 100644
--- a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
@@ -55,12 +55,10 @@ using osl::MutexGuard;
 
 
 using com::sun::star::uno::Reference;
-using com::sun::star::uno::makeAny;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::sdbc::XGeneratedResultSet;
 using com::sun::star::sdbc::XResultSetMetaDataSupplier;
diff --git a/connectivity/source/drivers/postgresql/pq_xcolumn.cxx b/connectivity/source/drivers/postgresql/pq_xcolumn.cxx
index bda0a88a0407..d02a2696f616 100644
--- a/connectivity/source/drivers/postgresql/pq_xcolumn.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xcolumn.cxx
@@ -39,7 +39,6 @@
 #include "pq_xcolumn.hxx"
 
 using com::sun::star::uno::Reference;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::beans::XPropertySet;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xcolumns.cxx
index 043aea181a66..695bb861e4a5 100644
--- a/connectivity/source/drivers/postgresql/pq_xcolumns.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xcolumns.cxx
@@ -55,8 +55,6 @@ using osl::MutexGuard;
 
 
 using com::sun::star::beans::XPropertySet;
-using com::sun::star::beans::XPropertyChangeListener;
-using com::sun::star::beans::PropertyChangeEvent;
 
 using com::sun::star::uno::Any;
 using com::sun::star::uno::makeAny;
@@ -64,8 +62,6 @@ using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::RuntimeException;
 
-using com::sun::star::container::NoSuchElementException;
-
 using com::sun::star::sdbc::XRow;
 using com::sun::star::sdbc::XStatement;
 using com::sun::star::sdbc::XResultSet;
diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
index 3163c662ad3c..2082816813fd 100644
--- a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
@@ -62,8 +62,6 @@ using com::sun::star::container::ContainerEvent;
 using com::sun::star::lang::IndexOutOfBoundsException;
 using com::sun::star::lang::XEventListener;
 
-using com::sun::star::lang::WrappedTargetException;
-
 
 namespace pq_sdbc_driver
 {
diff --git a/connectivity/source/drivers/postgresql/pq_xindex.cxx b/connectivity/source/drivers/postgresql/pq_xindex.cxx
index cb4b56136999..f906fe158b4b 100644
--- a/connectivity/source/drivers/postgresql/pq_xindex.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xindex.cxx
@@ -52,7 +52,6 @@ using com::sun::star::uno::Reference;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::beans::XPropertySet;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumn.cxx b/connectivity/source/drivers/postgresql/pq_xindexcolumn.cxx
index 824a89ce33be..02488a6339a8 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexcolumn.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexcolumn.cxx
@@ -39,7 +39,6 @@
 #include "pq_xindexcolumn.hxx"
 
 using com::sun::star::uno::Reference;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::beans::XPropertySet;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
index 8501d84bea36..5717c03dcd17 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
@@ -60,12 +60,8 @@ using com::sun::star::uno::makeAny;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::Sequence;
-using com::sun::star::uno::RuntimeException;
-
-using com::sun::star::container::NoSuchElementException;
 
 using com::sun::star::sdbc::XRow;
-using com::sun::star::sdbc::XStatement;
 using com::sun::star::sdbc::XResultSet;
 using com::sun::star::sdbc::XDatabaseMetaData;
 using com::sun::star::sdbc::SQLException;
diff --git a/connectivity/source/drivers/postgresql/pq_xindexes.cxx b/connectivity/source/drivers/postgresql/pq_xindexes.cxx
index 70f35d515cc2..705ffefa818e 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexes.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexes.cxx
@@ -60,7 +60,6 @@ using com::sun::star::uno::makeAny;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::Sequence;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::container::XEnumerationAccess;
 using com::sun::star::container::XEnumeration;
@@ -72,7 +71,6 @@ using com::sun::star::sdbc::XRow;
 using com::sun::star::sdbc::XResultSet;
 using com::sun::star::sdbc::XParameters;
 using com::sun::star::sdbc::XPreparedStatement;
-using com::sun::star::sdbc::XDatabaseMetaData;
 
 namespace pq_sdbc_driver
 {
diff --git a/connectivity/source/drivers/postgresql/pq_xkey.cxx b/connectivity/source/drivers/postgresql/pq_xkey.cxx
index 7eaaeb73f9e3..0f27449a32e2 100644
--- a/connectivity/source/drivers/postgresql/pq_xkey.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xkey.cxx
@@ -52,7 +52,6 @@ using com::sun::star::uno::Reference;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::beans::XPropertySet;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xkeycolumn.cxx b/connectivity/source/drivers/postgresql/pq_xkeycolumn.cxx
index c7ffbcd3d6f2..fac03bd3df7a 100644
--- a/connectivity/source/drivers/postgresql/pq_xkeycolumn.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xkeycolumn.cxx
@@ -39,7 +39,6 @@
 #include "pq_xkeycolumn.hxx"
 
 using com::sun::star::uno::Reference;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::beans::XPropertySet;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx b/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx
index 1982d348851c..fdc74afd6e45 100644
--- a/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx
@@ -58,10 +58,8 @@ using com::sun::star::uno::makeAny;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::Sequence;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::sdbc::XRow;
-using com::sun::star::sdbc::XStatement;
 using com::sun::star::sdbc::XResultSet;
 using com::sun::star::sdbc::XDatabaseMetaData;
 using com::sun::star::sdbc::SQLException;
diff --git a/connectivity/source/drivers/postgresql/pq_xkeys.cxx b/connectivity/source/drivers/postgresql/pq_xkeys.cxx
index 22e8f57891ac..78dc2cd4fa9b 100644
--- a/connectivity/source/drivers/postgresql/pq_xkeys.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xkeys.cxx
@@ -58,7 +58,6 @@ using css::beans::XPropertySet;
 using com::sun::star::uno::makeAny;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Reference;
-using com::sun::star::uno::RuntimeException;
 
 
 using com::sun::star::sdbc::XRow;
diff --git a/connectivity/source/drivers/postgresql/pq_xtable.cxx b/connectivity/source/drivers/postgresql/pq_xtable.cxx
index 84e627844d91..8c1c8f792d8e 100644
--- a/connectivity/source/drivers/postgresql/pq_xtable.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xtable.cxx
@@ -52,11 +52,9 @@
 #include "pq_statics.hxx"
 
 using osl::MutexGuard;
-using osl::Mutex;
 
 using com::sun::star::container::XNameAccess;
 using com::sun::star::container::XIndexAccess;
-using com::sun::star::container::NoSuchElementException;
 
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::UNO_QUERY;
@@ -64,7 +62,6 @@ using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::makeAny;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::beans::XPropertySet;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xtables.cxx b/connectivity/source/drivers/postgresql/pq_xtables.cxx
index adb4fd7b4fd3..411cc917ea29 100644
--- a/connectivity/source/drivers/postgresql/pq_xtables.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xtables.cxx
@@ -60,7 +60,6 @@ using com::sun::star::uno::makeAny;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::Sequence;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::container::XEnumerationAccess;
 using com::sun::star::container::XEnumeration;
diff --git a/connectivity/source/drivers/postgresql/pq_xuser.cxx b/connectivity/source/drivers/postgresql/pq_xuser.cxx
index e3985edbd0a1..46d527f8bd73 100644
--- a/connectivity/source/drivers/postgresql/pq_xuser.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xuser.cxx
@@ -50,7 +50,6 @@ using com::sun::star::uno::Reference;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::beans::XPropertySet;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xusers.cxx b/connectivity/source/drivers/postgresql/pq_xusers.cxx
index cb30c0b50b4c..5b50fc802c63 100644
--- a/connectivity/source/drivers/postgresql/pq_xusers.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xusers.cxx
@@ -54,7 +54,6 @@ using com::sun::star::beans::XPropertySet;
 using com::sun::star::uno::makeAny;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Reference;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::container::NoSuchElementException;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xview.cxx b/connectivity/source/drivers/postgresql/pq_xview.cxx
index 47ae1a91d90c..6256c5b79704 100644
--- a/connectivity/source/drivers/postgresql/pq_xview.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xview.cxx
@@ -54,7 +54,6 @@ using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::makeAny;
 using com::sun::star::uno::Type;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::beans::XPropertySet;
 
diff --git a/connectivity/source/drivers/postgresql/pq_xviews.cxx b/connectivity/source/drivers/postgresql/pq_xviews.cxx
index e6503485a9c0..2d0ed008fa4b 100644
--- a/connectivity/source/drivers/postgresql/pq_xviews.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xviews.cxx
@@ -54,7 +54,6 @@ using com::sun::star::beans::XPropertySet;
 using com::sun::star::uno::makeAny;
 using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::Reference;
-using com::sun::star::uno::RuntimeException;
 
 using com::sun::star::container::NoSuchElementException;
 
diff --git a/connectivity/source/resource/sharedresources.cxx b/connectivity/source/resource/sharedresources.cxx
index a5841ef3952a..c2ff0bd86092 100644
--- a/connectivity/source/resource/sharedresources.cxx
+++ b/connectivity/source/resource/sharedresources.cxx
@@ -30,10 +30,6 @@ namespace connectivity
 {
 
 
-    using ::com::sun::star::uno::Reference;
-    using ::com::sun::star::uno::XComponentContext;
-    using ::com::sun::star::uno::Exception;
-
     class SharedResources_Impl
     {
     private:
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index a652ca151881..83bb944b1bb9 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -30,8 +30,6 @@
 #include <vcl/settings.hxx>
 #include <vcl/builderfactory.hxx>
 
-using std::vector;
-
 /**********************************************************************
 |
 | Ctor / Dtor
diff --git a/dbaccess/source/core/api/View.cxx b/dbaccess/source/core/api/View.cxx
index 32bb4fd624f7..0783de38dd6a 100644
--- a/dbaccess/source/core/api/View.cxx
+++ b/dbaccess/source/core/api/View.cxx
@@ -34,7 +34,6 @@ namespace dbaccess
 {
 
     using namespace ::com::sun::star::uno;
-    using ::com::sun::star::sdbc::SQLException;
     using ::com::sun::star::sdbc::XConnection;
     using ::com::sun::star::lang::XMultiServiceFactory;
 
diff --git a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
index 9c652ceec9d1..82a1538df885 100644
--- a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
+++ b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
@@ -41,7 +41,6 @@ namespace
 {
 
     using ::com::sun::star::uno::Reference;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::lang::XServiceInfo;
diff --git a/dbaccess/source/core/dataaccess/documentevents.cxx b/dbaccess/source/core/dataaccess/documentevents.cxx
index 95c6c42634bd..d2c87a414a87 100644
--- a/dbaccess/source/core/dataaccess/documentevents.cxx
+++ b/dbaccess/source/core/dataaccess/documentevents.cxx
@@ -32,11 +32,9 @@
 namespace dbaccess
 {
 
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::beans::PropertyValue;
     using ::com::sun::star::container::NoSuchElementException;
-    using ::com::sun::star::lang::WrappedTargetException;
     using ::com::sun::star::lang::IllegalArgumentException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::uno::Type;
diff --git a/dbaccess/source/core/misc/DatabaseDataProvider.cxx b/dbaccess/source/core/misc/DatabaseDataProvider.cxx
index 9d84fdb5bbb2..9f4517bb066b 100644
--- a/dbaccess/source/core/misc/DatabaseDataProvider.cxx
+++ b/dbaccess/source/core/misc/DatabaseDataProvider.cxx
@@ -52,9 +52,7 @@
 namespace dbaccess
 {
 using namespace ::com::sun::star;
-using ::com::sun::star::sdbc::SQLException;
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::RuntimeException;
 
 DatabaseDataProvider::DatabaseDataProvider(uno::Reference< uno::XComponentContext > const & context) :
     TDatabaseDataProvider(m_aMutex),
diff --git a/dbaccess/source/core/misc/veto.cxx b/dbaccess/source/core/misc/veto.cxx
index a3b580756089..d2596d4e1e11 100644
--- a/dbaccess/source/core/misc/veto.cxx
+++ b/dbaccess/source/core/misc/veto.cxx
@@ -23,7 +23,6 @@ namespace dbaccess
 {
 
     using ::com::sun::star::uno::Any;
-    using ::com::sun::star::uno::RuntimeException;
 
     // Veto
     Veto::Veto( const Any& _rDetails )
diff --git a/dbaccess/source/core/recovery/storagexmlstream.cxx b/dbaccess/source/core/recovery/storagexmlstream.cxx
index 6d0332eee2bd..7e6d9477830d 100644
--- a/dbaccess/source/core/recovery/storagexmlstream.cxx
+++ b/dbaccess/source/core/recovery/storagexmlstream.cxx
@@ -41,7 +41,6 @@ namespace dbaccess
     using ::com::sun::star::xml::sax::XWriter;
     using ::com::sun::star::xml::sax::Writer;
     using ::com::sun::star::xml::sax::Parser;
-    using ::com::sun::star::xml::sax::XParser;
     using ::com::sun::star::xml::sax::InputSource;
 
     // StorageXMLOutputStream_Data
diff --git a/dbaccess/source/core/recovery/subcomponentloader.cxx b/dbaccess/source/core/recovery/subcomponentloader.cxx
index b48521862d51..3393c3d13d08 100644
--- a/dbaccess/source/core/recovery/subcomponentloader.cxx
+++ b/dbaccess/source/core/recovery/subcomponentloader.cxx
@@ -31,7 +31,6 @@ namespace dbaccess
     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::frame::XController;
     using ::com::sun::star::frame::XFrame;
     using ::com::sun::star::awt::XWindow;
diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
index a899c77debf4..19b6e426fd31 100644
--- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx
+++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
@@ -72,7 +72,6 @@ namespace dbaccess
     using css::container::XHierarchicalNameAccess;
     using css::sdb::XFormDocumentsSupplier;
     using css::sdb::XReportDocumentsSupplier;
-    using css::xml::sax::SAXException;
     using css::xml::sax::XLocator;
     using css::xml::sax::XDocumentHandler;
     using css::xml::sax::XAttributeList;
diff --git a/dbaccess/source/ext/macromigration/progresscapture.cxx b/dbaccess/source/ext/macromigration/progresscapture.cxx
index 903069082e68..6a7244436e6c 100644
--- a/dbaccess/source/ext/macromigration/progresscapture.cxx
+++ b/dbaccess/source/ext/macromigration/progresscapture.cxx
@@ -26,8 +26,6 @@
 namespace dbmm
 {
 
-    using ::com::sun::star::uno::RuntimeException;
-
     // ProgressCapture_Data
     struct ProgressCapture_Data
     {
diff --git a/dbaccess/source/sdbtools/connection/connectiontools.cxx b/dbaccess/source/sdbtools/connection/connectiontools.cxx
index d1dc8f6d6d6d..93a5a312eb5e 100644
--- a/dbaccess/source/sdbtools/connection/connectiontools.cxx
+++ b/dbaccess/source/sdbtools/connection/connectiontools.cxx
@@ -35,14 +35,12 @@ namespace sdbtools
     using namespace ::com::sun::star;
     using namespace ::com::sun::star::uno;
     using ::com::sun::star::uno::Reference;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::sdb::tools::XTableName;
     using ::com::sun::star::sdb::tools::XObjectNames;
     using ::com::sun::star::sdb::tools::XDataSourceMetaData;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::uno::XInterface;
     using ::com::sun::star::uno::Any;
-    using ::com::sun::star::uno::Exception;
     using ::com::sun::star::sdbc::XConnection;
     using ::com::sun::star::lang::IllegalArgumentException;
     using ::com::sun::star::uno::XComponentContext;
diff --git a/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx b/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx
index c2a26949b970..a446885b8bbc 100644
--- a/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx
+++ b/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx
@@ -26,7 +26,6 @@ namespace sdbtools
 
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::sdbc::XConnection;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::XComponentContext;
 
     // DataSourceMetaData
diff --git a/dbaccess/source/sdbtools/connection/objectnames.cxx b/dbaccess/source/sdbtools/connection/objectnames.cxx
index 760f1664a0a8..fbe02ea6a9d5 100644
--- a/dbaccess/source/sdbtools/connection/objectnames.cxx
+++ b/dbaccess/source/sdbtools/connection/objectnames.cxx
@@ -42,7 +42,6 @@ namespace sdbtools
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::sdbc::XConnection;
     using ::com::sun::star::lang::IllegalArgumentException;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::sdbc::SQLException;
     using ::com::sun::star::sdbc::XDatabaseMetaData;
     using ::com::sun::star::container::XNameAccess;
diff --git a/dbaccess/source/ui/misc/dbaundomanager.cxx b/dbaccess/source/ui/misc/dbaundomanager.cxx
index aff9e6cc98dd..bff6e03b3609 100644
--- a/dbaccess/source/ui/misc/dbaundomanager.cxx
+++ b/dbaccess/source/ui/misc/dbaundomanager.cxx
@@ -31,18 +31,11 @@ namespace dbaui
 
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::XInterface;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::document::XUndoManager;
     using ::com::sun::star::lang::DisposedException;
-    using ::com::sun::star::document::UndoContextNotClosedException;
-    using ::com::sun::star::document::UndoFailedException;
-    using ::com::sun::star::document::EmptyUndoStackException;
-    using ::com::sun::star::util::InvalidStateException;
     using ::com::sun::star::document::XUndoAction;
-    using ::com::sun::star::lang::IllegalArgumentException;
     using ::com::sun::star::document::XUndoManagerListener;
-    using ::com::sun::star::util::NotLockedException;
     using ::com::sun::star::lang::NoSupportException;
 
     // UndoManager_Impl
diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
index de0c42044f0f..aa2bdf8cf81c 100644
--- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
+++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
@@ -56,7 +56,6 @@ namespace dbaui
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::beans::XPropertySet;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::uno::Type;
     using ::com::sun::star::uno::XComponentContext;
@@ -69,7 +68,6 @@ namespace dbaui
     using ::com::sun::star::util::XNumberFormatsSupplier;
     using ::com::sun::star::frame::XFrame;
     using ::com::sun::star::uno::Exception;
-    using ::com::sun::star::sdbc::SQLException;
     using ::com::sun::star::lang::EventObject;
     using ::com::sun::star::beans::PropertyValue;
     using ::com::sun::star::frame::XModel;
@@ -82,7 +80,6 @@ namespace dbaui
     using ::com::sun::star::uno::UNO_SET_THROW;
     using ::com::sun::star::uno::UNO_QUERY_THROW;
     using ::com::sun::star::frame::XUntitledNumbers;
-    using ::com::sun::star::beans::PropertyVetoException;
 
     class DataSourceHolder
     {
diff --git a/dbaccess/source/ui/misc/singledoccontroller.cxx b/dbaccess/source/ui/misc/singledoccontroller.cxx
index 072a63eece79..ca4ae4253f25 100644
--- a/dbaccess/source/ui/misc/singledoccontroller.cxx
+++ b/dbaccess/source/ui/misc/singledoccontroller.cxx
@@ -31,12 +31,10 @@ namespace dbaui
 {
 
     using ::com::sun::star::uno::Reference;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::document::XUndoManager;
     using ::com::sun::star::beans::PropertyValue;
-    using ::com::sun::star::lang::EventObject;
 
     // OSingleDocumentController_Data
     struct OSingleDocumentController_Data
diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx
index 37b26c47f387..63bb97e8e466 100644
--- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx
+++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx
@@ -41,14 +41,11 @@ namespace dbaui
 
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::XInterface;
-    using ::com::sun::star::uno::Exception;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::beans::XPropertySetInfo;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::beans::Property;
-    using ::com::sun::star::lang::IllegalArgumentException;
 
     namespace PropertyAttribute = ::com::sun::star::beans::PropertyAttribute;
 


More information about the Libreoffice-commits mailing list