summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-03-29 21:45:08 +0100
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-04-03 19:03:25 +0200
commit6dc092045c0e8bb46c0f5e90f529a9285727f93f (patch)
treeed1ae65b355d69f030d9d66b808a2e124764576d /sd
parent1c9c748c71f7adff6b6ba1a893950c4ad3a4d1ff (diff)
tdf#146619 Drop unused 'using namespace' in: sd/
Change-Id: I7e48be1962d1e643c49c8cc0d6ca01ffbbb97429 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165567 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/console/PresenterPane.cxx1
-rw-r--r--sd/source/console/PresenterSpritePane.cxx1
-rw-r--r--sd/source/core/drawdoc.cxx1
-rw-r--r--sd/source/core/drawdoc4.cxx1
-rw-r--r--sd/source/core/sdpage2.cxx1
-rw-r--r--sd/source/filter/cgm/sdcgmfilter.cxx1
-rw-r--r--sd/source/filter/eppt/pptx-animations-cond.cxx1
-rw-r--r--sd/source/filter/grf/sdgrffilter.cxx1
-rw-r--r--sd/source/filter/html/htmlex.cxx3
-rw-r--r--sd/source/filter/xml/sdtransform.cxx2
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationShape.cxx1
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx6
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx3
-rw-r--r--sd/source/ui/app/sdxfer.cxx2
-rw-r--r--sd/source/ui/controller/slidelayoutcontroller.cxx1
-rw-r--r--sd/source/ui/dlg/present.cxx1
-rw-r--r--sd/source/ui/dlg/tpaction.cxx1
-rw-r--r--sd/source/ui/docshell/docshel3.cxx2
-rw-r--r--sd/source/ui/framework/module/DrawModule.cxx1
-rw-r--r--sd/source/ui/framework/module/ImpressModule.cxx1
-rw-r--r--sd/source/ui/framework/module/PresentationModule.cxx1
-rw-r--r--sd/source/ui/func/futext.cxx2
-rw-r--r--sd/source/ui/remotecontrol/Receiver.cxx1
-rw-r--r--sd/source/ui/remotecontrol/Server.cxx1
-rw-r--r--sd/source/ui/sidebar/MasterPageContainerFiller.cxx1
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.cxx2
-rw-r--r--sd/source/ui/sidebar/PanelFactory.cxx1
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx1
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx1
-rw-r--r--sd/source/ui/slidesorter/controller/SlideSorterController.cxx1
-rw-r--r--sd/source/ui/slidesorter/controller/SlsPageSelector.cxx1
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSlotManager.cxx1
-rw-r--r--sd/source/ui/slidesorter/view/SlideSorterView.cxx1
-rw-r--r--sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx2
-rw-r--r--sd/source/ui/table/TableDesignPane.cxx1
-rw-r--r--sd/source/ui/table/tablefunction.cxx5
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.cxx2
-rw-r--r--sd/source/ui/view/ViewShellImplementation.cxx3
-rw-r--r--sd/source/ui/view/drviews7.cxx1
-rw-r--r--sd/source/ui/view/drviewsf.cxx1
-rw-r--r--sd/source/ui/view/outlnvs2.cxx3
-rw-r--r--sd/source/ui/view/outlnvsh.cxx1
-rw-r--r--sd/source/ui/view/presvish.cxx4
-rw-r--r--sd/source/ui/view/sdview3.cxx1
44 files changed, 0 insertions, 71 deletions
diff --git a/sd/source/console/PresenterPane.cxx b/sd/source/console/PresenterPane.cxx
index ad35315438e8..41420843971f 100644
--- a/sd/source/console/PresenterPane.cxx
+++ b/sd/source/console/PresenterPane.cxx
@@ -24,7 +24,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::drawing::framework;
namespace sdext::presenter {
diff --git a/sd/source/console/PresenterSpritePane.cxx b/sd/source/console/PresenterSpritePane.cxx
index c90f250fb192..a1a2f7148168 100644
--- a/sd/source/console/PresenterSpritePane.cxx
+++ b/sd/source/console/PresenterSpritePane.cxx
@@ -23,7 +23,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::drawing::framework;
namespace sdext::presenter {
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index ea32e0f5e8d6..1ed511467158 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -87,7 +87,6 @@ namespace com::sun::star::linguistic2 { class XSpellChecker1; }
using namespace ::sd;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::linguistic2;
using namespace com::sun::star::xml::dom;
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index 8dc3a394b1e7..06129576da24 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -125,7 +125,6 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::style;
-using namespace ::com::sun::star::container;
using namespace ::com::sun::star::linguistic2;
using namespace ::sd;
diff --git a/sd/source/core/sdpage2.cxx b/sd/source/core/sdpage2.cxx
index 0195a5578acb..0e4840afc48d 100644
--- a/sd/source/core/sdpage2.cxx
+++ b/sd/source/core/sdpage2.cxx
@@ -49,7 +49,6 @@
using namespace ::sd;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::office;
/*************************************************************************
|*
diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx
index a605baec8d06..1a4ba2019177 100644
--- a/sd/source/filter/cgm/sdcgmfilter.cxx
+++ b/sd/source/filter/cgm/sdcgmfilter.cxx
@@ -35,7 +35,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::task;
-using namespace ::com::sun::star::frame;
SdCGMFilter::SdCGMFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell ) :
SdFilter( rMedium, rDocShell )
diff --git a/sd/source/filter/eppt/pptx-animations-cond.cxx b/sd/source/filter/eppt/pptx-animations-cond.cxx
index a05dd55918ca..ba2dd1da1546 100644
--- a/sd/source/filter/eppt/pptx-animations-cond.cxx
+++ b/sd/source/filter/eppt/pptx-animations-cond.cxx
@@ -15,7 +15,6 @@
#include "pptx-animations-cond.hxx"
using namespace ::com::sun::star::animations;
-using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::uno;
namespace
diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx
index 36594fbcd588..c276c28c3ab0 100644
--- a/sd/source/filter/grf/sdgrffilter.cxx
+++ b/sd/source/filter/grf/sdgrffilter.cxx
@@ -58,7 +58,6 @@ using namespace ::com::sun::star::graphic;
using namespace ::com::sun::star::io;
using namespace ::com::sun::star::ucb;
using namespace com::sun::star::ui::dialogs;
-using namespace ::sfx2;
namespace {
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 5582a415c1d0..c076e3c9c2a9 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -60,9 +60,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::document;
using namespace sdr::table;
diff --git a/sd/source/filter/xml/sdtransform.cxx b/sd/source/filter/xml/sdtransform.cxx
index b69b60a11371..50237d72b67f 100644
--- a/sd/source/filter/xml/sdtransform.cxx
+++ b/sd/source/filter/xml/sdtransform.cxx
@@ -32,8 +32,6 @@
#include <drawdoc.hxx>
#include "sdtransform.hxx"
-using namespace ::com::sun::star::style;
-
namespace {
class SdTransformOOo2xDocument
diff --git a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
index e4afe7e9a243..4a963155e6e3 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
@@ -28,7 +28,6 @@
#include <com/sun/star/drawing/XShape.hpp>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
namespace accessibility
{
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index ed16758d4baf..8a844e8dc118 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -80,15 +80,9 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::document;
using namespace ::com::sun::star::geometry;
-using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::text;
-using namespace ::com::sun::star::view;
-using namespace ::com::sun::star::style;
-using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::ui;
-using namespace ::com::sun::star::task;
using namespace ::com::sun::star::office;
namespace sd {
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx
index 6bea2492725e..8147cedef374 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -49,9 +49,6 @@
#include <drawdoc.hxx>
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::drawing;
-using namespace ::com::sun::star::office;
using namespace ::com::sun::star::geometry;
namespace sd
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index 065459e5d7ff..d411d4260284 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -66,11 +66,9 @@
#include <vcl/svapp.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::io;
using namespace ::com::sun::star::datatransfer;
-using namespace ::com::sun::star::datatransfer::clipboard;
constexpr sal_uInt32 SDTRANSFER_OBJECTTYPE_DRAWMODEL = 1;
constexpr sal_uInt32 SDTRANSFER_OBJECTTYPE_DRAWOLE = 2;
diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx
index aecd1d93db8b..27b238de3e70 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.cxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.cxx
@@ -41,7 +41,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::beans;
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx
index b4458241e392..d3e238b7bd3d 100644
--- a/sd/source/ui/dlg/present.cxx
+++ b/sd/source/ui/dlg/present.cxx
@@ -33,7 +33,6 @@
#include <customshowlist.hxx>
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
namespace
{
diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx
index e778d5533f4c..f29a6cf7764b 100644
--- a/sd/source/ui/dlg/tpaction.cxx
+++ b/sd/source/ui/dlg/tpaction.cxx
@@ -59,7 +59,6 @@
using namespace ::com::sun::star;
using namespace com::sun::star::uno;
-using namespace com::sun::star::lang;
#define DOCUMENT_TOKEN '#'
diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx
index f62e424cf3be..aa99dc76b2a4 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -49,8 +49,6 @@
#include <memory>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::uno;
namespace sd {
diff --git a/sd/source/ui/framework/module/DrawModule.cxx b/sd/source/ui/framework/module/DrawModule.cxx
index aaa2d90bb38a..e24dd7495986 100644
--- a/sd/source/ui/framework/module/DrawModule.cxx
+++ b/sd/source/ui/framework/module/DrawModule.cxx
@@ -26,7 +26,6 @@
#include <DrawController.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
namespace sd::framework
{
diff --git a/sd/source/ui/framework/module/ImpressModule.cxx b/sd/source/ui/framework/module/ImpressModule.cxx
index f89212e4a0a8..03c393e29ec4 100644
--- a/sd/source/ui/framework/module/ImpressModule.cxx
+++ b/sd/source/ui/framework/module/ImpressModule.cxx
@@ -28,7 +28,6 @@
#include <DrawController.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
namespace sd::framework {
diff --git a/sd/source/ui/framework/module/PresentationModule.cxx b/sd/source/ui/framework/module/PresentationModule.cxx
index c1ff16159d68..9b8f96915642 100644
--- a/sd/source/ui/framework/module/PresentationModule.cxx
+++ b/sd/source/ui/framework/module/PresentationModule.cxx
@@ -22,7 +22,6 @@
#include "CenterViewFocusModule.hxx"
using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
namespace sd::framework
{
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index 11ca800e6844..541db2953b47 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -67,8 +67,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::linguistic2;
namespace sd {
diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx
index 0846f5bbbe94..b4a10c70bdef 100644
--- a/sd/source/ui/remotecontrol/Receiver.cxx
+++ b/sd/source/ui/remotecontrol/Receiver.cxx
@@ -20,7 +20,6 @@
#include <comphelper/diagnose_ex.hxx>
using namespace sd;
-using namespace ::osl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx
index 928f4ef7fc6a..d20a14513e83 100644
--- a/sd/source/ui/remotecontrol/Server.cxx
+++ b/sd/source/ui/remotecontrol/Server.cxx
@@ -38,7 +38,6 @@
using namespace sd;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
using namespace ::osl;
diff --git a/sd/source/ui/sidebar/MasterPageContainerFiller.cxx b/sd/source/ui/sidebar/MasterPageContainerFiller.cxx
index 3568d9c71529..61fdfe961d73 100644
--- a/sd/source/ui/sidebar/MasterPageContainerFiller.cxx
+++ b/sd/source/ui/sidebar/MasterPageContainerFiller.cxx
@@ -24,7 +24,6 @@
#include <TemplateScanner.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
namespace sd::sidebar {
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx b/sd/source/ui/sidebar/MasterPagesSelector.cxx
index 5be2e73cd091..776426158af8 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.cxx
@@ -41,8 +41,6 @@
#include <sfx2/sidebar/Theme.hxx>
#include <memory>
-using namespace ::com::sun::star::text;
-
namespace sd::sidebar {
/** menu entry that is executed as default action when the left mouse button is
diff --git a/sd/source/ui/sidebar/PanelFactory.cxx b/sd/source/ui/sidebar/PanelFactory.cxx
index 1e39b2ee9c79..e71cd48a8c1b 100644
--- a/sd/source/ui/sidebar/PanelFactory.cxx
+++ b/sd/source/ui/sidebar/PanelFactory.cxx
@@ -40,7 +40,6 @@
using namespace css;
using namespace css::uno;
-using namespace ::sd::framework;
namespace sd::sidebar {
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index 279534e0030e..c25f0114c876 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -74,7 +74,6 @@ using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::animations;
-using namespace ::com::sun::star::drawing::framework;
namespace {
/** This local version of the work window overrides DataChanged() so that it
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 74d9ac4b0e6f..7c05da952c5e 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -108,7 +108,6 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::document;
using namespace ::com::sun::star::presentation;
using namespace ::com::sun::star::beans;
diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
index 4a0328e3d415..43c8ec30ee3a 100644
--- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
+++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
@@ -77,7 +77,6 @@ using namespace ::com::sun::star::uno;
using namespace ::sd::slidesorter::model;
using namespace ::sd::slidesorter::view;
using namespace ::sd::slidesorter::controller;
-using namespace ::basegfx;
namespace sd::slidesorter::controller {
diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
index f25374e8ac80..eac289090ae3 100644
--- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
@@ -35,7 +35,6 @@
#include <memory>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
using namespace ::sd::slidesorter::model;
using namespace ::sd::slidesorter::view;
diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
index 68097d53c13c..8c64617ee1d2 100644
--- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
@@ -77,7 +77,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
namespace sd::slidesorter::controller {
diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
index d15b2137451a..051d375b43c7 100644
--- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx
+++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
@@ -55,7 +55,6 @@
#endif
using namespace ::sd::slidesorter::model;
-using namespace ::drawinglayer::primitive2d;
namespace sd::slidesorter::view {
diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
index 26131a8cd939..8cd6d3e87cc9 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
@@ -34,8 +34,6 @@
#include <osl/diagnose.h>
#include <memory>
-using namespace ::drawinglayer::primitive2d;
-
namespace sd::slidesorter::view {
//===== PageObjectPainter =====================================================
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx
index 7c5154a0e1db..d84e37bb9c63 100644
--- a/sd/source/ui/table/TableDesignPane.cxx
+++ b/sd/source/ui/table/TableDesignPane.cxx
@@ -76,7 +76,6 @@ using namespace ::com::sun::star::view;
using namespace ::com::sun::star::style;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::ui;
namespace sd {
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx
index 67196e864b39..1277a712426a 100644
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -51,12 +51,7 @@ using namespace ::sd;
using namespace sdr::table;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::util;
using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::drawing;
-using namespace ::com::sun::star::linguistic2;
namespace sd
{
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
index 5d3ee2d6d696..b5a3e4a1b6af 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -58,8 +58,6 @@ using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
-using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::document;
using namespace ::com::sun::star::beans;
diff --git a/sd/source/ui/view/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx
index c76de5a513b6..27d003cd0546 100644
--- a/sd/source/ui/view/ViewShellImplementation.cxx
+++ b/sd/source/ui/view/ViewShellImplementation.cxx
@@ -50,9 +50,6 @@
#include <com/sun/star/drawing/framework/XControllerManager.hpp>
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::drawing::framework;
-
namespace sd {
ViewShell::Implementation::Implementation (ViewShell& rViewShell)
diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx
index c9aeab96349b..42adc21e3ba1 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -90,7 +90,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::linguistic2;
/** Create a list of clipboard formats that are supported both from the
diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx
index 2d6d35913e6a..a7d3866d60e9 100644
--- a/sd/source/ui/view/drviewsf.cxx
+++ b/sd/source/ui/view/drviewsf.cxx
@@ -64,7 +64,6 @@
#include <svx/nbdtmg.hxx>
#include <memory>
-using namespace com::sun::star::drawing;
using namespace svx::sidebar;
using namespace ::com::sun::star;
diff --git a/sd/source/ui/view/outlnvs2.cxx b/sd/source/ui/view/outlnvs2.cxx
index 003a4c1f927a..7cdbfa094f64 100644
--- a/sd/source/ui/view/outlnvs2.cxx
+++ b/sd/source/ui/view/outlnvs2.cxx
@@ -56,9 +56,6 @@
#include <slideshow.hxx>
#include <memory>
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-
namespace sd {
/************************************************************************/
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index b234f8bca0e2..1f485581afa6 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -90,7 +90,6 @@ using namespace sd;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::linguistic2;
namespace sd {
diff --git a/sd/source/ui/view/presvish.cxx b/sd/source/ui/view/presvish.cxx
index 34a789f4dd18..0b226438fdeb 100644
--- a/sd/source/ui/view/presvish.cxx
+++ b/sd/source/ui/view/presvish.cxx
@@ -39,10 +39,6 @@
using namespace sd;
#include <sdslots.hxx>
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::beans;
-
namespace sd {
SFX_IMPL_INTERFACE(PresentationViewShell, DrawViewShell)
diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx
index 16947c001d72..c14010708079 100644
--- a/sd/source/ui/view/sdview3.cxx
+++ b/sd/source/ui/view/sdview3.cxx
@@ -77,7 +77,6 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::io;
using namespace ::com::sun::star::datatransfer;
-using namespace ::com::sun::star::datatransfer::clipboard;
namespace sd {