diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-03-02 21:53:12 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-03-02 21:53:12 +0100 |
commit | 933e22880b2d5d9c6dd6e3e05c30d6f0ced55508 (patch) | |
tree | 24b423cb78e10cb8435e778b34ca6d3a3b22ae4c /codemaker | |
parent | avoid implicit cast (diff) | |
download | core-933e22880b2d5d9c6dd6e3e05c30d6f0ced55508.tar.gz core-933e22880b2d5d9c6dd6e3e05c30d6f0ced55508.zip |
Remove "using namespace ::rtl"
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/codemaker/options.cxx | 2 | ||||
-rw-r--r-- | codemaker/source/codemaker/typemanager.cxx | 5 | ||||
-rw-r--r-- | codemaker/source/cppumaker/cppumaker.cxx | 3 | ||||
-rw-r--r-- | codemaker/source/cppumaker/cppuoptions.cxx | 5 | ||||
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 5 | ||||
-rw-r--r-- | codemaker/source/javamaker/javamaker.cxx | 4 | ||||
-rw-r--r-- | codemaker/source/javamaker/javaoptions.cxx | 5 |
7 files changed, 19 insertions, 10 deletions
diff --git a/codemaker/source/codemaker/options.cxx b/codemaker/source/codemaker/options.cxx index 2019e96b3518..8748db53c2c8 100644 --- a/codemaker/source/codemaker/options.cxx +++ b/codemaker/source/codemaker/options.cxx @@ -31,7 +31,7 @@ #include "codemaker/options.hxx" -using namespace rtl; +using ::rtl::OString; Options::Options() { diff --git a/codemaker/source/codemaker/typemanager.cxx b/codemaker/source/codemaker/typemanager.cxx index b65120aa1aa0..639a7cca71e6 100644 --- a/codemaker/source/codemaker/typemanager.cxx +++ b/codemaker/source/codemaker/typemanager.cxx @@ -34,7 +34,10 @@ #include "registry/reader.hxx" #include "registry/version.h" -using namespace rtl; +using ::rtl::OUString; +using ::rtl::OString; +using ::rtl::OStringToOUString; +using ::rtl::OUStringToOString; TypeManager::TypeManager() { diff --git a/codemaker/source/cppumaker/cppumaker.cxx b/codemaker/source/cppumaker/cppumaker.cxx index 82edce406682..ae24f4291d8e 100644 --- a/codemaker/source/cppumaker/cppumaker.cxx +++ b/codemaker/source/cppumaker/cppumaker.cxx @@ -39,7 +39,8 @@ #include "cppuoptions.hxx" #include "cpputype.hxx" -using namespace rtl; +using ::rtl::OString; +using ::rtl::OUString; namespace { diff --git a/codemaker/source/cppumaker/cppuoptions.cxx b/codemaker/source/cppumaker/cppuoptions.cxx index f1ec221b89e5..c77a15904442 100644 --- a/codemaker/source/cppumaker/cppuoptions.cxx +++ b/codemaker/source/cppumaker/cppuoptions.cxx @@ -35,8 +35,9 @@ #include "osl/thread.h" #include "osl/process.h" -using namespace rtl; - +using ::rtl::OUString; +using ::rtl::OUStringToOString; +using ::rtl::OString; sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) throw( IllegalArgument ) { diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 3029d96f7d2d..735591f1a476 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -51,9 +51,12 @@ #include "dumputils.hxx" #include "includes.hxx" -using namespace rtl; using namespace codemaker::cpp; +using ::rtl::OUString; +using ::rtl::OString; +using ::rtl::OStringBuffer; + namespace { rtl::OString translateSimpleUnoType(rtl::OString const & unoType, bool cppuUnoType=false) { diff --git a/codemaker/source/javamaker/javamaker.cxx b/codemaker/source/javamaker/javamaker.cxx index bb7ec071fb19..4deeb727a4c0 100644 --- a/codemaker/source/javamaker/javamaker.cxx +++ b/codemaker/source/javamaker/javamaker.cxx @@ -38,8 +38,8 @@ #include "javaoptions.hxx" #include "javatype.hxx" -using namespace rtl; - +using ::rtl::OUString; +using ::rtl::OString; sal_Bool produceAllTypes(RegistryKey& rTypeKey, sal_Bool bIsExtraType, TypeManager const & typeMgr, codemaker::GeneratedTypeSet & generated, diff --git a/codemaker/source/javamaker/javaoptions.cxx b/codemaker/source/javamaker/javaoptions.cxx index db4980ba6a69..82fa4d55ad87 100644 --- a/codemaker/source/javamaker/javaoptions.cxx +++ b/codemaker/source/javamaker/javaoptions.cxx @@ -34,8 +34,9 @@ #include "osl/process.h" #include "osl/thread.h" -using namespace rtl; - +using ::rtl::OUString; +using ::rtl::OString; +using ::rtl::OUStringToOString; sal_Bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) throw( IllegalArgument ) { |