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 | fdc03569ba14198aef950594242c7e088649dc33 (patch) | |
tree | faff1eb2534441d332d8c94d488b2f75876beef7 /codemaker/source | |
parent | 96c779a14f83f9bce8cb9aecbcbceffbee986be0 (diff) |
Remove "using namespace ::rtl"
Diffstat (limited to 'codemaker/source')
-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 27ebb14d5..1909dd427 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 a3a453013..0b28e4d46 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 0d6048a99..a58e9dbad 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 302a7ea3f..c44c99f22 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 f31384a62..5994a08cb 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 6a25bc728..700dcd941 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 105357c27..62abb3c37 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 ) { |