[Libreoffice-commits] core.git: oox/source package/source pyuno/source reportdesign/source sc/source sd/source sfx2/source shell/source svl/source svtools/source svx/source sw/source toolkit/source ucb/source UnoControls/source unotools/source unoxml/qa vcl/source vcl/unx writerperfect/source xmloff/source xmlsecurity/source

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 25 08:14:05 UTC 2020


 UnoControls/source/controls/progressmonitor.cxx                     |    1 -
 oox/source/core/fragmenthandler2.cxx                                |    2 --
 oox/source/export/ColorPropertySet.cxx                              |    1 -
 oox/source/helper/propertymap.cxx                                   |    4 ----
 package/source/zipapi/XBufferedThreadedStream.cxx                   |    1 -
 pyuno/source/module/pyuno_module.cxx                                |    1 -
 reportdesign/source/filter/xml/xmlTable.cxx                         |    1 -
 sc/source/core/data/dpoutput.cxx                                    |    1 -
 sc/source/core/data/dptabsrc.cxx                                    |    1 -
 sc/source/core/tool/rangelst.cxx                                    |    1 -
 sc/source/filter/excel/xecontent.cxx                                |    1 -
 sc/source/filter/excel/xepivot.cxx                                  |    1 -
 sc/source/filter/excel/xlpivot.cxx                                  |    1 -
 sc/source/filter/oox/excelhandlers.cxx                              |    1 -
 sc/source/filter/xml/xmldpimp.cxx                                   |    1 -
 sc/source/filter/xml/xmlfilti.cxx                                   |    1 -
 sc/source/ui/Accessibility/AccessibleCsvControl.cxx                 |    2 --
 sc/source/ui/Accessibility/AccessibleEditObject.cxx                 |    1 -
 sc/source/ui/Accessibility/AccessibleFilterMenu.cxx                 |    1 -
 sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx             |    1 -
 sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx            |    1 -
 sc/source/ui/Accessibility/AccessibleGlobal.cxx                     |    2 --
 sc/source/ui/cctrl/checklistmenu.cxx                                |    1 -
 sc/source/ui/docshell/externalrefmgr.cxx                            |    1 -
 sc/source/ui/docshell/macromgr.cxx                                  |    1 -
 sc/source/ui/undo/undocell.cxx                                      |    2 --
 sc/source/ui/unoobj/dapiuno.cxx                                     |    2 --
 sc/source/ui/unoobj/warnpassword.cxx                                |    1 -
 sd/source/filter/eppt/pptx-epptooxml.cxx                            |    1 -
 sd/source/filter/ppt/pptinanimations.cxx                            |    1 -
 sd/source/ui/animations/CustomAnimationDialog.cxx                   |    1 -
 sd/source/ui/app/sdmod1.cxx                                         |    1 -
 sd/source/ui/slideshow/slideshowviewimpl.cxx                        |    2 --
 sd/source/ui/unoidl/randomnode.cxx                                  |    4 ----
 sd/source/ui/unoidl/unoobj.cxx                                      |    1 -
 sfx2/source/doc/docstoragemodifylistener.cxx                        |    1 -
 sfx2/source/doc/docundomanager.cxx                                  |    1 -
 sfx2/source/doc/sfxbasemodel.cxx                                    |    1 -
 sfx2/source/doc/sfxmodelfactory.cxx                                 |    2 --
 shell/source/cmdmail/cmdmailmsg.cxx                                 |    2 --
 svl/source/undo/undo.cxx                                            |    2 --
 svtools/source/uno/svtxgridcontrol.cxx                              |    1 -
 svtools/source/uno/unoevent.cxx                                     |    1 -
 svtools/source/uno/unogridcolumnfacade.cxx                          |    2 --
 svtools/source/uno/wizard/unowizard.cxx                             |    4 ----
 svtools/source/uno/wizard/wizardpagecontroller.cxx                  |    2 --
 svx/source/accessibility/AccessibleFrameSelector.cxx                |    4 ----
 svx/source/form/filtnav.cxx                                         |    1 -
 svx/source/form/fmdpage.cxx                                         |    1 -
 svx/source/form/fmscriptingenv.cxx                                  |    1 -
 svx/source/form/fmvwimp.cxx                                         |    2 --
 svx/source/form/formcontrolfactory.cxx                              |    1 -
 svx/source/form/formcontroller.cxx                                  |    2 --
 svx/source/form/formcontrolling.cxx                                 |    1 -
 svx/source/form/formdispatchinterceptor.cxx                         |    1 -
 svx/source/form/legacyformcontroller.cxx                            |    2 --
 svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx            |    1 -
 sw/source/core/access/accpage.cxx                                   |    1 -
 sw/source/core/access/accpreview.cxx                                |    1 -
 sw/source/core/layout/paintfrm.cxx                                  |    4 ----
 sw/source/filter/xml/XMLRedlineImportHelper.cxx                     |    1 -
 toolkit/source/awt/animatedimagespeer.cxx                           |    2 --
 toolkit/source/awt/vclxtopwindow.cxx                                |    1 -
 toolkit/source/awt/vclxwindow.cxx                                   |    1 -
 toolkit/source/controls/grid/grideventforwarder.cxx                 |    1 -
 ucb/source/ucp/ext/ucpext_content.cxx                               |    4 ----
 ucb/source/ucp/ext/ucpext_datasupplier.cxx                          |    1 -
 ucb/source/ucp/ext/ucpext_provider.cxx                              |    1 -
 unotools/source/misc/closeveto.cxx                                  |    1 -
 unotools/source/misc/sharedunocomponent.cxx                         |    2 --
 unoxml/qa/unit/domtest.cxx                                          |    1 -
 vcl/source/control/throbber.cxx                                     |    1 -
 vcl/unx/gtk3/gtk3salprn-gtk.cxx                                     |    2 --
 writerperfect/source/calc/StarOfficeCalcImportFilter.cxx            |    1 -
 writerperfect/source/draw/QXPImportFilter.cxx                       |    1 -
 writerperfect/source/draw/StarOfficeDrawImportFilter.cxx            |    1 -
 writerperfect/source/draw/ZMFImportFilter.cxx                       |    1 -
 writerperfect/source/impress/KeynoteImportFilter.cxx                |    1 -
 writerperfect/source/impress/StarOfficePresentationImportFilter.cxx |    1 -
 writerperfect/source/writer/StarOfficeWriterImportFilter.cxx        |    1 -
 xmloff/source/chart/ColorPropertySet.cxx                            |    1 -
 xmloff/source/draw/animationimport.cxx                              |    1 -
 xmloff/source/script/XMLEventExport.cxx                             |    1 -
 xmloff/source/style/XMLConstantsPropertyHandler.cxx                 |    2 --
 xmloff/source/text/XMLAutoTextEventExport.cxx                       |    2 --
 xmloff/source/text/XMLAutoTextEventImport.cxx                       |    4 ----
 xmloff/source/text/XMLIndexBibliographyEntryContext.cxx             |    1 -
 xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx              |    1 -
 xmloff/source/xforms/SchemaRestrictionContext.cxx                   |    2 --
 xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx              |    2 --
 xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx       |    1 -
 91 files changed, 133 deletions(-)

