From d7e0247ed43091172c2cc3827399bb111416d617 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 12 Apr 2023 00:27:47 +0200 Subject: Run clang-tidy with misc-unused-using-decls on modules [s-t]* To remove unneeded using declarations. Via the simple script: for i in $(find $dirname -name "*cxx" -o -name "*hxx" ); do clang-tidy-12 --checks="-*,misc-unused-using-decls" "$i"; done Change-Id: I596299084471b2904548d23875866f1583b00b2a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150610 Tested-by: Jenkins Reviewed-by: Gabor Kelemen --- toolkit/source/awt/vclxtopwindow.cxx | 1 - toolkit/source/controls/unocontroltablemodel.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'toolkit') diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx index 5a06c8e21506..c0ce4d891d94 100644 --- a/toolkit/source/awt/vclxtopwindow.cxx +++ b/toolkit/source/awt/vclxtopwindow.cxx @@ -41,7 +41,6 @@ #include using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::Type; using ::com::sun::star::uno::Any; using ::com::sun::star::lang::IndexOutOfBoundsException; diff --git a/toolkit/source/controls/unocontroltablemodel.cxx b/toolkit/source/controls/unocontroltablemodel.cxx index cc4c8f0863ba..50f6cac3cf80 100644 --- a/toolkit/source/controls/unocontroltablemodel.cxx +++ b/toolkit/source/controls/unocontroltablemodel.cxx @@ -47,7 +47,6 @@ namespace svt::table using css::uno::Any; using css::style::VerticalAlignment_TOP; using css::style::VerticalAlignment; - using css::uno::WeakReference; using css::awt::grid::GridDataEvent; using css::awt::grid::XSortableGridData; using css::beans::Pair; -- cgit