svtools/source/brwbox/brwbox3.cxx              |    2 --
 svtools/source/config/accessibilityoptions.cxx |    3 ---
 svtools/source/config/miscopt.cxx              |    1 -
 svtools/source/config/printoptions.cxx         |    3 ---
 svtools/source/control/inettbc.cxx             |    1 -
 svtools/source/control/ruler.cxx               |    1 -
 svtools/source/control/toolbarmenu.cxx         |    1 -
 svtools/source/control/valueset.cxx            |    1 -
 svtools/source/dialogs/addresstemplate.cxx     |    1 -
 svtools/source/dialogs/colrdlg.cxx             |    1 -
 svtools/source/misc/dialogclosedlistener.cxx   |    1 -
 svtools/source/misc/stringtransfer.cxx         |    1 -
 svtools/source/uno/addrtempuno.cxx             |    1 -
 svtools/source/uno/framestatuslistener.cxx     |    1 -
 14 files changed, 19 deletions(-)

New commits:
commit 2c2c1d274fe6336f4f88dd2fb9f716c1d1b092d2
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Fri Mar 29 14:08:57 2024 +0100
Commit:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
CommitDate: Wed Apr 3 08:58:06 2024 +0200

    tdf#146619 Drop unused 'using namespace' in: svtools/
    
    Change-Id: Ia74e293ba140d7e204a2706b8e2827669bfdfb1e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165541
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>

