summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2023-04-12 00:27:47 +0200
committerGabor Kelemen <kelemeng@ubuntu.com>2023-04-23 13:05:21 +0200
commitd7e0247ed43091172c2cc3827399bb111416d617 (patch)
treea9bcb9edfbb0511cea9376431479e526060cc939 /sc/source
parent20c86bd1059b54915190ce2e3dd39206d293aced (diff)
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 <kelemeng@ubuntu.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/excel/xeescher.cxx1
-rw-r--r--sc/source/filter/excel/xltracer.cxx3
-rw-r--r--sc/source/filter/xml/XMLStylesImportHelper.cxx1
-rw-r--r--sc/source/filter/xml/XMLTableShapeResizer.cxx1
-rw-r--r--sc/source/filter/xml/xmltabi.cxx1
-rw-r--r--sc/source/ui/undo/undorangename.cxx2
6 files changed, 0 insertions, 9 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index ed634c1fcf84..04c1f1b9efbd 100644
--- a/sc/source/filter/excel/xeescher.cxx
+++ b/sc/source/filter/excel/xeescher.cxx
@@ -80,7 +80,6 @@ using ::com::sun::star::lang::XServiceInfo;
using ::com::sun::star::beans::XPropertySet;
using ::com::sun::star::drawing::XShape;
using ::com::sun::star::drawing::XShapes;
-using ::com::sun::star::frame::XModel;
using ::com::sun::star::awt::XControlModel;
using ::com::sun::star::form::binding::XBindableValue;
using ::com::sun::star::form::binding::XListEntrySink;
diff --git a/sc/source/filter/excel/xltracer.cxx b/sc/source/filter/excel/xltracer.cxx
index c6931dbf01d8..2b51478e8578 100644
--- a/sc/source/filter/excel/xltracer.cxx
+++ b/sc/source/filter/excel/xltracer.cxx
@@ -22,9 +22,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <address.hxx>
-using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::beans::PropertyValue;
-
XclTracer::XclTracer(std::u16string_view /*rDocUrl*/)
: mbEnabled(false)
, maFirstTimes(eTraceLength, true)
diff --git a/sc/source/filter/xml/XMLStylesImportHelper.cxx b/sc/source/filter/xml/XMLStylesImportHelper.cxx
index 3d317b886964..ed3a210fc347 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.cxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.cxx
@@ -23,7 +23,6 @@
#include <osl/diagnose.h>
using namespace com::sun::star;
-using ::std::list;
void ScMyStyleNumberFormats::AddStyleNumberFormat(const OUString& rStyleName, const sal_Int32 nNumberFormat)
{
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.cxx b/sc/source/filter/xml/XMLTableShapeResizer.cxx
index 31ee2568f55b..4ce1e6a0226e 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.cxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.cxx
@@ -34,7 +34,6 @@
#include <vector>
using namespace ::com::sun::star;
-using ::std::unique_ptr;
using ::std::vector;
ScMyOLEFixer::ScMyOLEFixer(ScXMLImport& rTempImport)
diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx
index 217e08bebced..173e651874a8 100644
--- a/sc/source/filter/xml/xmltabi.cxx
+++ b/sc/source/filter/xml/xmltabi.cxx
@@ -49,7 +49,6 @@ using namespace com::sun::star;
using namespace xmloff::token;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::UNO_QUERY;
-using ::com::sun::star::xml::sax::XAttributeList;
/**
* Determine whether this table is an external reference cache from its
diff --git a/sc/source/ui/undo/undorangename.cxx b/sc/source/ui/undo/undorangename.cxx
index 30e8d509f0ef..7dceff763f20 100644
--- a/sc/source/ui/undo/undorangename.cxx
+++ b/sc/source/ui/undo/undorangename.cxx
@@ -16,8 +16,6 @@
#include <memory>
#include <utility>
-using ::std::unique_ptr;
-
ScUndoAllRangeNames::ScUndoAllRangeNames(
ScDocShell* pDocSh,
const std::map<OUString, ScRangeName*>& rOldNames,