New commits:
commit d3e1ada45439937e0836696963b9d30ad5447b2c
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Sun Mar 22 14:32:16 2020 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Mar 25 09:13:27 2020 +0100

    Remove unused using declarations in oox...xmlsecurity
    
    Found by:
    run-clang-tidy-10 -checks=-*,misc-unused-using-decls
    
    Change-Id: I3e95791e223ef01e140a6217e29a9efae428a784
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90876
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index 76633befd14d..0f5048722806 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -37,7 +37,6 @@ using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::awt;
 
 using ::std::vector;
-using ::std::find;
 
 #define FIXEDTEXT_SERVICENAME                   "com.sun.star.awt.UnoControlFixedText"
 #define FIXEDTEXT_MODELNAME                     "com.sun.star.awt.UnoControlFixedTextModel"
diff --git a/oox/source/core/fragmenthandler2.cxx b/oox/source/core/fragmenthandler2.cxx
index 3e6112820bad..a4855c1be8f0 100644
--- a/oox/source/core/fragmenthandler2.cxx
+++ b/oox/source/core/fragmenthandler2.cxx
@@ -29,8 +29,6 @@ using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::xml::sax;
 
-using ::com::sun::star::uno::Sequence;
-
 FragmentHandler2::FragmentHandler2( XmlFilterBase& rFilter, const OUString& rFragmentPath, bool bEnableTrimSpace ) :
     FragmentHandler( rFilter, rFragmentPath ),
     ContextHandler2Helper( bEnableTrimSpace )
