summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-03-29 14:09:14 +0100
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-04-03 08:50:52 +0200
commit704e71b9d13054a7e21a037663de4feacae2ef25 (patch)
tree1507917fd9feb7c78b6ef44533316ce90dfd56e5 /svx
parentf2482fd96eff00b806fae385096531f63f5f2bf5 (diff)
tdf#146619 Drop unused 'using namespace' in: svx/
Change-Id: Ic8b925a3ec55166a9d5da05827d2cb335943b665 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165542 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/dlgctrl.cxx1
-rw-r--r--svx/source/dialog/fntctrl.cxx3
-rw-r--r--svx/source/dialog/searchcharmap.cxx2
-rw-r--r--svx/source/dialog/srchdlg.cxx2
-rw-r--r--svx/source/fmcomp/dbaexchange.cxx1
-rw-r--r--svx/source/fmcomp/dbaobjectex.cxx2
-rw-r--r--svx/source/form/dataaccessdescriptor.cxx1
-rw-r--r--svx/source/form/fmdocumentclassification.cxx1
-rw-r--r--svx/source/form/fmobj.cxx2
-rw-r--r--svx/source/form/fmshell.cxx1
-rw-r--r--svx/source/form/fmtextcontrolshell.cxx1
-rw-r--r--svx/source/form/fmtools.cxx4
-rw-r--r--svx/source/form/fmview.cxx3
-rw-r--r--svx/source/form/navigatortreemodel.cxx3
-rw-r--r--svx/source/form/sdbdatacolumn.cxx2
-rw-r--r--svx/source/form/sqlparserclient.cxx2
-rw-r--r--svx/source/sidebar/media/MediaPlaybackPanel.hxx1
-rw-r--r--svx/source/sidebar/nbdtmg.cxx1
-rw-r--r--svx/source/table/accessiblecell.cxx1
-rw-r--r--svx/source/table/accessibletableshape.cxx2
-rw-r--r--svx/source/table/cell.cxx1
-rw-r--r--svx/source/table/cellrange.cxx1
-rw-r--r--svx/source/table/tablecolumns.cxx1
-rw-r--r--svx/source/table/tablelayouter.cxx1
-rw-r--r--svx/source/table/tablerows.cxx1
-rw-r--r--svx/source/table/tableundo.cxx1
-rw-r--r--svx/source/tbxctrls/extrusioncontrols.cxx1
-rw-r--r--svx/source/tbxctrls/fillctrl.cxx2
-rw-r--r--svx/source/tbxctrls/fontworkgallery.cxx1
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx2
-rw-r--r--svx/source/tbxctrls/itemwin.cxx1
-rw-r--r--svx/source/tbxctrls/linectrl.cxx1
-rw-r--r--svx/source/tbxctrls/linewidthctrl.cxx5
-rw-r--r--svx/source/toolbars/extrusionbar.cxx1
-rw-r--r--svx/source/toolbars/fontworkbar.cxx1
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx1
-rw-r--r--svx/source/unodraw/tableshape.cxx3
-rw-r--r--svx/source/unodraw/unoshap2.cxx1
-rw-r--r--svx/source/unodraw/unoshap4.cxx1
-rw-r--r--svx/source/unodraw/unoshape.cxx1
-rw-r--r--svx/source/xml/xmleohlp.cxx1
-rw-r--r--svx/source/xml/xmlxtimp.cxx1
42 files changed, 0 insertions, 66 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index 456a369fcd16..d68a68faa4d3 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -48,7 +48,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::accessibility;
// Control for display and selection of the corner points and
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx
index b0723c8e65c1..ad9c5fc62c49 100644
--- a/svx/source/dialog/fntctrl.cxx
+++ b/svx/source/dialog/fntctrl.cxx
@@ -66,9 +66,6 @@
//an arbitrary number of characters
#define TEXT_WIDTH 80
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
-
// small helper functions to set fonts
diff --git a/svx/source/dialog/searchcharmap.cxx b/svx/source/dialog/searchcharmap.cxx
index 7284bfd0874b..c1c289d6366d 100644
--- a/svx/source/dialog/searchcharmap.cxx
+++ b/svx/source/dialog/searchcharmap.cxx
@@ -31,8 +31,6 @@
#include <rtl/ustrbuf.hxx>
-using namespace ::com::sun::star::accessibility;
-using namespace ::com::sun::star::uno;
using namespace ::com::sun::star;
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 93d593d8729f..481124e3c963 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -76,9 +76,7 @@
#include <svx/xdef.hxx>
#include <officecfg/Office/Common.hxx>
-using namespace com::sun::star::i18n;
using namespace com::sun::star::uno;
-using namespace com::sun::star::accessibility;
using namespace com::sun::star;
using namespace comphelper;
diff --git a/svx/source/fmcomp/dbaexchange.cxx b/svx/source/fmcomp/dbaexchange.cxx
index 904740e38877..8b2c869fd611 100644
--- a/svx/source/fmcomp/dbaexchange.cxx
+++ b/svx/source/fmcomp/dbaexchange.cxx
@@ -38,7 +38,6 @@ namespace svx
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::sdb;
using namespace ::com::sun::star::sdbc;
- using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::datatransfer;
diff --git a/svx/source/fmcomp/dbaobjectex.cxx b/svx/source/fmcomp/dbaobjectex.cxx
index e3d22d2c35d1..0f0f97c0ba70 100644
--- a/svx/source/fmcomp/dbaobjectex.cxx
+++ b/svx/source/fmcomp/dbaobjectex.cxx
@@ -32,8 +32,6 @@ namespace svx
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
- using namespace ::com::sun::star::sdb;
- using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::ucb;
using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::container;
diff --git a/svx/source/form/dataaccessdescriptor.cxx b/svx/source/form/dataaccessdescriptor.cxx
index 78538fbebb16..99d1e73fe762 100644
--- a/svx/source/form/dataaccessdescriptor.cxx
+++ b/svx/source/form/dataaccessdescriptor.cxx
@@ -29,7 +29,6 @@ namespace svx
{
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
- using namespace ::com::sun::star::ucb;
typedef std::pair<OUString const, DataAccessDescriptorProperty> PropertyMapEntry;
diff --git a/svx/source/form/fmdocumentclassification.cxx b/svx/source/form/fmdocumentclassification.cxx
index 4878403fd2cc..cb3a172b569a 100644
--- a/svx/source/form/fmdocumentclassification.cxx
+++ b/svx/source/form/fmdocumentclassification.cxx
@@ -69,7 +69,6 @@ namespace svxform
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::lang;
- using namespace ::com::sun::star::xforms;
using namespace ::com::sun::star::container;
diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx
index 029b0f37e10a..8e0844e6a87f 100644
--- a/svx/source/form/fmobj.cxx
+++ b/svx/source/form/fmobj.cxx
@@ -39,11 +39,9 @@
#include <tools/debug.hxx>
#include <comphelper/diagnose_ex.hxx>
-using namespace ::com::sun::star::io;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::util;
using namespace ::com::sun::star::form;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::script;
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 423bbb7c25fc..fdffd2deeddd 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -113,7 +113,6 @@ sal_uInt16 const ControllerSlotMap[] = // slots of the controller
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::sdbc;
-using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::form;
using namespace ::com::sun::star::form::runtime;
diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx
index 33915ccf936d..7c2029e00ae2 100644
--- a/svx/source/form/fmtextcontrolshell.cxx
+++ b/svx/source/form/fmtextcontrolshell.cxx
@@ -75,7 +75,6 @@ namespace svx
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
- using namespace ::com::sun::star::container;
typedef sal_uInt16 WhichId;
diff --git a/svx/source/form/fmtools.cxx b/svx/source/form/fmtools.cxx
index cefb5ce5153f..43084beb60ef 100644
--- a/svx/source/form/fmtools.cxx
+++ b/svx/source/form/fmtools.cxx
@@ -44,7 +44,6 @@
#include <comphelper/diagnose_ex.hxx>
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::util;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::beans;
@@ -53,11 +52,8 @@ using namespace ::com::sun::star::ui::dialogs;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdb;
-using namespace ::com::sun::star::task;
-using namespace ::com::sun::star::form;
using namespace ::svxform;
-
namespace
{
bool lcl_shouldDisplayError( const Any& _rError )
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index 8267c334bd6f..9e66ade17078 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -56,10 +56,7 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::sdbc;
-using namespace ::com::sun::star::sdb;
using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::container;
using namespace ::com::sun::star::form;
using namespace ::com::sun::star::util;
using namespace ::svxform;
diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx
index 5fae42901de2..2311c22c30bb 100644
--- a/svx/source/form/navigatortreemodel.cxx
+++ b/svx/source/form/navigatortreemodel.cxx
@@ -46,10 +46,7 @@ namespace svxform
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::form;
- using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::container;
- using namespace ::com::sun::star::script;
- using namespace ::com::sun::star::sdb;
OFormComponentObserver::OFormComponentObserver(NavigatorTreeModel* _pModel)
:m_pNavModel(_pModel)
diff --git a/svx/source/form/sdbdatacolumn.cxx b/svx/source/form/sdbdatacolumn.cxx
index 19a7fd016da5..e46567ef2aba 100644
--- a/svx/source/form/sdbdatacolumn.cxx
+++ b/svx/source/form/sdbdatacolumn.cxx
@@ -25,10 +25,8 @@ namespace svxform
using namespace ::com::sun::star::uno;
- using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::sdbc;
- using namespace ::com::sun::star::util;
using namespace ::com::sun::star::io;
using namespace ::com::sun::star::container;
diff --git a/svx/source/form/sqlparserclient.cxx b/svx/source/form/sqlparserclient.cxx
index 232f0418ddf6..eb1606275237 100644
--- a/svx/source/form/sqlparserclient.cxx
+++ b/svx/source/form/sqlparserclient.cxx
@@ -21,13 +21,11 @@
#include <connectivity/sqlparse.hxx>
-using namespace ::dbtools;
using namespace ::connectivity;
namespace svxform
{
using namespace ::com::sun::star::uno;
- using namespace ::com::sun::star::lang;
OSQLParserClient::OSQLParserClient(const Reference< XComponentContext >& rxContext)
: m_pParser(std::make_shared<OSQLParser>(rxContext, getParseContext()))
diff --git a/svx/source/sidebar/media/MediaPlaybackPanel.hxx b/svx/source/sidebar/media/MediaPlaybackPanel.hxx
index b85f387920e9..1cd5c6faa9a7 100644
--- a/svx/source/sidebar/media/MediaPlaybackPanel.hxx
+++ b/svx/source/sidebar/media/MediaPlaybackPanel.hxx
@@ -28,7 +28,6 @@
#include <vcl/idle.hxx>
using namespace css;
-using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
namespace svx::sidebar {
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx
index d86b80fa7f88..ced78fe6bc61 100644
--- a/svx/source/sidebar/nbdtmg.cxx
+++ b/svx/source/sidebar/nbdtmg.cxx
@@ -56,7 +56,6 @@ using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
using namespace com::sun::star::text;
using namespace com::sun::star::container;
-using namespace com::sun::star::style;
namespace svx::sidebar {
diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx
index 19bb8961c8a7..fd1f78684e99 100644
--- a/svx/source/table/accessiblecell.cxx
+++ b/svx/source/table/accessiblecell.cxx
@@ -46,7 +46,6 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::container;
namespace accessibility {
diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx
index f1cedcd3a0ca..df48ec55c9d4 100644
--- a/svx/source/table/accessibletableshape.cxx
+++ b/svx/source/table/accessibletableshape.cxx
@@ -48,9 +48,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::table;
-using namespace ::com::sun::star::container;
namespace accessibility
{
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index 0c4c4baa5dfb..5fffb53fa874 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -72,7 +72,6 @@ using namespace ::com::sun::star::text;
using namespace ::com::sun::star::table;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::style;
-using namespace ::com::sun::star::container;
static const SvxItemPropertySet* ImplGetSvxCellPropertySet()
diff --git a/svx/source/table/cellrange.cxx b/svx/source/table/cellrange.cxx
index 1a6c039dcfd2..c82103ab72cd 100644
--- a/svx/source/table/cellrange.cxx
+++ b/svx/source/table/cellrange.cxx
@@ -27,7 +27,6 @@
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::container;
using namespace ::com::sun::star::table;
diff --git a/svx/source/table/tablecolumns.cxx b/svx/source/table/tablecolumns.cxx
index 02796648bfb1..237264f7d220 100644
--- a/svx/source/table/tablecolumns.cxx
+++ b/svx/source/table/tablecolumns.cxx
@@ -29,7 +29,6 @@
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::container;
using namespace ::com::sun::star::table;
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx
index 5a64f209a2ec..275b7705c808 100644
--- a/svx/source/table/tablelayouter.cxx
+++ b/svx/source/table/tablelayouter.cxx
@@ -36,7 +36,6 @@
using ::editeng::SvxBorderLine;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::table;
diff --git a/svx/source/table/tablerows.cxx b/svx/source/table/tablerows.cxx
index b3a93c5c1192..2af4a08b4a81 100644
--- a/svx/source/table/tablerows.cxx
+++ b/svx/source/table/tablerows.cxx
@@ -28,7 +28,6 @@
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::container;
using namespace ::com::sun::star::table;
diff --git a/svx/source/table/tableundo.cxx b/svx/source/table/tableundo.cxx
index 060cd2ae4f6f..754c06482759 100644
--- a/svx/source/table/tableundo.cxx
+++ b/svx/source/table/tableundo.cxx
@@ -29,7 +29,6 @@
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::table;
namespace sdr::table {
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index 12a10a234c85..99cb6ec7808f 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -34,7 +34,6 @@
#include <bitmaps.hlst>
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::graphic;
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx
index 5e860b3de851..e044055e8904 100644
--- a/svx/source/tbxctrls/fillctrl.cxx
+++ b/svx/source/tbxctrls/fillctrl.cxx
@@ -46,8 +46,6 @@ constexpr OUString TMP_STR_END = u"]"_ustr;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::lang;
namespace {
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx
index 9b3ea03868d9..2f4e55037229 100644
--- a/svx/source/tbxctrls/fontworkgallery.cxx
+++ b/svx/source/tbxctrls/fontworkgallery.cxx
@@ -53,7 +53,6 @@
#include <svx/dialmgr.hxx>
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
namespace svx
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index 6076c7548197..4b707430ae38 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -59,9 +59,7 @@
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::lang;
constexpr OUString TOOLBOX_NAME = u"colorbar"_ustr;
#define RID_SVXSTR_UNDO_GRAFCROP RID_SVXSTR_GRAFCROP
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index 54004f3da511..4fd4086fe0a5 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -43,7 +43,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
SvxMetricField::SvxMetricField(
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index 3be0d011c6ce..f13d45c0239b 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -53,7 +53,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star;
// For End Line Controller
diff --git a/svx/source/tbxctrls/linewidthctrl.cxx b/svx/source/tbxctrls/linewidthctrl.cxx
index a28c11cbd1c8..cbb5b64b600a 100644
--- a/svx/source/tbxctrls/linewidthctrl.cxx
+++ b/svx/source/tbxctrls/linewidthctrl.cxx
@@ -26,11 +26,6 @@
#include <svx/linectrl.hxx>
#include "linemetricbox.hxx"
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::util;
-using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star;
SFX_IMPL_TOOLBOX_CONTROL( SvxLineWidthToolBoxControl, XLineWidthItem );
diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx
index 033008809a22..8d9cc95892f2 100644
--- a/svx/source/toolbars/extrusionbar.cxx
+++ b/svx/source/toolbars/extrusionbar.cxx
@@ -47,7 +47,6 @@
#include <extrusiondepthdialog.hxx>
using namespace ::svx;
-using namespace ::cppu;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::uno;
diff --git a/svx/source/toolbars/fontworkbar.cxx b/svx/source/toolbars/fontworkbar.cxx
index 2a216183e955..93918d9ca5f9 100644
--- a/svx/source/toolbars/fontworkbar.cxx
+++ b/svx/source/toolbars/fontworkbar.cxx
@@ -47,7 +47,6 @@
using namespace ::svx;
-using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::uno;
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index 649b70a82b5d..2dba11ae72d6 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -81,7 +81,6 @@ 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;
using namespace ::com::sun::star::task;
diff --git a/svx/source/unodraw/tableshape.cxx b/svx/source/unodraw/tableshape.cxx
index b9220516411a..2dc3038e591e 100644
--- a/svx/source/unodraw/tableshape.cxx
+++ b/svx/source/unodraw/tableshape.cxx
@@ -27,14 +27,11 @@
#include <svx/svdpool.hxx>
-using namespace ::osl;
-using namespace ::cppu;
using namespace sdr::table;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::beans;
SvxTableShape::SvxTableShape(SdrObject* pObj)
: SvxShape( pObj, getSvxMapProvider().GetMap(SVXMAP_TABLE), getSvxMapProvider().GetPropertySet(SVXMAP_TABLE, SdrObject::GetGlobalDrawObjectItemPool()) )
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 1c286966c2ef..bbaf8db3bff6 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -67,7 +67,6 @@
#include <memory>
-using namespace ::osl;
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index faff6e4ba6b7..f8801f064049 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -60,7 +60,6 @@ using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::container;
using namespace ::com::sun::star::beans;
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 108ded54426b..0d5be8555330 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -98,7 +98,6 @@
#include <bitmaps.hlst>
-using namespace ::osl;
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx
index 88f3b2ed1aa9..173575af00b1 100644
--- a/svx/source/xml/xmleohlp.cxx
+++ b/svx/source/xml/xmleohlp.cxx
@@ -48,7 +48,6 @@
#include <memory>
#include <mutex>
-using namespace ::osl;
using namespace ::cppu;
using namespace ::utl;
using namespace ::com::sun::star;
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index 19c2a66ce1bb..c58ae3f7ce8b 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -55,7 +55,6 @@ using namespace com::sun::star::container;
using namespace com::sun::star::document;
using namespace com::sun::star::uno;
using namespace com::sun::star::awt;
-using namespace com::sun::star::lang;
using namespace com::sun::star::xml::sax;
using namespace ::xmloff::token;
using namespace cppu;