summaryrefslogtreecommitdiff
path: root/fpicker
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 /fpicker
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 'fpicker')
-rw-r--r--fpicker/source/aqua/FPentry.mm1
-rw-r--r--fpicker/source/win32/filepicker/FPentry.cxx1
-rw-r--r--fpicker/source/win32/folderpicker/FolderPicker.cxx3
-rw-r--r--fpicker/source/win32/folderpicker/MtaFop.cxx2
-rw-r--r--fpicker/source/win32/folderpicker/WinFOPImpl.cxx2
5 files changed, 0 insertions, 9 deletions
diff --git a/fpicker/source/aqua/FPentry.mm b/fpicker/source/aqua/FPentry.mm
index ffbf21884f66..012d219bdaf8 100644
--- a/fpicker/source/aqua/FPentry.mm
+++ b/fpicker/source/aqua/FPentry.mm
@@ -31,7 +31,6 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
using namespace ::cppu;
-using ::com::sun::star::ui::dialogs::XFilePicker;
static Reference< XInterface > SAL_CALL createFileInstance( const Reference< XMultiServiceFactory >& )
diff --git a/fpicker/source/win32/filepicker/FPentry.cxx b/fpicker/source/win32/filepicker/FPentry.cxx
index 99fe074e7a20..ff8891983c62 100644
--- a/fpicker/source/win32/filepicker/FPentry.cxx
+++ b/fpicker/source/win32/filepicker/FPentry.cxx
@@ -43,7 +43,6 @@ using namespace ::com::sun::star::container ;
using namespace ::com::sun::star::lang ;
using namespace ::com::sun::star::registry ;
using namespace ::cppu ;
-using ::com::sun::star::ui::dialogs::XFilePicker;
using ::com::sun::star::ui::dialogs::XFilePicker2;
diff --git a/fpicker/source/win32/folderpicker/FolderPicker.cxx b/fpicker/source/win32/folderpicker/FolderPicker.cxx
index d9666ce8f37e..11010296f8b9 100644
--- a/fpicker/source/win32/folderpicker/FolderPicker.cxx
+++ b/fpicker/source/win32/folderpicker/FolderPicker.cxx
@@ -20,7 +20,6 @@
#include <osl/diagnose.h>
#include "FolderPicker.hxx"
-#include <com/sun/star/lang/DisposedException.hpp>
#include <cppuhelper/supportsservice.hxx>
#include "WinFOPImpl.hxx"
@@ -31,10 +30,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::XMultiServiceFactory;
using com::sun::star::lang::XServiceInfo;
-using com::sun::star::lang::DisposedException;
using com::sun::star::lang::IllegalArgumentException;
using osl::MutexGuard;
diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx
index 99a436c2859e..3c3622ae5eea 100644
--- a/fpicker/source/win32/folderpicker/MtaFop.cxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.cxx
@@ -19,7 +19,6 @@
#include <osl/diagnose.h>
#include <osl/thread.h>
-#include <osl/conditn.hxx>
#include "MtaFop.hxx"
#include <wchar.h>
@@ -28,7 +27,6 @@
#include <systools/win32/comtools.hxx>
-using osl::Condition;
const sal_uInt32 MSG_BROWSEFORFOLDER = WM_USER + 1;
const sal_uInt32 MSG_SHUTDOWN = WM_USER + 2;
diff --git a/fpicker/source/win32/folderpicker/WinFOPImpl.cxx b/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
index 7bfc506a2dc8..9c6d100135af 100644
--- a/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
+++ b/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
@@ -19,7 +19,6 @@
#include "WinFOPImpl.hxx"
#include <osl/diagnose.h>
-#include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include "FopEvtDisp.hxx"
@@ -32,7 +31,6 @@
using com::sun::star::uno::RuntimeException;
using com::sun::star::lang::IllegalArgumentException;
-using com::sun::star::lang::EventObject;
using namespace com::sun::star::ui::dialogs;
using osl::FileBase;