diff --git a/oox/source/export/ColorPropertySet.cxx b/oox/source/export/ColorPropertySet.cxx
index 84f7da6a72f8..e2734a8e7d8e 100644
--- a/oox/source/export/ColorPropertySet.cxx
+++ b/oox/source/export/ColorPropertySet.cxx
@@ -30,7 +30,6 @@ using namespace ::com::sun::star::beans;
 
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::RuntimeException;
 
 namespace
 {
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index d21b8f0418b8..00fd23d01505 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -51,13 +51,9 @@ using ::com::sun::star::text::WritingMode;
 #include <oox/token/propertynames.hxx>
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::lang::IllegalArgumentException;
-using ::com::sun::star::lang::WrappedTargetException;
 using ::com::sun::star::beans::Property;
 using ::com::sun::star::beans::PropertyValue;
-using ::com::sun::star::beans::PropertyVetoException;
 using ::com::sun::star::beans::UnknownPropertyException;
 using ::com::sun::star::beans::XPropertyChangeListener;
 using ::com::sun::star::beans::XPropertySet;
diff --git a/package/source/zipapi/XBufferedThreadedStream.cxx b/package/source/zipapi/XBufferedThreadedStream.cxx
index aeeb6956304b..ceb5f6895ba1 100644
--- a/package/source/zipapi/XBufferedThreadedStream.cxx
+++ b/package/source/zipapi/XBufferedThreadedStream.cxx
@@ -13,7 +13,6 @@
 #include <sal/log.hxx>
 
 using namespace css::uno;
-using com::sun::star::packages::zip::ZipIOException;
 
 namespace {
 
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index 184e7e4b6f9d..1eb6b0e38428 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -57,7 +57,6 @@ using com::sun::star::uno::Sequence;
 using com::sun::star::uno::Reference;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::makeAny;
-using com::sun::star::uno::UNO_QUERY;
 using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::TypeDescription;
 using com::sun::star::uno::XComponentContext;
diff --git a/reportdesign/source/filter/xml/xmlTable.cxx b/reportdesign/source/filter/xml/xmlTable.cxx
index 8cb0c38771ba..06d03c996e86 100644
--- a/reportdesign/source/filter/xml/xmlTable.cxx
+++ b/reportdesign/source/filter/xml/xmlTable.cxx
@@ -48,7 +48,6 @@ namespace rptxml
     using namespace ::com::sun::star;
     using ::com::sun::star::uno::Reference;
     using namespace ::com::sun::star::xml::sax;
-    using ::com::sun::star::xml::sax::XAttributeList;
 
     static sal_Int16 lcl_getForceNewPageOption(const OUString& _sValue)
     {
diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx
index 5e6222b495f6..ee5c9f32952d 100644
--- a/sc/source/core/data/dpoutput.cxx
+++ b/sc/source/core/data/dpoutput.cxx
@@ -67,7 +67,6 @@ using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::sheet::DataPilotTablePositionData;
 using ::com::sun::star::sheet::DataPilotTableResultData;
-using ::com::sun::star::uno::makeAny;
 
 #define SC_DP_FRAME_INNER_BOLD      20
 #define SC_DP_FRAME_OUTER_BOLD      40
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index 4c2a189f6c20..01f50ea55805 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -59,7 +59,6 @@
 
 using namespace com::sun::star;
 using ::std::vector;
-using ::std::set;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::sheet::DataPilotFieldAutoShowInfo;
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx
index d0669aa97b90..c4efb37f29b5 100644
--- a/sc/source/core/tool/rangelst.cxx
+++ b/sc/source/core/tool/rangelst.cxx
@@ -31,7 +31,6 @@
 #include <memory>
 
 using ::std::vector;
-using ::std::advance;
 using ::std::find_if;
 using ::std::for_each;
 using ::formula::FormulaGrammar;
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index f0cb4cd2646f..be701d2489f3 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -55,7 +55,6 @@
 using namespace ::oox;
 
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::table::CellRangeAddress;
 using ::com::sun::star::sheet::XAreaLinks;
diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx
index 623aab35414e..0001fd9db7c7 100644
--- a/sc/source/filter/excel/xepivot.cxx
+++ b/sc/source/filter/excel/xepivot.cxx
@@ -53,7 +53,6 @@ using ::com::sun::star::sheet::DataPilotFieldOrientation_ROW;
 using ::com::sun::star::sheet::DataPilotFieldOrientation_COLUMN;
 using ::com::sun::star::sheet::DataPilotFieldOrientation_PAGE;
 using ::com::sun::star::sheet::DataPilotFieldOrientation_DATA;
-using ::com::sun::star::sheet::GeneralFunction;
 using ::com::sun::star::sheet::DataPilotFieldSortInfo;
 using ::com::sun::star::sheet::DataPilotFieldAutoShowInfo;
 using ::com::sun::star::sheet::DataPilotFieldLayoutInfo;
diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx
index d0f9df3d4fe1..d18ab7416aba 100644
--- a/sc/source/filter/excel/xlpivot.cxx
+++ b/sc/source/filter/excel/xlpivot.cxx
@@ -32,7 +32,6 @@
 #include <com/sun/star/sheet/DataPilotFieldReferenceType.hpp>
 #include <com/sun/star/sheet/DataPilotFieldReferenceItemType.hpp>
 
-using ::com::sun::star::sheet::GeneralFunction;
 using ::com::sun::star::sheet::DataPilotFieldOrientation;
 
 namespace ScDPSortMode = ::com::sun::star::sheet::DataPilotFieldSortMode;
diff --git a/sc/source/filter/oox/excelhandlers.cxx b/sc/source/filter/oox/excelhandlers.cxx
index 1e594b3ca4d6..ab39116b695b 100644
--- a/sc/source/filter/oox/excelhandlers.cxx
+++ b/sc/source/filter/oox/excelhandlers.cxx
@@ -21,7 +21,6 @@
 
 namespace oox::xls {
 
-using ::oox::core::FilterBase;
 using ::oox::core::FragmentHandler2;
 
 WorkbookFragmentBase::WorkbookFragmentBase(
diff --git a/sc/source/filter/xml/xmldpimp.cxx b/sc/source/filter/xml/xmldpimp.cxx
index 4ce22c4326ff..a9bc45030681 100644
--- a/sc/source/filter/xml/xmldpimp.cxx
+++ b/sc/source/filter/xml/xmldpimp.cxx
@@ -47,7 +47,6 @@
 using namespace com::sun::star;
 using namespace xmloff::token;
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::xml::sax::XAttributeList;
 
 ScXMLDataPilotTablesContext::ScXMLDataPilotTablesContext( ScXMLImport& rImport ) :
     ScXMLImportContext( rImport )
diff --git a/sc/source/filter/xml/xmlfilti.cxx b/sc/source/filter/xml/xmlfilti.cxx
index 771575822b67..de47d97910f8 100644
--- a/sc/source/filter/xml/xmlfilti.cxx
+++ b/sc/source/filter/xml/xmlfilti.cxx
@@ -34,7 +34,6 @@ using namespace com::sun::star;
 using namespace xmloff::token;
 
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::xml::sax::XAttributeList;
 
 ScXMLFilterContext::ConnStackItem::ConnStackItem(bool bOr) : mbOr(bOr), mnCondCount(0) {}
 
diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
index baf18888cbbf..eb701ca85cc2 100644
--- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
@@ -58,9 +58,7 @@ using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::XInterface;
-using ::com::sun::star::lang::DisposedException;
 using ::com::sun::star::lang::IndexOutOfBoundsException;
-using ::com::sun::star::lang::IllegalArgumentException;
 using ::com::sun::star::beans::PropertyValue;
 using namespace ::com::sun::star::accessibility;
 
diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx
index 6c40b685dc6f..fccc914de563 100644
--- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx
+++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx
@@ -51,7 +51,6 @@
 #include <com/sun/star/accessibility/XAccessibleText.hpp>
 
 using ::com::sun::star::lang::IndexOutOfBoundsException;
-using ::com::sun::star::uno::RuntimeException;
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::accessibility;
 
diff --git a/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx b/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx
index 3a3ee75f8569..48149e53d69c 100644
--- a/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx
+++ b/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx
@@ -38,7 +38,6 @@ using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::lang::IndexOutOfBoundsException;
-using ::com::sun::star::uno::RuntimeException;
 using ::std::for_each;
 
 namespace {
diff --git a/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx b/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx
index cf964847f54d..71b63fb76a70 100644
--- a/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx
+++ b/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx
@@ -32,7 +32,6 @@ using namespace ::com::sun::star::accessibility::AccessibleStateType;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::lang::IndexOutOfBoundsException;
-using ::com::sun::star::uno::RuntimeException;
 
 ScAccessibleFilterMenuItem::ScAccessibleFilterMenuItem(
     const Reference<XAccessible>& rxParent, ScMenuFloatingWindow* pWin, const OUString& rName, size_t nMenuPos) :
diff --git a/sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx b/sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx
index 9fdc7825ca92..da8cefdb04c2 100644
--- a/sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx
+++ b/sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx
@@ -27,7 +27,6 @@ using namespace ::com::sun::star;
 using namespace ::com::sun::star::accessibility;
 using ::com::sun::star::lang::IndexOutOfBoundsException;
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::RuntimeException;
 
 ScAccessibleFilterTopWindow::ScAccessibleFilterTopWindow(
     const Reference<XAccessible>& rxParent, ScCheckListMenuWindow* pWin, const OUString& rName) :
diff --git a/sc/source/ui/Accessibility/AccessibleGlobal.cxx b/sc/source/ui/Accessibility/AccessibleGlobal.cxx
index 472197382c1f..bb6e80931f68 100644
--- a/sc/source/ui/Accessibility/AccessibleGlobal.cxx
+++ b/sc/source/ui/Accessibility/AccessibleGlobal.cxx
@@ -21,9 +21,7 @@
 
 #include <comphelper/sequence.hxx>
 
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Sequence;
-using ::std::set;
 
 ScAccessibleStateSet::ScAccessibleStateSet()
 {
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index ce2137bf7fe4..927674911384 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -42,7 +42,6 @@ using namespace com::sun::star;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::accessibility::XAccessible;
 using ::com::sun::star::accessibility::XAccessibleContext;
-using ::std::vector;
 
 ScMenuFloatingWindow::MenuItemData::MenuItemData() :
     mbEnabled(true), mbSeparator(false),
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx
index 778d339aa4fb..53f229cd3ea1 100644
--- a/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/sc/source/ui/docshell/externalrefmgr.cxx
@@ -68,7 +68,6 @@
 using ::std::unique_ptr;
 using ::com::sun::star::uno::Any;
 using ::std::vector;
-using ::std::find;
 using ::std::find_if;
 using ::std::for_each;
 using ::std::distance;
diff --git a/sc/source/ui/docshell/macromgr.cxx b/sc/source/ui/docshell/macromgr.cxx
index 832dc35917b9..2cf9ad442fe8 100644
--- a/sc/source/ui/docshell/macromgr.cxx
+++ b/sc/source/ui/docshell/macromgr.cxx
@@ -29,7 +29,6 @@
 #include <com/sun/star/script/XLibraryContainer.hpp>
 
 using namespace ::com::sun::star;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Reference;
 using ::std::vector;
 using ::std::pair;
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx
index 5b831552b5b1..3b3ca6b9cf0d 100644
--- a/sc/source/ui/undo/undocell.cxx
+++ b/sc/source/ui/undo/undocell.cxx
@@ -41,8 +41,6 @@
 #include <chgtrack.hxx>
 #include <stringutil.hxx>
 
-using std::shared_ptr;
-
 namespace HelperNotifyChanges
 {
     static void NotifyIfChangesListeners(const ScDocShell& rDocShell, const ScAddress &rPos,
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index fa29ddfbbe36..cf09945119f2 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -84,7 +84,6 @@ using ::com::sun::star::container::XIndexAccess;
 using ::com::sun::star::container::XNameAccess;
 using ::com::sun::star::container::XNamed;
 
-using ::com::sun::star::beans::PropertyVetoException;
 using ::com::sun::star::beans::UnknownPropertyException;
 using ::com::sun::star::beans::XPropertyChangeListener;
 using ::com::sun::star::beans::XPropertySet;
@@ -94,7 +93,6 @@ using ::com::sun::star::beans::XVetoableChangeListener;
 using ::com::sun::star::lang::IllegalArgumentException;
 using ::com::sun::star::lang::IndexOutOfBoundsException;
 using ::com::sun::star::lang::NullPointerException;
-using ::com::sun::star::lang::WrappedTargetException;
 
 using ::com::sun::star::table::CellAddress;
 using ::com::sun::star::table::CellRangeAddress;
diff --git a/sc/source/ui/unoobj/warnpassword.cxx b/sc/source/ui/unoobj/warnpassword.cxx
index 36e86da19a0f..4346d8b86fde 100644
--- a/sc/source/ui/unoobj/warnpassword.cxx
+++ b/sc/source/ui/unoobj/warnpassword.cxx
@@ -26,7 +26,6 @@
 #include <svx/svxerr.hxx>
 #include <rtl/ref.hxx>
 
-using ::com::sun::star::uno::makeAny;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::XInterface;
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index f192dadac1e1..272c5fc31d97 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -82,7 +82,6 @@ using namespace ::com::sun::star::util;
 using namespace ::ppt;
 using ::com::sun::star::beans::XPropertySet;
 using ::com::sun::star::beans::XPropertySetInfo;
-using ::com::sun::star::container::XIndexAccess;
 using ::sax_fastparser::FSHelperPtr;
 using namespace oox::drawingml;
 using namespace oox::core;
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index abf16b9cb41c..39994f41f7ca 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -69,7 +69,6 @@
 #include <algorithm>
 #include <memory>
 
-using ::std::map;
 using ::com::sun::star::beans::NamedValue;
 using ::com::sun::star::container::XEnumerationAccess;
 using ::com::sun::star::container::XEnumeration;
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 5ed596de1b26..3c60f179b493 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -76,7 +76,6 @@ using namespace ::com::sun::star::animations;
 using namespace ::com::sun::star::presentation;
 
 using ::com::sun::star::uno::UNO_QUERY;
-using ::com::sun::star::uno::UNO_QUERY_THROW;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::makeAny;
 using ::com::sun::star::uno::Sequence;
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index 259a171e82e0..f16751c0085c 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -54,7 +54,6 @@
 using ::sd::framework::FrameworkHelper;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::frame::XFrame;
-using ::com::sun::star::uno::Sequence;
 
 namespace {
 
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx
index b1c5fb52fa0c..aef1594f5b1d 100644
--- a/sd/source/ui/slideshow/slideshowviewimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx
@@ -43,9 +43,7 @@
 
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::WeakReference;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Exception;
-using ::com::sun::star::presentation::XSlideShowView;
 
 using namespace ::com::sun::star;
 
diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx
index 84b66f19bc05..86c973336101 100644
--- a/sd/source/ui/unoidl/randomnode.cxx
+++ b/sd/source/ui/unoidl/randomnode.cxx
@@ -41,16 +41,12 @@ using ::osl::Mutex;
 using ::osl::Guard;
 
 using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::RuntimeException;
-using ::com::sun::star::uno::Exception;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::uno::XInterface;
 using ::com::sun::star::beans::NamedValue;
 using ::com::sun::star::lang::IllegalArgumentException;
-using ::com::sun::star::container::NoSuchElementException;
-using ::com::sun::star::lang::WrappedTargetException;
 using ::com::sun::star::container::XEnumeration;
 using ::com::sun::star::container::XEnumerationAccess;
 using ::com::sun::star::util::XCloneable;
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx
index 6d71dd5bcf08..52fe89fb072c 100644
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -74,7 +74,6 @@ using namespace ::com::sun::star;
 using namespace ::com::sun::star::presentation;
 using namespace ::com::sun::star::animations;
 
-using ::com::sun::star::uno::makeAny;
 using ::com::sun::star::uno::Any;
 using ::com::sun::star::drawing::XShape;
 
diff --git a/sfx2/source/doc/docstoragemodifylistener.cxx b/sfx2/source/doc/docstoragemodifylistener.cxx
index 66672dc04d86..5c68c2bb87a8 100644
--- a/sfx2/source/doc/docstoragemodifylistener.cxx
+++ b/sfx2/source/doc/docstoragemodifylistener.cxx
@@ -25,7 +25,6 @@ namespace sfx2
 {
 
 
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::lang::EventObject;
 
 
diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx
index e7d8ec80c887..47da49774c4d 100644
--- a/sfx2/source/doc/docundomanager.cxx
+++ b/sfx2/source/doc/docundomanager.cxx
@@ -42,7 +42,6 @@ namespace sfx2
     using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::document::XUndoAction;
-    using ::com::sun::star::lang::IllegalArgumentException;
     using ::com::sun::star::lang::NotInitializedException;
     using ::com::sun::star::document::XUndoManagerListener;
     using ::com::sun::star::document::XUndoManager;
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index ddc5d050da23..5868deb290f6 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -135,7 +135,6 @@ using ::com::sun::star::frame::XController;
 using ::com::sun::star::frame::XController2;
 using ::com::sun::star::lang::IllegalArgumentException;
 using ::com::sun::star::io::IOException;
-using ::com::sun::star::lang::WrappedTargetException;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::document::XDocumentRecovery;
 using ::com::sun::star::document::XUndoManager;
diff --git a/sfx2/source/doc/sfxmodelfactory.cxx b/sfx2/source/doc/sfxmodelfactory.cxx
index 838e948eacda..354df9db5450 100644
--- a/sfx2/source/doc/sfxmodelfactory.cxx
+++ b/sfx2/source/doc/sfxmodelfactory.cxx
@@ -40,8 +40,6 @@ namespace sfx2
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::XInterface;
     using ::com::sun::star::uno::UNO_QUERY;
-    using ::com::sun::star::uno::Exception;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::lang::XMultiServiceFactory;
     using ::com::sun::star::uno::Sequence;
diff --git a/shell/source/cmdmail/cmdmailmsg.cxx b/shell/source/cmdmail/cmdmailmsg.cxx
index 312d1ad8016c..bd8657577b75 100644
--- a/shell/source/cmdmail/cmdmailmsg.cxx
+++ b/shell/source/cmdmail/cmdmailmsg.cxx
@@ -19,8 +19,6 @@
 
 #include "cmdmailmsg.hxx"
 
-using com::sun::star::lang::IllegalArgumentException;
-using com::sun::star::lang::WrappedTargetException;
 using com::sun::star::container::NoSuchElementException;
 using com::sun::star::container::XNameAccess;
 using osl::MutexGuard;
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index a08e451e471d..b678fba83948 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -34,8 +34,6 @@
 #include <limits.h>
 #include <algorithm>
 
-using ::com::sun::star::uno::Exception;
-
 
 SfxRepeatTarget::~SfxRepeatTarget()
 {
diff --git a/svtools/source/uno/svtxgridcontrol.cxx b/svtools/source/uno/svtxgridcontrol.cxx
index c19137a313c4..91fd08ac18b3 100644
--- a/svtools/source/uno/svtxgridcontrol.cxx
+++ b/svtools/source/uno/svtxgridcontrol.cxx
@@ -36,7 +36,6 @@
 
 #include <vcl/svapp.hxx>
 
-using css::uno::RuntimeException;
 using css::uno::Reference;
 using css::uno::Exception;
 using css::uno::UNO_QUERY;
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx
index 9b1ffe41bf2a..244ee65498e9 100644
--- a/svtools/source/uno/unoevent.cxx
+++ b/svtools/source/uno/unoevent.cxx
@@ -30,7 +30,6 @@ using namespace css::uno;
 using css::container::NoSuchElementException;
 using css::container::XNameReplace;
 using css::lang::IllegalArgumentException;
-using css::lang::WrappedTargetException;
 using css::beans::PropertyValue;
 
 
diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx
index e73e4d958673..dfb291751e03 100644
--- a/svtools/source/uno/unogridcolumnfacade.cxx
+++ b/svtools/source/uno/unogridcolumnfacade.cxx
@@ -34,8 +34,6 @@ namespace svt::table
 
 
     using css::uno::Reference;
-    using css::uno::RuntimeException;
-    using css::uno::UNO_QUERY_THROW;
     using css::awt::grid::XGridColumn;
     using css::uno::Exception;
     using css::awt::grid::XGridColumnListener;
diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx
index 9155cccab320..fb4995c4a99f 100644
--- a/svtools/source/uno/wizard/unowizard.cxx
+++ b/svtools/source/uno/wizard/unowizard.cxx
@@ -47,13 +47,9 @@ namespace {
     using css::uno::Reference;
     using css::uno::XInterface;
     using css::uno::UNO_QUERY;
-    using css::uno::Exception;
-    using css::uno::RuntimeException;
     using css::uno::Any;
     using css::uno::Sequence;
-    using css::lang::XServiceInfo;
     using css::ui::dialogs::XWizard;
-    using css::lang::XInitialization;
     using css::beans::XPropertySetInfo;
     using css::uno::XComponentContext;
     using css::beans::Property;
diff --git a/svtools/source/uno/wizard/wizardpagecontroller.cxx b/svtools/source/uno/wizard/wizardpagecontroller.cxx
index ed988e20bd80..2790a0e57c73 100644
--- a/svtools/source/uno/wizard/wizardpagecontroller.cxx
+++ b/svtools/source/uno/wizard/wizardpagecontroller.cxx
@@ -32,12 +32,10 @@ namespace svt::uno
 
 
     using css::uno::Reference;
-    using css::uno::UNO_QUERY_THROW;
     using css::uno::UNO_SET_THROW;
     using css::uno::Exception;
     using css::ui::dialogs::XWizardController;
     using css::awt::XWindow;
-    using css::awt::XControl;
 
     using namespace ::com::sun::star;
 
diff --git a/svx/source/accessibility/AccessibleFrameSelector.cxx b/svx/source/accessibility/AccessibleFrameSelector.cxx
index 05b129e156ea..d367121e4bcf 100644
--- a/svx/source/accessibility/AccessibleFrameSelector.cxx
+++ b/svx/source/accessibility/AccessibleFrameSelector.cxx
@@ -32,13 +32,9 @@
 namespace svx::a11y {
 
 using ::com::sun::star::uno::Any;
-using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::RuntimeException;
-using ::com::sun::star::uno::XInterface;
-using ::com::sun::star::lang::Locale;
-using ::com::sun::star::lang::EventObject;
 
 using namespace ::com::sun::star::accessibility;
 
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index 4296f73f1a8d..3c6c04108ea2 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -81,7 +81,6 @@ namespace svxform
     using ::com::sun::star::form::runtime::XFilterControllerListener;
     using ::com::sun::star::form::runtime::FilterEvent;
     using ::com::sun::star::lang::EventObject;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::form::XForm;
     using ::com::sun::star::container::XChild;
     using ::com::sun::star::awt::XControl;
diff --git a/svx/source/form/fmdpage.cxx b/svx/source/form/fmdpage.cxx
index 510abf37d457..17ec9151ca09 100644
--- a/svx/source/form/fmdpage.cxx
+++ b/svx/source/form/fmdpage.cxx
@@ -25,7 +25,6 @@
 #include <cppuhelper/queryinterface.hxx>
 
 using ::com::sun::star::uno::Any;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::form::XFormsSupplier2;
 
 SvxFmDrawPage::SvxFmDrawPage( SdrPage* pInPage ) :
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx
index 1febf7077aa5..14374f12e874 100644
--- a/svx/source/form/fmscriptingenv.cxx
+++ b/svx/source/form/fmscriptingenv.cxx
@@ -67,7 +67,6 @@ namespace svxform
     using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Exception;
     using ::com::sun::star::uno::Sequence;
-    using ::com::sun::star::uno::XInterface;
     using ::com::sun::star::awt::XControl;
     using ::com::sun::star::beans::XPropertySet;
 
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx
index 000d27c2c951..c413dea2214d 100644
--- a/svx/source/form/fmvwimp.cxx
+++ b/svx/source/form/fmvwimp.cxx
@@ -88,7 +88,6 @@ using namespace ::dbtools;
 
     using namespace ::com::sun::star;
     using ::com::sun::star::uno::Exception;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::XInterface;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::uno::UNO_QUERY;
@@ -116,7 +115,6 @@ using namespace ::dbtools;
     using ::com::sun::star::form::XFormComponent;
     using ::com::sun::star::form::XForm;
     using ::com::sun::star::lang::IndexOutOfBoundsException;
-    using ::com::sun::star::lang::WrappedTargetException;
     using ::com::sun::star::container::XContainer;
     using ::com::sun::star::container::ContainerEvent;
     using ::com::sun::star::lang::EventObject;
diff --git a/svx/source/form/formcontrolfactory.cxx b/svx/source/form/formcontrolfactory.cxx
index 02a41bc866aa..3fd43e0c3b3b 100644
--- a/svx/source/form/formcontrolfactory.cxx
+++ b/svx/source/form/formcontrolfactory.cxx
@@ -63,7 +63,6 @@ namespace svxform
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::uno::makeAny;
     using ::com::sun::star::uno::Sequence;
-    using ::com::sun::star::uno::Type;
     using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::beans::XPropertySet;
     using ::com::sun::star::form::XFormComponent;
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 6bc3c9e144e6..f32789ceafd6 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -122,7 +122,6 @@ namespace svxform
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::beans::XPropertySetInfo;
     using ::com::sun::star::beans::PropertyValue;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::lang::IndexOutOfBoundsException;
     using ::com::sun::star::sdb::XInteractionSupplyParameters;
     using ::com::sun::star::awt::XTextComponent;
@@ -149,7 +148,6 @@ namespace svxform
     using ::com::sun::star::form::runtime::XFilterControllerListener;
     using ::com::sun::star::awt::XControlContainer;
     using ::com::sun::star::container::XIdentifierReplace;
-    using ::com::sun::star::lang::WrappedTargetException;
     using ::com::sun::star::form::XFormControllerListener;
     using ::com::sun::star::awt::XWindow;
     using ::com::sun::star::sdbc::XResultSet;
diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx
index a73c161488c8..7fffd84617da 100644
--- a/svx/source/form/formcontrolling.cxx
+++ b/svx/source/form/formcontrolling.cxx
@@ -52,7 +52,6 @@ namespace svx
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::beans::NamedValue;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::beans::XPropertySet;
     using ::com::sun::star::uno::UNO_QUERY_THROW;
     using ::com::sun::star::sdbc::SQLException;
diff --git a/svx/source/form/formdispatchinterceptor.cxx b/svx/source/form/formdispatchinterceptor.cxx
index 84396d02cf64..5bc0834cfa65 100644
--- a/svx/source/form/formdispatchinterceptor.cxx
+++ b/svx/source/form/formdispatchinterceptor.cxx
@@ -23,7 +23,6 @@ namespace svxform
 {
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::UNO_QUERY;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::frame::XDispatchProviderInterception;
     using ::com::sun::star::frame::XDispatchProviderInterceptor;
diff --git a/svx/source/form/legacyformcontroller.cxx b/svx/source/form/legacyformcontroller.cxx
index 0c72859d0945..94b2ae9834f0 100644
--- a/svx/source/form/legacyformcontroller.cxx
+++ b/svx/source/form/legacyformcontroller.cxx
@@ -36,8 +36,6 @@ namespace svxform
 
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::XInterface;
-    using ::com::sun::star::uno::Exception;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::lang::XMultiServiceFactory;
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
index d9d2dabc5b9d..6f9ecf61ce3b 100644
--- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
@@ -109,7 +109,6 @@ namespace sdr::contact {
     using ::com::sun::star::awt::XControl;
     using ::com::sun::star::awt::XControlModel;
     using ::com::sun::star::awt::XControlContainer;
-    using ::com::sun::star::awt::XWindow;
     using ::com::sun::star::awt::XWindow2;
     using ::com::sun::star::awt::XWindowListener;
     using ::com::sun::star::awt::PosSize::POSSIZE;
diff --git a/sw/source/core/access/accpage.cxx b/sw/source/core/access/accpage.cxx
index 54fae7d81186..39cf02b4b88f 100644
--- a/sw/source/core/access/accpage.cxx
+++ b/sw/source/core/access/accpage.cxx
@@ -30,7 +30,6 @@
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::accessibility;
 
-using uno::RuntimeException;
 using uno::Sequence;
 
 const char sImplementationName[] = "com.sun.star.comp.Writer.SwAccessiblePageView";
diff --git a/sw/source/core/access/accpreview.cxx b/sw/source/core/access/accpreview.cxx
index ded2788497f5..3465aae96408 100644
--- a/sw/source/core/access/accpreview.cxx
+++ b/sw/source/core/access/accpreview.cxx
@@ -24,7 +24,6 @@
 
 const char sImplementationName[] = "com.sun.star.comp.Writer.SwAccessibleDocumentPageView";
 
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Sequence;
 
 SwAccessiblePreview::SwAccessiblePreview(std::shared_ptr<SwAccessibleMap> const& pMap)
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index fb43bc87f831..f0e20a164c27 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -122,10 +122,6 @@
 
 using namespace ::editeng;
 using namespace ::com::sun::star;
-using ::drawinglayer::primitive2d::BorderLinePrimitive2D;
-using ::drawinglayer::primitive2d::BorderLine;
-using std::pair;
-using std::make_pair;
 
 namespace {
 
diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
index 82a3636f85fa..47e89d497abd 100644
--- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx
+++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
@@ -46,7 +46,6 @@ using namespace ::xmloff::token;
 
 using ::com::sun::star::text::XTextCursor;
 using ::com::sun::star::text::XTextRange;
-using ::com::sun::star::text::XText;
 using ::com::sun::star::text::XWordCursor;
 using ::com::sun::star::lang::XUnoTunnel;
 using ::com::sun::star::beans::XPropertySet;
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx
index d621d1658fa5..087ddb4d381e 100644
--- a/toolkit/source/awt/animatedimagespeer.cxx
+++ b/toolkit/source/awt/animatedimagespeer.cxx
@@ -49,10 +49,8 @@ namespace toolkit
     using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::XInterface;
-    using ::com::sun::star::uno::UNO_QUERY;
     using ::com::sun::star::uno::UNO_QUERY_THROW;
     using ::com::sun::star::uno::Exception;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::lang::EventObject;
diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx
index 485e4e02cfd4..e9fcd2450904 100644
--- a/toolkit/source/awt/vclxtopwindow.cxx
+++ b/toolkit/source/awt/vclxtopwindow.cxx
@@ -40,7 +40,6 @@
 #include <vcl/menu.hxx>
 #include <vcl/svapp.hxx>
 
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::Type;
 using ::com::sun::star::uno::Any;
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index 01ec82878f79..b1d1a13b711c 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -64,7 +64,6 @@ using namespace ::com::sun::star;
 
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::UNO_QUERY;
-using ::com::sun::star::uno::RuntimeException;
 using ::com::sun::star::lang::EventObject;
 using ::com::sun::star::awt::XWindowListener2;
 using ::com::sun::star::awt::XDockableWindowListener;
diff --git a/toolkit/source/controls/grid/grideventforwarder.cxx b/toolkit/source/controls/grid/grideventforwarder.cxx
index 9de7a9a56d1b..a8fa7810c85d 100644
--- a/toolkit/source/controls/grid/grideventforwarder.cxx
+++ b/toolkit/source/controls/grid/grideventforwarder.cxx
@@ -27,7 +27,6 @@ namespace toolkit
 
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::UNO_QUERY;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::awt::grid::GridDataEvent;
     using ::com::sun::star::container::ContainerEvent;
     using ::com::sun::star::lang::EventObject;
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index 2d445acc2a3e..44cc30f511f0 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -52,16 +52,13 @@ namespace ucb::ucp::ext
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::UNO_SET_THROW;
     using ::com::sun::star::uno::Exception;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Any;
     using ::com::sun::star::uno::makeAny;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::uno::XComponentContext;
     using ::com::sun::star::ucb::XContentIdentifier;
-    using ::com::sun::star::ucb::XContent;
     using ::com::sun::star::ucb::XCommandEnvironment;
     using ::com::sun::star::ucb::Command;
-    using ::com::sun::star::ucb::CommandAbortedException;
     using ::com::sun::star::beans::Property;
     using ::com::sun::star::lang::IllegalArgumentException;
     using ::com::sun::star::beans::PropertyValue;
@@ -69,7 +66,6 @@ namespace ucb::ucp::ext
     using ::com::sun::star::ucb::XDynamicResultSet;
     using ::com::sun::star::ucb::UnsupportedCommandException;
     using ::com::sun::star::sdbc::XRow;
-    using ::com::sun::star::beans::XPropertySet;
     using ::com::sun::star::beans::PropertyChangeEvent;
     using ::com::sun::star::lang::IllegalAccessException;
     using ::com::sun::star::ucb::CommandInfo;
diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx
index 92d78142bc7e..7de5fb09aa3d 100644
--- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx
+++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx
@@ -51,7 +51,6 @@ namespace ucb::ucp::ext
     using ::com::sun::star::ucb::XContentIdentifier;
     using ::com::sun::star::sdbc::XRow;
     using ::com::sun::star::ucb::IllegalIdentifierException;
-    using ::com::sun::star::ucb::ResultSetException;
     using ::com::sun::star::deployment::PackageInformationProvider;
     using ::com::sun::star::deployment::XPackageInformationProvider;
     using ::com::sun::star::sdbc::XResultSet;
diff --git a/ucb/source/ucp/ext/ucpext_provider.cxx b/ucb/source/ucp/ext/ucpext_provider.cxx
index 5af819c90f6f..de1bb15e4a46 100644
--- a/ucb/source/ucp/ext/ucpext_provider.cxx
+++ b/ucb/source/ucp/ext/ucpext_provider.cxx
@@ -32,7 +32,6 @@ namespace ucb::ucp::ext
 
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::XInterface;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::uno::Sequence;
     using ::com::sun::star::ucb::XContentIdentifier;
     using ::com::sun::star::ucb::IllegalIdentifierException;
diff --git a/unotools/source/misc/closeveto.cxx b/unotools/source/misc/closeveto.cxx
index 92ef895bf931..bf2cb83829b6 100644
--- a/unotools/source/misc/closeveto.cxx
+++ b/unotools/source/misc/closeveto.cxx
@@ -33,7 +33,6 @@ namespace utl
     using ::com::sun::star::uno::XInterface;
     using ::com::sun::star::uno::UNO_QUERY;
     using ::com::sun::star::uno::Exception;
-    using ::com::sun::star::uno::RuntimeException;
     using ::com::sun::star::util::XCloseable;
     using ::com::sun::star::util::XCloseListener;
     using ::com::sun::star::util::CloseVetoException;
diff --git a/unotools/source/misc/sharedunocomponent.cxx b/unotools/source/misc/sharedunocomponent.cxx
index 7580fdced945..789054104a31 100644
--- a/unotools/source/misc/sharedunocomponent.cxx
+++ b/unotools/source/misc/sharedunocomponent.cxx
@@ -35,8 +35,6 @@ namespace utl
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::uno::Exception;
     using ::com::sun::star::uno::UNO_QUERY;
-    using ::com::sun::star::uno::RuntimeException;
-    using ::com::sun::star::lang::XComponent;
     using ::com::sun::star::lang::EventObject;
     using ::com::sun::star::util::XCloseable;
     using ::com::sun::star::util::XCloseListener;
diff --git a/unoxml/qa/unit/domtest.cxx b/unoxml/qa/unit/domtest.cxx
index 907052267165..31909dba6e29 100644
--- a/unoxml/qa/unit/domtest.cxx
+++ b/unoxml/qa/unit/domtest.cxx
@@ -35,7 +35,6 @@ using namespace ::comphelper;
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
 using css::xml::dom::XDocumentBuilder;
-using css::xml::dom::DocumentBuilder;
 
 namespace
 {
diff --git a/vcl/source/control/throbber.cxx b/vcl/source/control/throbber.cxx
index 4f58d42fd3ca..850edf27bc40 100644
--- a/vcl/source/control/throbber.cxx
+++ b/vcl/source/control/throbber.cxx
@@ -36,7 +36,6 @@
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::graphic::XGraphic;
 using ::com::sun::star::graphic::XGraphicProvider;
-using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::uno::Exception;
 namespace ImageScaleMode = ::com::sun::star::awt::ImageScaleMode;
 
diff --git a/vcl/unx/gtk3/gtk3salprn-gtk.cxx b/vcl/unx/gtk3/gtk3salprn-gtk.cxx
index 24083dcbba46..6a3d007de73b 100644
--- a/vcl/unx/gtk3/gtk3salprn-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salprn-gtk.cxx
@@ -39,8 +39,6 @@ namespace view = com::sun::star::view;
 
 using vcl::unx::GtkPrintWrapper;
 
-using uno::UNO_QUERY;
-
 namespace {
 
 class GtkPrintDialog
diff --git a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx
index 5892586e885d..de7e30e44d5c 100644
--- a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx
+++ b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx
@@ -13,7 +13,6 @@
 
 #include "StarOfficeCalcImportFilter.hxx"
 
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::XComponentContext;
 using com::sun::star::uno::XInterface;
diff --git a/writerperfect/source/draw/QXPImportFilter.cxx b/writerperfect/source/draw/QXPImportFilter.cxx
index 6d81e4127285..c644ad470c69 100644
--- a/writerperfect/source/draw/QXPImportFilter.cxx
+++ b/writerperfect/source/draw/QXPImportFilter.cxx
@@ -13,7 +13,6 @@
 
 #include "QXPImportFilter.hxx"
 
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::XComponentContext;
 using com::sun::star::uno::XInterface;
diff --git a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx
index f09a107a0a6f..1c335bfc46d5 100644
--- a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx
+++ b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx
@@ -13,7 +13,6 @@
 
 #include "StarOfficeDrawImportFilter.hxx"
 
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::XComponentContext;
 using com::sun::star::uno::XInterface;
diff --git a/writerperfect/source/draw/ZMFImportFilter.cxx b/writerperfect/source/draw/ZMFImportFilter.cxx
index e06f6d3d8571..0d1f16c977ef 100644
--- a/writerperfect/source/draw/ZMFImportFilter.cxx
+++ b/writerperfect/source/draw/ZMFImportFilter.cxx
@@ -13,7 +13,6 @@
 
 #include "ZMFImportFilter.hxx"
 
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::XComponentContext;
 using com::sun::star::uno::XInterface;
diff --git a/writerperfect/source/impress/KeynoteImportFilter.cxx b/writerperfect/source/impress/KeynoteImportFilter.cxx
index 2b12e1a0e968..1e69e85dc883 100644
--- a/writerperfect/source/impress/KeynoteImportFilter.cxx
+++ b/writerperfect/source/impress/KeynoteImportFilter.cxx
@@ -26,7 +26,6 @@
 
 #include "KeynoteImportFilter.hxx"
 
-using writerperfect::DocumentHandler;
 using writerperfect::WPXSvInputStream;
 
 namespace beans = com::sun::star::beans;
diff --git a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx
index 7242c15e51d1..4f60f57e3d6c 100644
--- a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx
+++ b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx
@@ -13,7 +13,6 @@
 
 #include "StarOfficePresentationImportFilter.hxx"
 
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::XComponentContext;
 using com::sun::star::uno::XInterface;
diff --git a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
index f5357cf38451..849ede0d7a22 100644
--- a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
+++ b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
@@ -15,7 +15,6 @@
 
 #include "StarOfficeWriterImportFilter.hxx"
 
-using com::sun::star::uno::RuntimeException;
 using com::sun::star::uno::Sequence;
 using com::sun::star::uno::XComponentContext;
 using com::sun::star::uno::XInterface;
diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx
index 14ed004f4028..59ebd9ae6731 100644
--- a/xmloff/source/chart/ColorPropertySet.cxx
+++ b/xmloff/source/chart/ColorPropertySet.cxx
@@ -28,7 +28,6 @@ using namespace ::com::sun::star::beans;
 
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::RuntimeException;
 
 namespace
 {
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index c3bfc3486743..00e67ab20f20 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -86,7 +86,6 @@ using ::com::sun::star::text::XTextCursor;
 using ::com::sun::star::text::XTextRangeCompare;
 using ::com::sun::star::container::XEnumerationAccess;
 using ::com::sun::star::container::XEnumeration;
-using ::com::sun::star::lang::XMultiServiceFactory;
 using ::com::sun::star::lang::XInitialization;
 
 static OUString
diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx
index f4613dff311f..d9b2686e2b19 100644
--- a/xmloff/source/script/XMLEventExport.cxx
+++ b/xmloff/source/script/XMLEventExport.cxx
@@ -34,7 +34,6 @@
 
 using namespace ::com::sun::star::uno;
 
-using std::map;
 using ::com::sun::star::beans::PropertyValue;
 using ::com::sun::star::document::XEventsSupplier;
 using ::com::sun::star::container::XNameReplace;
diff --git a/xmloff/source/style/XMLConstantsPropertyHandler.cxx b/xmloff/source/style/XMLConstantsPropertyHandler.cxx
index 2fc464b5c064..73b880deb357 100644
--- a/xmloff/source/style/XMLConstantsPropertyHandler.cxx
+++ b/xmloff/source/style/XMLConstantsPropertyHandler.cxx
@@ -25,8 +25,6 @@
 
 using namespace ::com::sun::star::uno;
 
-using ::xmloff::token::XMLTokenEnum;
-
 XMLConstantsPropertyHandler::~XMLConstantsPropertyHandler()
 {
 }
diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx
index 7dda6ac4806b..7ae9eb5ca742 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.cxx
@@ -41,8 +41,6 @@
 using namespace ::com::sun::star;
 using namespace ::xmloff::token;
 
-using ::std::set;
-using ::com::sun::star::container::XNameAccess;
 using ::com::sun::star::container::XNameReplace;
 using ::com::sun::star::document::XEventsSupplier;
 using ::com::sun::star::lang::XMultiServiceFactory;
diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx
index 49a9dbdd31f6..9f74c41ce1b1 100644
--- a/xmloff/source/text/XMLAutoTextEventImport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventImport.cxx
@@ -37,13 +37,9 @@ using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
 using ::com::sun::star::uno::Type;
 using ::com::sun::star::uno::XInterface;
-using ::com::sun::star::uno::RuntimeException;
-using ::com::sun::star::uno::Exception;
-using ::com::sun::star::xml::sax::XAttributeList;
 using ::com::sun::star::document::XEventsSupplier;
 using ::com::sun::star::container::XNameReplace;
 using ::com::sun::star::lang::XMultiServiceFactory;
-using ::xmloff::token::IsXMLToken;
 using ::xmloff::token::XML_AUTO_TEXT_EVENTS;
 
 XMLAutoTextEventImport::XMLAutoTextEventImport(
diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx
index 7532b1edcfb6..bb52fc0ad317 100644
--- a/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx
@@ -35,7 +35,6 @@ using namespace ::xmloff::token;
 using ::com::sun::star::beans::PropertyValue;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::Any;
 using ::com::sun::star::xml::sax::XAttributeList;
 
 
diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx
index 6e5d11ad86a1..45bead4222cf 100644
--- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx
@@ -39,7 +39,6 @@ using namespace ::xmloff::token;
 using ::com::sun::star::beans::PropertyValue;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::Any;
 using ::com::sun::star::xml::sax::XAttributeList;
 
 
diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx
index f295dff5e3ea..cafaab50b16c 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.cxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx
@@ -46,11 +46,9 @@ using com::sun::star::uno::Reference;
 using com::sun::star::uno::Exception;
 using com::sun::star::uno::Any;
 using com::sun::star::uno::makeAny;
-using com::sun::star::uno::UNO_QUERY;
 using namespace com::sun::star;
 using com::sun::star::util::Duration;
 using com::sun::star::xml::sax::XAttributeList;
-using com::sun::star::beans::XPropertySet;
 using com::sun::star::xforms::XDataTypeRepository;
 using namespace xmloff::token;
 
diff --git a/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx
index 37602b6e03ce..5827c5f92272 100644
--- a/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx
@@ -33,8 +33,6 @@ using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno ;
 using namespace ::com::sun::star::security ;
 
-using ::com::sun::star::security::XCertificateExtension ;
-
 namespace {
     // Helper functions from nss/lib/certdb/genname.c
     int GetNamesLength(CERTGeneralName *names)
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
index 64caec48cce4..5b0291642999 100644
--- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
@@ -56,7 +56,6 @@ using namespace ::com::sun::star::security;
 using namespace com::sun::star;
 using namespace ::com::sun::star::uno ;
 using namespace ::com::sun::star::lang ;
-using ::com::sun::star::lang::XMultiServiceFactory ;
 
 using ::com::sun::star::xml::crypto::XSecurityEnvironment ;
 using ::com::sun::star::security::XCertificate ;


More information about the Libreoffice-commits mailing list