summaryrefslogtreecommitdiff
path: root/dbaccess/source/filter/xml
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-05-30 10:57:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-30 21:15:03 +0200
commit709040e0adf0a533700576b14c8498f986a601e9 (patch)
treeb442f01822040432312359c2c4bd1536d53085bb /dbaccess/source/filter/xml
parent656c8754abc6678e5efcaa1fec1dcac0a01ca54c (diff)
remove duplicate 'using namespace'
Change-Id: I7f8828f677cfb588135ff75c03ffb75895773440 Reviewed-on: https://gerrit.libreoffice.org/38201 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/filter/xml')
-rw-r--r--dbaccess/source/filter/xml/xmlExport.cxx17
1 files changed, 6 insertions, 11 deletions
diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index 484a6a15bb52..707a8b778d8d 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -56,14 +56,14 @@
#include <memory>
#include <iterator>
+using namespace comphelper;
+using namespace ::com::sun::star::sdb;
+using namespace ::com::sun::star::sdbcx;
+using namespace ::com::sun::star::util;
+using namespace ::com::sun::star;
+
namespace dbaxml
{
- using namespace comphelper;
- using namespace ::com::sun::star::sdb;
- using namespace ::com::sun::star::sdbcx;
- using namespace ::com::sun::star::util;
- using namespace ::com::sun::star;
-
class ODBExportHelper
{
public:
@@ -102,11 +102,6 @@ extern "C" void SAL_CALL createRegistryInfo_OFullExport( )
namespace dbaxml
{
- using namespace comphelper;
- using namespace ::com::sun::star::sdb;
- using namespace ::com::sun::star::sdbcx;
- using namespace ::com::sun::star::util;
-
Reference< XInterface > SAL_CALL ODBExportHelper::Create(const Reference< XMultiServiceFactory >& _rxORB)
{
return static_cast< XServiceInfo* >(new ODBExport(comphelper::getComponentContext(_rxORB), getImplementationName_Static(), SvXMLExportFlags::SETTINGS | SvXMLExportFlags::PRETTY ));