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 /cppuhelper | |
parent | 2ed29e98dac6e6f4827ddb72e300f2cc1c26024f (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 13ee0d8f60f9..4a879cdf211d 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 b0d5fcbface9..4e34b470e608 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 c37bedec9902..9abc35dd3632 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 1852b6827b78..1c617da22f24 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 d99fc9903387..431c3cb16251 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 b3c2638739c3..6a5e741c4975 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 > { |