From 3b85fd8a27edb7b9a0d92bad7969ef551d11450f Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Fri, 29 Mar 2024 14:01:43 +0100 Subject: [PATCH] tdf#146619 Drop unused 'using namespace' in: sdext/ Change-Id: I8c5012958f6e59ec11c8a7bd52592e30cce4117a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165525 Tested-by: Jenkins Reviewed-by: Gabor Kelemen --- sdext/IwyuFilter_sdext.yaml | 2 +- sdext/qa/unit/pdfimport.cxx | 1 - sdext/source/minimizer/fileopendialog.cxx | 1 - sdext/source/minimizer/impoptimizer.cxx | 1 - sdext/source/minimizer/informationdialog.cxx | 3 --- sdext/source/minimizer/optimizerdialog.cxx | 3 --- sdext/source/minimizer/optimizerdialogcontrols.cxx | 3 --- sdext/source/minimizer/pagecollector.cxx | 2 -- 8 files changed, 1 insertion(+), 15 deletions(-) diff --git a/sdext/IwyuFilter_sdext.yaml b/sdext/IwyuFilter_sdext.yaml index 9a0aaea804cc..2b00c256b4d2 100644 --- a/sdext/IwyuFilter_sdext.yaml +++ b/sdext/IwyuFilter_sdext.yaml @@ -1,5 +1,5 @@ --- -assumeFilename: sdext/source/presenter/PresenterSlideSorter.cxx +assumeFilename: sdext/source/pdfimport/pdfiadaptor.cxx excludelist: sdext/source/pdfimport/odf/odfemitter.cxx: # Actually in use diff --git a/sdext/qa/unit/pdfimport.cxx b/sdext/qa/unit/pdfimport.cxx index 18988d6845de..462edf2e7772 100644 --- a/sdext/qa/unit/pdfimport.cxx +++ b/sdext/qa/unit/pdfimport.cxx @@ -54,7 +54,6 @@ #include #include -using namespace ::pdfparse; using namespace ::pdfi; using namespace ::com::sun::star; diff --git a/sdext/source/minimizer/fileopendialog.cxx b/sdext/source/minimizer/fileopendialog.cxx index 44dfb51bc74f..7ae877b13549 100644 --- a/sdext/source/minimizer/fileopendialog.cxx +++ b/sdext/source/minimizer/fileopendialog.cxx @@ -35,7 +35,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; -using namespace ::com::sun::star::view; using namespace ::com::sun::star::ui::dialogs; FileOpenDialog::FileOpenDialog( const Reference< XComponentContext >& rxContext ) diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx index c46617175e1c..abf54e296a77 100644 --- a/sdext/source/minimizer/impoptimizer.cxx +++ b/sdext/source/minimizer/impoptimizer.cxx @@ -63,7 +63,6 @@ using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::graphic; -using namespace ::com::sun::star::document; using namespace ::com::sun::star::container; using namespace ::com::sun::star::presentation; diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx index caea0fc1d787..9872990a0f45 100644 --- a/sdext/source/minimizer/informationdialog.cxx +++ b/sdext/source/minimizer/informationdialog.cxx @@ -29,13 +29,10 @@ #include using namespace ::com::sun::star; -using namespace ::com::sun::star::ui; using namespace ::com::sun::star::awt; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::container; static OUString ImpValueOfInMB( sal_Int64 rVal ) { diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx index 773970a41b05..7efef618af9b 100644 --- a/sdext/source/minimizer/optimizerdialog.cxx +++ b/sdext/source/minimizer/optimizerdialog.cxx @@ -47,13 +47,10 @@ using namespace ::com::sun::star::io; using namespace ::com::sun::star::ui; using namespace ::com::sun::star::awt; -using namespace ::com::sun::star::ucb; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; -using namespace ::com::sun::star::lang; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::container; IntroPage::IntroPage(weld::Container* pPage, OptimizerDialog& rOptimizerDialog) : vcl::OWizardPage(pPage, &rOptimizerDialog, "modules/simpress/ui/pmintropage.ui", "PMIntroPage") diff --git a/sdext/source/minimizer/optimizerdialogcontrols.cxx b/sdext/source/minimizer/optimizerdialogcontrols.cxx index 5ed2dd942b7e..d2c4e49f3b95 100644 --- a/sdext/source/minimizer/optimizerdialogcontrols.cxx +++ b/sdext/source/minimizer/optimizerdialogcontrols.cxx @@ -37,10 +37,7 @@ #include #include -using namespace ::com::sun::star::awt; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::util; -using namespace ::com::sun::star::lang; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::drawing; diff --git a/sdext/source/minimizer/pagecollector.cxx b/sdext/source/minimizer/pagecollector.cxx index f42c7d271a1a..f86444abbfae 100644 --- a/sdext/source/minimizer/pagecollector.cxx +++ b/sdext/source/minimizer/pagecollector.cxx @@ -28,10 +28,8 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::awt; using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::frame; -using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; using namespace ::com::sun::star::presentation;