summaryrefslogtreecommitdiff
path: root/idlc/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-03-02 21:53:12 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-03-02 21:53:12 +0100
commit933e22880b2d5d9c6dd6e3e05c30d6f0ced55508 (patch)
tree24b423cb78e10cb8435e778b34ca6d3a3b22ae4c /idlc/source
parent2ed29e98dac6e6f4827ddb72e300f2cc1c26024f (diff)
Remove "using namespace ::rtl"
Diffstat (limited to 'idlc/source')
-rw-r--r--idlc/source/options.cxx3
-rw-r--r--idlc/source/parser.y6
2 files changed, 6 insertions, 3 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx
index fe02e3a6e169..36f6880460c0 100644
--- a/idlc/source/options.cxx
+++ b/idlc/source/options.cxx
@@ -33,8 +33,7 @@
#include /*MSVC trouble: <cstring>*/ <string.h>
#include <idlc/options.hxx>
-using namespace rtl;
-
+using ::rtl::OString;
Options::Options(): m_stdin(false), m_verbose(false), m_quiet(false)
{
}
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index 6de66aee9b17..38e54382c15d 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -104,11 +104,15 @@
#include <algorithm>
#include <vector>
-using namespace rtl;
#define YYDEBUG 1
#define YYERROR_VERBOSE 1
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OStringToOUString;
+using ::rtl::OStringBuffer;
+
extern int yylex(void);
void yyerror(char const *);