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 /comphelper | |
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 'comphelper')
-rw-r--r-- | comphelper/source/misc/accimplaccess.cxx | 4 | ||||
-rw-r--r-- | comphelper/source/misc/anycompare.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/misc/componentmodule.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/misc/docpasswordrequest.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/misc/documentinfo.cxx | 4 | ||||
-rw-r--r-- | comphelper/source/misc/logging.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/property/ChainablePropertySetInfo.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/property/MasterPropertySetInfo.cxx | 2 |
8 files changed, 0 insertions, 20 deletions
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx index a9b265e5b2ee..76ed77c0ee9d 100644 --- a/comphelper/source/misc/accimplaccess.cxx +++ b/comphelper/source/misc/accimplaccess.cxx @@ -19,7 +19,6 @@ #include <comphelper/accimplaccess.hxx> #include <com/sun/star/accessibility/XAccessible.hpp> -#include <com/sun/star/accessibility/XAccessibleContext.hpp> #include <cppuhelper/typeprovider.hxx> #include <osl/diagnose.h> @@ -33,11 +32,8 @@ namespace comphelper using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; - using ::com::sun::star::lang::XUnoTunnel; using ::com::sun::star::accessibility::XAccessible; - using ::com::sun::star::accessibility::XAccessibleContext; struct OAccImpl_Impl { diff --git a/comphelper/source/misc/anycompare.cxx b/comphelper/source/misc/anycompare.cxx index 07c755797bf1..18ae7bd95caa 100644 --- a/comphelper/source/misc/anycompare.cxx +++ b/comphelper/source/misc/anycompare.cxx @@ -26,9 +26,6 @@ namespace comphelper { 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::Type; using ::com::sun::star::uno::TypeClass_CHAR; using ::com::sun::star::uno::TypeClass_BOOLEAN; diff --git a/comphelper/source/misc/componentmodule.cxx b/comphelper/source/misc/componentmodule.cxx index 7e91b3cd45de..fede3e282f7e 100644 --- a/comphelper/source/misc/componentmodule.cxx +++ b/comphelper/source/misc/componentmodule.cxx @@ -33,9 +33,6 @@ namespace comphelper using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Reference; - using ::com::sun::star::lang::XMultiServiceFactory; - using ::com::sun::star::registry::XRegistryKey; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::XInterface; typedef ::std::vector< ComponentDescription > ComponentDescriptions; diff --git a/comphelper/source/misc/docpasswordrequest.cxx b/comphelper/source/misc/docpasswordrequest.cxx index ade16fe71574..29cf4a90d704 100644 --- a/comphelper/source/misc/docpasswordrequest.cxx +++ b/comphelper/source/misc/docpasswordrequest.cxx @@ -39,7 +39,6 @@ using ::com::sun::star::task::PasswordRequestMode; using ::com::sun::star::task::XInteractionAbort; using ::com::sun::star::task::XInteractionContinuation; using ::com::sun::star::task::XInteractionPassword2; -using ::com::sun::star::task::XInteractionRequest; namespace comphelper { diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx index a30b041a0c8f..b4cf505c96eb 100644 --- a/comphelper/source/misc/documentinfo.cxx +++ b/comphelper/source/misc/documentinfo.cxx @@ -21,7 +21,6 @@ #include <comphelper/documentinfo.hxx> #include <comphelper/namedvaluecollection.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/frame/XStorable.hpp> @@ -39,15 +38,12 @@ namespace comphelper { using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::frame::XModel; using ::com::sun::star::frame::XTitle; using ::com::sun::star::frame::XController; - using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::document::XDocumentPropertiesSupplier; using ::com::sun::star::document::XDocumentProperties; using ::com::sun::star::frame::XStorable; - using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::uno::XInterface; using ::com::sun::star::frame::XFrame; diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx index dcab775e1206..0899e6193eaa 100644 --- a/comphelper/source/misc/logging.cxx +++ b/comphelper/source/misc/logging.cxx @@ -41,7 +41,6 @@ namespace comphelper using ::com::sun::star::logging::XLogger; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::logging::XLogHandler; using ::com::sun::star::resource::XResourceBundle; using ::com::sun::star::resource::XResourceBundleLoader; diff --git a/comphelper/source/property/ChainablePropertySetInfo.cxx b/comphelper/source/property/ChainablePropertySetInfo.cxx index 3cb989cf0d4e..4a2c34789810 100644 --- a/comphelper/source/property/ChainablePropertySetInfo.cxx +++ b/comphelper/source/property/ChainablePropertySetInfo.cxx @@ -24,10 +24,8 @@ using ::comphelper::PropertyInfo; using ::comphelper::ChainablePropertySetInfo; using ::com::sun::star::uno::Type; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::beans::Property; -using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::beans::UnknownPropertyException; ChainablePropertySetInfo::ChainablePropertySetInfo( PropertyInfo const * pMap ) diff --git a/comphelper/source/property/MasterPropertySetInfo.cxx b/comphelper/source/property/MasterPropertySetInfo.cxx index 0fd7aca3bbb7..1db09060c317 100644 --- a/comphelper/source/property/MasterPropertySetInfo.cxx +++ b/comphelper/source/property/MasterPropertySetInfo.cxx @@ -24,10 +24,8 @@ using ::comphelper::PropertyInfo; using ::comphelper::MasterPropertySetInfo; using ::com::sun::star::uno::Type; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::beans::Property; -using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::beans::UnknownPropertyException; MasterPropertySetInfo::MasterPropertySetInfo( PropertyInfo const * pMap ) |