From 75ed56689427f972ce58e395af8aaf951dda7581 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 15 Apr 2023 21:22:45 +0200 Subject: 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 --- shell/source/win32/simplemail/smplmailclient.cxx | 1 - shell/source/win32/simplemail/smplmailsuppl.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'shell/source') diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx index b4bef54ef15f..d40577892cb3 100644 --- a/shell/source/win32/simplemail/smplmailclient.cxx +++ b/shell/source/win32/simplemail/smplmailclient.cxx @@ -46,7 +46,6 @@ using css::uno::UNO_QUERY; using css::uno::Reference; using css::uno::Exception; -using css::uno::RuntimeException; using css::uno::Sequence; using css::lang::IllegalArgumentException; diff --git a/shell/source/win32/simplemail/smplmailsuppl.cxx b/shell/source/win32/simplemail/smplmailsuppl.cxx index 8fbd89b21c95..6f4eb0ea09a9 100644 --- a/shell/source/win32/simplemail/smplmailsuppl.cxx +++ b/shell/source/win32/simplemail/smplmailsuppl.cxx @@ -27,7 +27,6 @@ #include using com::sun::star::uno::Reference; -using com::sun::star::uno::RuntimeException; using com::sun::star::uno::Sequence; using com::sun::star::lang::XServiceInfo; using com::sun::star::system::XSimpleMailClientSupplier; -- cgit