diff --git a/svtools/source/brwbox/brwbox3.cxx 
b/svtools/source/brwbox/brwbox3.cxx
index 32ab1807ac69..1237060a1b89 100644
--- a/svtools/source/brwbox/brwbox3.cxx
+++ b/svtools/source/brwbox/brwbox3.cxx
@@ -35,8 +35,6 @@ using namespace ::com::sun::star::accessibility;
 
 namespace svt
 {
-    using namespace ::com::sun::star::lang;
-
     static Reference< XAccessible > getHeaderCell( 
BrowseBoxImpl::THeaderCellMap& _raHeaderCells,
                                             sal_Int32 _nPos,
                                             AccessibleBrowseBoxObjType _eType,
diff --git a/svtools/source/config/accessibilityoptions.cxx 
b/svtools/source/config/accessibilityoptions.cxx
index 949404491805..f931bf4aa890 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -35,9 +35,6 @@
 
 #include <mutex>
 
-using namespace utl;
-using namespace com::sun::star::uno;
-
 #define HELP_TIP_TIMEOUT 0xffff     // max. timeout setting to pretend a 
non-timeout
 
 namespace SvtAccessibilityOptions
diff --git a/svtools/source/config/miscopt.cxx 
b/svtools/source/config/miscopt.cxx
index ca8537b1c38c..31257615c2b1 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -37,7 +37,6 @@
 #include <vector>
 
 using namespace ::utl                   ;
-using namespace ::osl                   ;
 using namespace ::com::sun::star::uno   ;
 using namespace ::com::sun::star;
 
diff --git a/svtools/source/config/printoptions.cxx 
b/svtools/source/config/printoptions.cxx
index 3f6293813a09..769afbde2cb1 100644
--- a/svtools/source/config/printoptions.cxx
+++ b/svtools/source/config/printoptions.cxx
@@ -27,9 +27,6 @@ const sal_uInt16 aDPIArray[] = { 72, 96, 150, 200, 300, 600 };
 
 #define DPI_COUNT (SAL_N_ELEMENTS(aDPIArray))
 
-using namespace ::osl;
-using namespace ::com::sun::star::uno;
-
 namespace svtools
 {
 
diff --git a/svtools/source/control/inettbc.cxx 
b/svtools/source/control/inettbc.cxx
index 0ffad5414c08..fb98ebb45182 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -60,7 +60,6 @@ using namespace ::ucbhelper;
 using namespace ::utl;
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::task;
 using namespace ::com::sun::star::ucb;
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 5dbe5014f94b..f26240107f9f 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -37,7 +37,6 @@
 
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::accessibility;
 
 #define RULER_OFF           3
diff --git a/svtools/source/control/toolbarmenu.cxx 
b/svtools/source/control/toolbarmenu.cxx
index 92519ad356ad..8a1761a7006e 100644
--- a/svtools/source/control/toolbarmenu.cxx
+++ b/svtools/source/control/toolbarmenu.cxx
@@ -31,7 +31,6 @@
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::accessibility;
 
 namespace {
 
diff --git a/svtools/source/control/valueset.cxx 
b/svtools/source/control/valueset.cxx
index 87696d1a7886..0127ea7a1901 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -43,7 +43,6 @@
 #include <vcl/uitest/eventdescription.hxx>
 
 using namespace css::uno;
-using namespace css::lang;
 using namespace css::accessibility;
 
 namespace
diff --git a/svtools/source/dialogs/addresstemplate.cxx 
b/svtools/source/dialogs/addresstemplate.cxx
index 1ee18df73c3b..8c5b781cf2cb 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -59,7 +59,6 @@
 namespace svt
 {
     using namespace ::com::sun::star::uno;
-    using namespace ::com::sun::star::lang;
     using namespace ::com::sun::star::container;
     using namespace ::com::sun::star::ui::dialogs;
     using namespace ::com::sun::star::util;
diff --git a/svtools/source/dialogs/colrdlg.cxx 
b/svtools/source/dialogs/colrdlg.cxx
index cd4c73573d8b..496f95bf1d9f 100644
--- a/svtools/source/dialogs/colrdlg.cxx
+++ b/svtools/source/dialogs/colrdlg.cxx
@@ -35,7 +35,6 @@
 #include <osl/diagnose.h>
 
 using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::ui::dialogs;
 
diff --git a/svtools/source/misc/dialogclosedlistener.cxx 
b/svtools/source/misc/dialogclosedlistener.cxx
index c9e4c095e4e2..3108a899820f 100644
--- a/svtools/source/misc/dialogclosedlistener.cxx
+++ b/svtools/source/misc/dialogclosedlistener.cxx
@@ -25,7 +25,6 @@ namespace svt
 
 
     using namespace ::com::sun::star::lang;
-    using namespace ::com::sun::star::uno;
     using namespace ::com::sun::star::ui::dialogs;
 
 
diff --git a/svtools/source/misc/stringtransfer.cxx 
b/svtools/source/misc/stringtransfer.cxx
index 37470128e5c2..f3ef6989f67b 100644
--- a/svtools/source/misc/stringtransfer.cxx
+++ b/svtools/source/misc/stringtransfer.cxx
@@ -29,7 +29,6 @@ namespace svt
 {
 
 
-    using namespace ::com::sun::star::uno;
     using namespace ::com::sun::star::datatransfer;
 
 
diff --git a/svtools/source/uno/addrtempuno.cxx 
b/svtools/source/uno/addrtempuno.cxx
index 54cb28afc07d..a0c530f8f1f0 100644
--- a/svtools/source/uno/addrtempuno.cxx
+++ b/svtools/source/uno/addrtempuno.cxx
@@ -35,7 +35,6 @@ namespace {
 constexpr OUStringLiteral UNODIALOG_PROPERTY_ALIASES = u"FieldMapping";
 
     using namespace css::uno;
-    using namespace css::lang;
     using namespace css::util;
     using namespace css::beans;
     using namespace css::sdbc;
diff --git a/svtools/source/uno/framestatuslistener.cxx 
b/svtools/source/uno/framestatuslistener.cxx
index aa82e5880efe..11f96e8d5d88 100644
--- a/svtools/source/uno/framestatuslistener.cxx
+++ b/svtools/source/uno/framestatuslistener.cxx
@@ -28,7 +28,6 @@ using namespace ::cppu;
 using namespace css::awt;
 using namespace css::uno;
 using namespace css::util;
-using namespace css::beans;
 using namespace css::lang;
 using namespace css::frame;
 

Reply via email to