From 933e22880b2d5d9c6dd6e3e05c30d6f0ced55508 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 2 Mar 2011 21:53:12 +0100 Subject: Remove "using namespace ::rtl" --- cppu/source/typelib/static_types.cxx | 4 +++- cppu/source/typelib/typelib.cxx | 5 ++++- cppu/source/uno/lbmap.cxx | 6 ++++-- 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'cppu/source') diff --git a/cppu/source/typelib/static_types.cxx b/cppu/source/typelib/static_types.cxx index 9aa9afcf648f..4af4fb1251c8 100644 --- a/cppu/source/typelib/static_types.cxx +++ b/cppu/source/typelib/static_types.cxx @@ -43,7 +43,9 @@ using namespace osl; -using namespace rtl; + +using ::rtl::OUString; +using ::rtl::OUStringBuffer; extern "C" { diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 1ab46fdb8b22..f84350f27691 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -53,10 +53,13 @@ #include #include -using namespace rtl; using namespace std; using namespace osl; +using ::rtl::OUString; +using ::rtl::OUStringBuffer; +using ::rtl::OString; + #ifdef SAL_W32 #pragma pack(push, 8) #elif defined(SAL_OS2) diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index 13d34554bac8..0d3664c1a3da 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -57,9 +57,11 @@ using namespace std; using namespace osl; -using namespace rtl; using namespace com::sun::star::uno; - +using ::rtl::OUString; +using ::rtl::OUStringBuffer; +using ::rtl::OUStringToOString; +using ::rtl::OString; namespace cppu { -- cgit v1.2.3