summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-03-24 18:55:11 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-03-27 10:44:44 +0100
commitd9e0eade62b7164e81458a5da7c2aba6f4c77311 (patch)
tree6d519b24d9ead0c4fbc3a70849ddca703a971710 /connectivity
parent60a3e721aaf9a9220563d045c2387cb2378e607f (diff)
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@collabora.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/paramwrapper.cxx1
-rw-r--r--connectivity/source/commontools/sqlerror.cxx1
-rw-r--r--connectivity/source/drivers/firebird/ResultSetMetaData.cxx3
-rw-r--r--connectivity/source/drivers/hsqldb/HConnection.cxx1
-rw-r--r--connectivity/source/drivers/jdbc/ConnectionLog.cxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_baseresultset.cxx6
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_driver.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_preparedstatement.cxx3
-rw-r--r--connectivity/source/drivers/postgresql/pq_resultset.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_statement.cxx3
-rw-r--r--connectivity/source/drivers/postgresql/pq_statics.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_updateableresultset.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xcolumn.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xcolumns.cxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_xcontainer.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xindex.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xindexcolumn.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_xindexes.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xkey.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xkeycolumn.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xkeys.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xtable.cxx3
-rw-r--r--connectivity/source/drivers/postgresql/pq_xtables.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xuser.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xusers.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xview.cxx1
-rw-r--r--connectivity/source/drivers/postgresql/pq_xviews.cxx1
-rw-r--r--connectivity/source/resource/sharedresources.cxx4
35 files changed, 0 insertions, 68 deletions
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: