summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2023-04-15 21:22:45 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-04-25 08:09:28 +0200
commit75ed56689427f972ce58e395af8aaf951dda7581 (patch)
treef02b1f7712ea688d7ee029729274f80b43c21f50 /fpicker
parent26bf26272bf525b59b4a4ce18b3ce14c1febfd7b (diff)
Add script to find unused using declarations
As a complementer to clang-tidy-12 --checks="-*,misc-unused-using-decls" Pros: - simple, fast! - finds some more unused declarations, somehow - works on non-linux specific parts of the code - clang-tidy (for me) trips on files with external headers, this does not Change-Id: If2db989114ac5c2841ed2e89ff7bd7a9e419f567 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150612 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/contentenumeration.cxx1
-rw-r--r--fpicker/source/win32/WinImplHelper.cxx6
2 files changed, 0 insertions, 7 deletions
diff --git a/fpicker/source/office/contentenumeration.cxx b/fpicker/source/office/contentenumeration.cxx
index 6ac33673909e..2a5b0156480a 100644
--- a/fpicker/source/office/contentenumeration.cxx
+++ b/fpicker/source/office/contentenumeration.cxx
@@ -63,7 +63,6 @@ namespace svt
using ::com::sun::star::ucb::CommandAbortedException;
using ::com::sun::star::ucb::XContentAccess;
using ::com::sun::star::ucb::XCommandEnvironment;
- using ::ucbhelper::ResultSetInclude;
using ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS;
diff --git a/fpicker/source/win32/WinImplHelper.cxx b/fpicker/source/win32/WinImplHelper.cxx
index 5d6e20d92319..9f81f6b60ffc 100644
--- a/fpicker/source/win32/WinImplHelper.cxx
+++ b/fpicker/source/win32/WinImplHelper.cxx
@@ -24,12 +24,6 @@
#include <rtl/ustrbuf.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-using ::com::sun::star::lang::IllegalArgumentException;
-using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::XInterface;
-using ::com::sun::star::uno::Any;
-using ::com::sun::star::uno::Sequence;
-
const sal_Unicode TILDE_SIGN = L'~';
const sal_Unicode AMPERSAND_SIGN = L'&';