summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-17 19:20:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-18 07:25:24 +0000
commit150ac9cf05ed9da6a2af5bc3f820280fd853e519 (patch)
tree10a73ee6974c2ee67ee63a09e533081ce519685f /ucb
parent0fa6c88007f61176ac707cb5d77fd35cf1521123 (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 'ucb')
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx12
-rw-r--r--ucb/source/ucp/ext/ucpext_datasupplier.cxx5
-rw-r--r--ucb/source/ucp/ext/ucpext_provider.cxx2
-rw-r--r--ucb/source/ucp/ext/ucpext_resultset.cxx5
-rw-r--r--ucb/source/ucp/ext/ucpext_services.cxx4
5 files changed, 0 insertions, 28 deletions
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index c91f8d89d659..8ec03c1fb869 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -27,12 +27,8 @@
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/ucb/XCommandInfo.hpp>
#include <com/sun/star/ucb/XPersistentPropertySet.hpp>
-#include <com/sun/star/io/XOutputStream.hpp>
-#include <com/sun/star/io/XActiveDataSink.hpp>
#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
#include <com/sun/star/ucb/OpenMode.hpp>
-#include <com/sun/star/ucb/UnsupportedDataSinkException.hpp>
-#include <com/sun/star/ucb/UnsupportedOpenModeException.hpp>
#include <com/sun/star/ucb/XDynamicResultSet.hpp>
#include <com/sun/star/deployment/PackageInformationProvider.hpp>
@@ -55,7 +51,6 @@ namespace ucb { namespace ucp { namespace ext
using ::com::sun::star::uno::Reference;
- using ::com::sun::star::uno::XInterface;
using ::com::sun::star::uno::UNO_SET_THROW;
using ::com::sun::star::uno::Exception;
using ::com::sun::star::uno::RuntimeException;
@@ -63,9 +58,7 @@ namespace ucb { namespace ucp { namespace ext
using ::com::sun::star::uno::makeAny;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::XComponentContext;
- using ::com::sun::star::lang::XMultiServiceFactory;
using ::com::sun::star::ucb::XContentIdentifier;
- using ::com::sun::star::ucb::IllegalIdentifierException;
using ::com::sun::star::ucb::XContent;
using ::com::sun::star::ucb::XCommandEnvironment;
using ::com::sun::star::ucb::Command;
@@ -75,11 +68,6 @@ namespace ucb { namespace ucp { namespace ext
using ::com::sun::star::beans::PropertyValue;
using ::com::sun::star::ucb::OpenCommandArgument2;
using ::com::sun::star::ucb::XDynamicResultSet;
- using ::com::sun::star::ucb::UnsupportedOpenModeException;
- using ::com::sun::star::io::XOutputStream;
- using ::com::sun::star::io::XActiveDataSink;
- using ::com::sun::star::io::XInputStream;
- using ::com::sun::star::ucb::UnsupportedDataSinkException;
using ::com::sun::star::ucb::UnsupportedCommandException;
using ::com::sun::star::sdbc::XRow;
using ::com::sun::star::beans::XPropertySet;
diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx
index 6657727d5405..66907ac067be 100644
--- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx
+++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx
@@ -41,24 +41,19 @@ namespace ucb { namespace ucp { namespace ext
using ::com::sun::star::uno::Reference;
- using ::com::sun::star::uno::XInterface;
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::Sequence;
using ::com::sun::star::uno::XComponentContext;
using ::com::sun::star::ucb::XContent;
using ::com::sun::star::ucb::XContentIdentifier;
using ::com::sun::star::sdbc::XRow;
- using ::com::sun::star::lang::XMultiServiceFactory;
using ::com::sun::star::ucb::IllegalIdentifierException;
using ::com::sun::star::ucb::ResultSetException;
using ::com::sun::star::deployment::PackageInformationProvider;
using ::com::sun::star::deployment::XPackageInformationProvider;
- using ::com::sun::star::beans::Property;
using ::com::sun::star::sdbc::XResultSet;
- using ::com::sun::star::ucb::XCommandEnvironment;
//= ResultListEntry
diff --git a/ucb/source/ucp/ext/ucpext_provider.cxx b/ucb/source/ucp/ext/ucpext_provider.cxx
index f441da2b0537..6da0f7fb8f5b 100644
--- a/ucb/source/ucp/ext/ucpext_provider.cxx
+++ b/ucb/source/ucp/ext/ucpext_provider.cxx
@@ -32,10 +32,8 @@ namespace ucb { namespace ucp { namespace ext
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::Sequence;
- using ::com::sun::star::lang::XMultiServiceFactory;
using ::com::sun::star::ucb::XContentIdentifier;
using ::com::sun::star::ucb::IllegalIdentifierException;
using ::com::sun::star::ucb::XContent;
diff --git a/ucb/source/ucp/ext/ucpext_resultset.cxx b/ucb/source/ucp/ext/ucpext_resultset.cxx
index 91e1f151b44b..88bcd3594eb4 100644
--- a/ucb/source/ucp/ext/ucpext_resultset.cxx
+++ b/ucb/source/ucp/ext/ucpext_resultset.cxx
@@ -30,12 +30,7 @@ namespace ucb { namespace ucp { namespace ext
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::XComponentContext;
- using ::com::sun::star::lang::XMultiServiceFactory;
- using ::com::sun::star::ucb::XContentIdentifier;
using ::com::sun::star::ucb::OpenCommandArgument2;
using ::com::sun::star::ucb::XCommandEnvironment;
diff --git a/ucb/source/ucp/ext/ucpext_services.cxx b/ucb/source/ucp/ext/ucpext_services.cxx
index 977f084068c0..82171f065d48 100644
--- a/ucb/source/ucp/ext/ucpext_services.cxx
+++ b/ucb/source/ucp/ext/ucpext_services.cxx
@@ -26,10 +26,6 @@ namespace ucb { namespace ucp { namespace ext
{
- using ::com::sun::star::uno::XInterface;
- using ::com::sun::star::uno::Exception;
- using ::com::sun::star::uno::RuntimeException;
- using ::com::sun::star::lang::XSingleComponentFactory;
//= descriptors for the services implemented in this component