From 150ac9cf05ed9da6a2af5bc3f820280fd853e519 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 17 Apr 2016 19:20:37 +0200 Subject: 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 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- shell/source/cmdmail/cmdmailsuppl.cxx | 2 -- shell/source/unix/exec/shellexec.cxx | 1 - shell/source/win32/SysShExec.cxx | 3 --- shell/source/win32/shlxthandler/classfactory.cxx | 2 -- shell/source/win32/simplemail/smplmailmsg.cxx | 2 -- shell/source/win32/simplemail/smplmailsuppl.cxx | 1 - 6 files changed, 11 deletions(-) (limited to 'shell') diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx index 9a432519507d..919516f6ba1c 100644 --- a/shell/source/cmdmail/cmdmailsuppl.cxx +++ b/shell/source/cmdmail/cmdmailsuppl.cxx @@ -50,8 +50,6 @@ using com::sun::star::system::XSimpleMailClient; using com::sun::star::system::XSimpleMailMessage; using com::sun::star::system::XSimpleMailMessage2; using com::sun::star::container::XNameAccess; -using com::sun::star::container::NoSuchElementException; -using osl::MutexGuard; using osl::FileBase; using namespace cppu; diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 89481bf2c2db..cb9f2e53effe 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -48,7 +48,6 @@ using com::sun::star::system::XSystemShellExecute; using com::sun::star::system::SystemShellExecuteException; -using osl::FileBase; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx index baecf1a133fa..55cbb90a5782 100644 --- a/shell/source/win32/SysShExec.cxx +++ b/shell/source/win32/SysShExec.cxx @@ -46,11 +46,8 @@ 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::lang::EventObject; using com::sun::star::lang::XServiceInfo; using com::sun::star::lang::IllegalArgumentException; -using osl::Mutex; using com::sun::star::system::XSystemShellExecute; using com::sun::star::system::SystemShellExecuteException; diff --git a/shell/source/win32/shlxthandler/classfactory.cxx b/shell/source/win32/shlxthandler/classfactory.cxx index 4e15e853851b..36d287708db1 100644 --- a/shell/source/win32/shlxthandler/classfactory.cxx +++ b/shell/source/win32/shlxthandler/classfactory.cxx @@ -24,8 +24,6 @@ #include "columninfo.hxx" #ifdef __MINGW32__ #include -using ::std::max; -using ::std::min; #endif #include "thumbviewer.hxx" #include "shlxthdl.hxx" diff --git a/shell/source/win32/simplemail/smplmailmsg.cxx b/shell/source/win32/simplemail/smplmailmsg.cxx index 355ff925bdc2..31e837701bba 100644 --- a/shell/source/win32/simplemail/smplmailmsg.cxx +++ b/shell/source/win32/simplemail/smplmailmsg.cxx @@ -28,9 +28,7 @@ using com::sun::star::uno::RuntimeException; using com::sun::star::uno::Sequence; -using com::sun::star::lang::XServiceInfo; using com::sun::star::lang::IllegalArgumentException; -using osl::Mutex; using namespace cppu; diff --git a/shell/source/win32/simplemail/smplmailsuppl.cxx b/shell/source/win32/simplemail/smplmailsuppl.cxx index 6d6e33762a2b..82610e8f854d 100644 --- a/shell/source/win32/simplemail/smplmailsuppl.cxx +++ b/shell/source/win32/simplemail/smplmailsuppl.cxx @@ -28,7 +28,6 @@ using com::sun::star::uno::Sequence; using com::sun::star::lang::XServiceInfo; using com::sun::star::system::XSimpleMailClientSupplier; using com::sun::star::system::XSimpleMailClient; -using osl::Mutex; using namespace cppu; -- cgit