summaryrefslogtreecommitdiff
path: root/shell
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 /shell
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 'shell')
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.cxx2
-rw-r--r--shell/source/unix/exec/shellexec.cxx1
-rw-r--r--shell/source/win32/SysShExec.cxx3
-rw-r--r--shell/source/win32/shlxthandler/classfactory.cxx2
-rw-r--r--shell/source/win32/simplemail/smplmailmsg.cxx2
-rw-r--r--shell/source/win32/simplemail/smplmailsuppl.cxx1
6 files changed, 0 insertions, 11 deletions
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 <algorithm>
-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;