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 /cppuhelper | |
parent | 96c779a14f83f9bce8cb9aecbcbceffbee986be0 (diff) |
Remove "using namespace ::rtl"
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/component.cxx | 4 | ||||
-rw-r--r-- | cppuhelper/source/factory.cxx | 3 | ||||
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 4 | ||||
-rw-r--r-- | cppuhelper/source/stdidlclass.cxx | 3 | ||||
-rw-r--r-- | cppuhelper/test/testhelper.cxx | 5 | ||||
-rw-r--r-- | cppuhelper/test/testimplhelper.cxx | 5 |
6 files changed, 18 insertions, 6 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx index 2add1357b..3d6bc3c5a 100644 --- a/cppuhelper/source/component.cxx +++ b/cppuhelper/source/component.cxx @@ -36,11 +36,13 @@ #include "com/sun/star/uno/RuntimeException.hpp" using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::lang; +using ::rtl::OUString; +using ::rtl::OUStringToOString; + namespace cppu { diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 187da68d9..d37f069ac 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -55,13 +55,14 @@ using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::loader; using namespace com::sun::star::registry; +using ::rtl::OUString; + namespace cppu { diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 507a90faf..bbf167121 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -41,9 +41,11 @@ using namespace osl; using namespace com::sun::star::uno; using namespace com::sun::star::beans; using namespace com::sun::star::lang; -using namespace rtl; using namespace cppu; +using ::rtl::OUString; +using ::rtl::OUStringToOString; + namespace cppu { IPropertyArrayHelper::~IPropertyArrayHelper() diff --git a/cppuhelper/source/stdidlclass.cxx b/cppuhelper/source/stdidlclass.cxx index 512913c65..c915c7d5d 100644 --- a/cppuhelper/source/stdidlclass.cxx +++ b/cppuhelper/source/stdidlclass.cxx @@ -45,7 +45,8 @@ using namespace com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::reflection; -using namespace rtl; + +using ::rtl::OUString; namespace cppu { diff --git a/cppuhelper/test/testhelper.cxx b/cppuhelper/test/testhelper.cxx index b998580fd..85b7b46ed 100644 --- a/cppuhelper/test/testhelper.cxx +++ b/cppuhelper/test/testhelper.cxx @@ -50,13 +50,16 @@ #include "testhelper.hxx" -using namespace rtl; using namespace cppu; using namespace com::sun::star::uno; using namespace com::sun::star; using namespace com::sun::star::lang; using namespace com::sun::star::registry; +using ::rtl::OUString; +using ::rtl::OString; +using ::rtl::OUStringToOString; + SAL_IMPLEMENT_MAIN() { try diff --git a/cppuhelper/test/testimplhelper.cxx b/cppuhelper/test/testimplhelper.cxx index 703c44ebe..c70c933d0 100644 --- a/cppuhelper/test/testimplhelper.cxx +++ b/cppuhelper/test/testimplhelper.cxx @@ -81,12 +81,15 @@ #include <com/sun/star/lang/IllegalAccessException.hpp> using namespace test; -using namespace rtl; using namespace osl; using namespace cppu; using namespace com::sun::star; using namespace com::sun::star::uno; +using ::rtl::OUString; +using ::rtl::OUStringToOString; +using ::rtl::OString; + //================================================================================================== struct TestImpl : public ImplHelper4< CA, DBA, FE, G > { |