unotools/source/config/compatibility.cxx        |    2 --
 unotools/source/config/confignode.cxx           |    1 -
 unotools/source/config/configvaluecontainer.cxx |    1 -
 unotools/source/config/eventcfg.cxx             |    1 -
 unotools/source/config/fontcfg.cxx              |    1 -
 unotools/source/config/pathoptions.cxx          |    1 -
 unotools/source/config/saveopt.cxx              |    3 ---
 unotools/source/config/syslocaleoptions.cxx     |    1 -
 unotools/source/misc/syslocale.cxx              |    1 -
 unotools/source/ucbhelper/localfilehelper.cxx   |    1 -
 10 files changed, 13 deletions(-)

New commits:
commit 8c84193d101dba72c74b92e8afa05c085b063713
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Fri Mar 29 13:31:53 2024 +0100
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Sat Mar 30 19:53:58 2024 +0100

    tdf#146619 Drop unused 'using namespace' in: unotools/
    
    Change-Id: I7af4b514dac89b3dbacdc21705a90a91458b4487
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165519
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/unotools/source/config/compatibility.cxx 
b/unotools/source/config/compatibility.cxx
index 2597d79a084e..8451759e1328 100644
--- a/unotools/source/config/compatibility.cxx
+++ b/unotools/source/config/compatibility.cxx
@@ -31,8 +31,6 @@
 
 #include <unordered_map>
 
-using namespace ::utl;
-using namespace ::osl;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::beans;
 
diff --git a/unotools/source/config/confignode.cxx 
b/unotools/source/config/confignode.cxx
index 93b89532072d..12d939e03159 100644
--- a/unotools/source/config/confignode.cxx
+++ b/unotools/source/config/confignode.cxx
@@ -39,7 +39,6 @@ namespace utl
     using namespace ::com::sun::star::uno;
     using namespace ::com::sun::star::lang;
     using namespace ::com::sun::star::util;
-    using namespace ::com::sun::star::beans;
     using namespace ::com::sun::star::container;
     using namespace ::com::sun::star::configuration;
 
diff --git a/unotools/source/config/configvaluecontainer.cxx 
b/unotools/source/config/configvaluecontainer.cxx
index 6852674a95fa..0ac1be06f4db 100644
--- a/unotools/source/config/configvaluecontainer.cxx
+++ b/unotools/source/config/configvaluecontainer.cxx
@@ -31,7 +31,6 @@ namespace utl
 {
 
     using namespace ::com::sun::star::uno;
-    using namespace ::com::sun::star::lang;
 
     //= NodeValueAccessor
 
diff --git a/unotools/source/config/eventcfg.cxx 
b/unotools/source/config/eventcfg.cxx
index 49232f9026fc..c6c0f63e42a6 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -38,7 +38,6 @@
 #include <unordered_map>
 
 using namespace ::utl;
-using namespace ::osl;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star;
 
diff --git a/unotools/source/config/fontcfg.cxx 
b/unotools/source/config/fontcfg.cxx
index 295a8742ffbb..14bfb646fb75 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -41,7 +41,6 @@
 using namespace utl;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::lang;
-using namespace com::sun::star::beans;
 using namespace com::sun::star::container;
 using namespace com::sun::star::configuration;
 
diff --git a/unotools/source/config/pathoptions.cxx 
b/unotools/source/config/pathoptions.cxx
index 4234ec903df9..be02f7c8f2ac 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -50,7 +50,6 @@ using namespace utl;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::beans;
 using namespace com::sun::star::util;
-using namespace com::sun::star::lang;
 
 #define SEARCHPATH_DELIMITER  ';'
 #define SIGN_STARTVARIABLE    "$("
diff --git a/unotools/source/config/saveopt.cxx 
b/unotools/source/config/saveopt.cxx
index b91ba8639619..42e52bb2147f 100644
--- a/unotools/source/config/saveopt.cxx
+++ b/unotools/source/config/saveopt.cxx
@@ -25,9 +25,6 @@
 
 #include <officecfg/Office/Common.hxx>
 
-using namespace utl;
-using namespace com::sun::star::uno;
-
 void SetODFDefaultVersion( SvtSaveOptions::ODFDefaultVersion eVersion, const 
std::shared_ptr<comphelper::ConfigurationChanges>& xChanges )
 {
     sal_Int16 nTmp = (eVersion == SvtSaveOptions::ODFVER_LATEST) ? sal_Int16( 
3 ) : sal_Int16( eVersion );
diff --git a/unotools/source/config/syslocaleoptions.cxx 
b/unotools/source/config/syslocaleoptions.cxx
index 52760b87c673..c9f2df163522 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -36,7 +36,6 @@
 using namespace osl;
 using namespace utl;
 using namespace com::sun::star::uno;
-using namespace com::sun::star::lang;
 
 namespace
 {
diff --git a/unotools/source/misc/syslocale.cxx 
b/unotools/source/misc/syslocale.cxx
index 31b448e6583a..63b98f9f1614 100644
--- a/unotools/source/misc/syslocale.cxx
+++ b/unotools/source/misc/syslocale.cxx
@@ -35,7 +35,6 @@
 #include <optional>
 #include <vector>
 
-using namespace osl;
 using namespace com::sun::star;
 
 namespace {
diff --git a/unotools/source/ucbhelper/localfilehelper.cxx 
b/unotools/source/ucbhelper/localfilehelper.cxx
index bdabd5f0ac69..e74d3bfd52a9 100644
--- a/unotools/source/ucbhelper/localfilehelper.cxx
+++ b/unotools/source/ucbhelper/localfilehelper.cxx
@@ -29,7 +29,6 @@
 #include <ucbhelper/content.hxx>
 #include <vector>
 
-using namespace ::osl;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::ucb;
 

Reply via email to