summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-29 12:03:33 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-29 11:28:54 +0000
commit0371a6336582aea9574d1f8e6ae152ef3f95ac62 (patch)
tree06cc3b234b45ee5a5cb72387068adae84226ce9b /idlc
parentb9f080e012d0e4f5343da940079c20d3f9c63513 (diff)
remove unnecessary 'using namespace rtl' declarations
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astconstant.cxx2
-rw-r--r--idlc/source/astdeclaration.cxx2
-rw-r--r--idlc/source/astdump.cxx2
-rw-r--r--idlc/source/astenum.cxx2
-rw-r--r--idlc/source/astexpression.cxx2
-rw-r--r--idlc/source/astinterface.cxx2
-rw-r--r--idlc/source/astoperation.cxx2
-rw-r--r--idlc/source/astscope.cxx2
-rw-r--r--idlc/source/aststruct.cxx2
-rw-r--r--idlc/source/errorhandler.cxx2
-rw-r--r--idlc/source/fehelper.cxx2
-rw-r--r--idlc/source/idlc.cxx2
-rw-r--r--idlc/source/idlccompile.cxx1
-rw-r--r--idlc/source/idlcmain.cxx2
-rw-r--r--idlc/source/idlcproduce.cxx1
15 files changed, 0 insertions, 28 deletions
diff --git a/idlc/source/astconstant.cxx b/idlc/source/astconstant.cxx
index 42129f2288c3..b37ff90e6b73 100644
--- a/idlc/source/astconstant.cxx
+++ b/idlc/source/astconstant.cxx
@@ -22,8 +22,6 @@
#include <registry/writer.hxx>
-using namespace ::rtl;
-
AstConstant::AstConstant(const ExprType type,
const NodeType nodeType,
AstExpression* pExpr,
diff --git a/idlc/source/astdeclaration.cxx b/idlc/source/astdeclaration.cxx
index 4840eca74f6a..97d21f1d3cef 100644
--- a/idlc/source/astdeclaration.cxx
+++ b/idlc/source/astdeclaration.cxx
@@ -21,8 +21,6 @@
#include <idlc/astscope.hxx>
#include <rtl/strbuf.hxx>
-using namespace ::rtl;
-
static OString sGlobal("::");
static OString convertName(const OString& name)
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index d4bbc196b3d2..c9a2c473f3fa 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -32,8 +32,6 @@
#include <registry/version.h>
#include <registry/writer.hxx>
-using namespace ::rtl;
-
bool AstModule::dump(RegistryKey& rKey)
{
OUString emptyStr;
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index a0df33199ec5..1f330b18f780 100644
--- a/idlc/source/astenum.cxx
+++ b/idlc/source/astenum.cxx
@@ -22,8 +22,6 @@
#include <registry/version.h>
#include <registry/writer.hxx>
-using namespace ::rtl;
-
AstEnum::AstEnum(const OString& name, AstScope* pScope)
: AstType(NT_enum, name, pScope)
, AstScope(NT_enum)
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index ec56a94542e3..99d415dd8bd8 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -27,8 +27,6 @@
#include <float.h>
#include <memory>
-using namespace ::rtl;
-
AstExpression::AstExpression(ExprComb c, AstExpression *pExpr1, AstExpression *pExpr2)
: m_combOperator(c)
, m_subExpr1(pExpr1)
diff --git a/idlc/source/astinterface.cxx b/idlc/source/astinterface.cxx
index 7f097fd23555..8bd8fb7cbfd9 100644
--- a/idlc/source/astinterface.cxx
+++ b/idlc/source/astinterface.cxx
@@ -25,8 +25,6 @@
#include <registry/version.h>
#include <registry/writer.hxx>
-using namespace ::rtl;
-
AstInterface::AstInterface(const OString& name,
AstInterface const * pInherits,
AstScope* pScope)
diff --git a/idlc/source/astoperation.cxx b/idlc/source/astoperation.cxx
index cae75fe0027e..5a38c8acbc20 100644
--- a/idlc/source/astoperation.cxx
+++ b/idlc/source/astoperation.cxx
@@ -25,8 +25,6 @@
#include <registry/writer.hxx>
-using namespace ::rtl;
-
void AstOperation::setExceptions(DeclList const * pExceptions)
{
if (pExceptions != 0) {
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx
index caa2dc3cb20d..172c2be57590 100644
--- a/idlc/source/astscope.cxx
+++ b/idlc/source/astscope.cxx
@@ -23,8 +23,6 @@
#include <idlc/errorhandler.hxx>
-using namespace ::rtl;
-
bool isGlobal(const OString& scopedName)
{
return scopedName.isEmpty() || scopedName.startsWith(":");
diff --git a/idlc/source/aststruct.cxx b/idlc/source/aststruct.cxx
index 7c42d1692ad0..482ee73dadfa 100644
--- a/idlc/source/aststruct.cxx
+++ b/idlc/source/aststruct.cxx
@@ -23,8 +23,6 @@
#include <registry/version.h>
#include <registry/writer.hxx>
-using namespace ::rtl;
-
AstStruct::AstStruct(
const OString& name, std::vector< OString > const & typeParameters,
AstStruct const* pBaseType, AstScope* pScope)
diff --git a/idlc/source/errorhandler.cxx b/idlc/source/errorhandler.cxx
index b7b6e799be3a..5ed259f46a37 100644
--- a/idlc/source/errorhandler.cxx
+++ b/idlc/source/errorhandler.cxx
@@ -20,8 +20,6 @@
#include <idlc/errorhandler.hxx>
#include <idlc/astinterface.hxx>
-using namespace ::rtl;
-
static const sal_Char* errorCodeToMessage(ErrorCode eCode)
{
switch (eCode)
diff --git a/idlc/source/fehelper.cxx b/idlc/source/fehelper.cxx
index a11f4b053992..8cf1a7434028 100644
--- a/idlc/source/fehelper.cxx
+++ b/idlc/source/fehelper.cxx
@@ -21,8 +21,6 @@
#include <idlc/errorhandler.hxx>
#include "idlc/idlc.hxx"
-using namespace ::rtl;
-
FeDeclarator::FeDeclarator(const OString& name, DeclaratorType declType, AstDeclaration* pComplPart)
: m_pComplexPart(pComplPart)
, m_name(name)
diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx
index 2617c22c237c..75a71dfa6a6b 100644
--- a/idlc/source/idlc.cxx
+++ b/idlc/source/idlc.cxx
@@ -38,8 +38,6 @@
#include <osl/file.hxx>
#include <osl/thread.h>
-using namespace ::rtl;
-
AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope)
{
if (pScope == NULL) return NULL;
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index c88cac79db4a..100ab02b6edf 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -42,7 +42,6 @@
#include <string.h>
-using namespace ::rtl;
using namespace ::osl;
extern int yyparse();
diff --git a/idlc/source/idlcmain.cxx b/idlc/source/idlcmain.cxx
index 270bf7a193a1..9d672fd7bbf0 100644
--- a/idlc/source/idlcmain.cxx
+++ b/idlc/source/idlcmain.cxx
@@ -23,8 +23,6 @@
#include <string.h>
-using namespace ::rtl;
-
SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{
std::vector< std::string > args;
diff --git a/idlc/source/idlcproduce.cxx b/idlc/source/idlcproduce.cxx
index 060ab9d06200..35a3a20a5517 100644
--- a/idlc/source/idlcproduce.cxx
+++ b/idlc/source/idlcproduce.cxx
@@ -37,7 +37,6 @@
#include <string.h>
-using namespace ::rtl;
using namespace ::osl;
StringList* pCreatedDirectories = NULL;