summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-04 20:37:54 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-04 22:25:07 +0200
commitbf82274d327146ec0aa2b4f8a0e6d1bf24366cb3 (patch)
tree180b6185aa3d5194d89cd21d901f70ed32e5c5dd /sax/source
parentb845fc51bb5c40eac121bbe52d8c77257bcbcdf3 (diff)
drop 'using namespace std' in sax/sc/scaddins/sfx2/shell
Change-Id: I422a6d5b0151115203fd2d7c0fc5597903d3ec8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123064 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/fastparser/fastparser.cxx1
-rw-r--r--sax/source/fastparser/legacyfastparser.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 86bd8a734b63..97435e2219ea 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -54,7 +54,6 @@
// Inverse of libxml's BAD_CAST.
#define XML_CAST( str ) reinterpret_cast< const char* >( str )
-using namespace std;
using namespace ::osl;
using namespace ::cppu;
using namespace ::com::sun::star::uno;
diff --git a/sax/source/fastparser/legacyfastparser.cxx b/sax/source/fastparser/legacyfastparser.cxx
index c748eb057fbe..d32b12d8a5f9 100644
--- a/sax/source/fastparser/legacyfastparser.cxx
+++ b/sax/source/fastparser/legacyfastparser.cxx
@@ -29,7 +29,6 @@
#include <memory>
#include <vector>
-using namespace std;
using namespace ::cppu;
using namespace css;
using namespace uno;
@@ -49,7 +48,7 @@ private:
NamespaceDefine( const OUString& rPrefix, const OUString& rNamespaceURI ) : m_aPrefix( rPrefix ), m_aNamespaceURI( rNamespaceURI ) {}
};
- vector< unique_ptr< NamespaceDefine > > m_aNamespaceDefines;
+ std::vector< std::unique_ptr< NamespaceDefine > > m_aNamespaceDefines;
public:
NamespaceHandler();