[Libreoffice-commits] .: comphelper/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Feb 26 13:47:00 PST 2011


 comphelper/source/compare/AnyCompareFactory.cxx         |    3 ++-
 comphelper/source/eventattachermgr/eventattachermgr.cxx |    3 ++-
 comphelper/source/misc/regpathhelper.cxx                |    5 ++++-
 comphelper/source/misc/uieventslogger.cxx               |    3 ++-
 comphelper/source/xml/attributelist.cxx                 |    3 ++-
 5 files changed, 12 insertions(+), 5 deletions(-)

New commits:
commit 4e9a91703fd7071109bbe9c4116ade4572bdc638
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Feb 26 22:46:43 2011 +0100

    Remove "using namespace ::rtl"

diff --git a/comphelper/source/compare/AnyCompareFactory.cxx b/comphelper/source/compare/AnyCompareFactory.cxx
index 612455b..f1242ba 100644
--- a/comphelper/source/compare/AnyCompareFactory.cxx
+++ b/comphelper/source/compare/AnyCompareFactory.cxx
@@ -50,7 +50,8 @@ using namespace com::sun::star::uno;
 using namespace com::sun::star::ucb;
 using namespace com::sun::star::lang;
 using namespace com::sun::star::i18n;
-using namespace rtl;
+
+using ::rtl::OUString;
 
 //=============================================================================
 
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx
index 81676de..9fa7931 100644
--- a/comphelper/source/eventattachermgr/eventattachermgr.cxx
+++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx
@@ -65,7 +65,8 @@ using namespace com::sun::star::script;
 using namespace com::sun::star::reflection;
 using namespace cppu;
 using namespace osl;
-using namespace rtl;
+
+using ::rtl::OUString;
 
 namespace comphelper
 {
diff --git a/comphelper/source/misc/regpathhelper.cxx b/comphelper/source/misc/regpathhelper.cxx
index fdccd87..6c691f6 100644
--- a/comphelper/source/misc/regpathhelper.cxx
+++ b/comphelper/source/misc/regpathhelper.cxx
@@ -39,7 +39,10 @@
 #include <rtl/uri.hxx>
 
 using namespace osl;
-using namespace rtl;
+
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OStringToOUString;
 
 #define PATH_DELEMITTER	'/'
 
diff --git a/comphelper/source/misc/uieventslogger.cxx b/comphelper/source/misc/uieventslogger.cxx
index 4ee59da..6c978de 100644
--- a/comphelper/source/misc/uieventslogger.cxx
+++ b/comphelper/source/misc/uieventslogger.cxx
@@ -60,9 +60,10 @@ using namespace com::sun::star::uno;
 using namespace com::sun::star::util;
 using namespace cppu;
 using namespace osl;
-using namespace rtl;
 using namespace std;
 
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
 
 namespace
 {
diff --git a/comphelper/source/xml/attributelist.cxx b/comphelper/source/xml/attributelist.cxx
index e30491c..09ce2b6 100644
--- a/comphelper/source/xml/attributelist.cxx
+++ b/comphelper/source/xml/attributelist.cxx
@@ -33,10 +33,11 @@
 
 #include <vector>
 
-using namespace rtl;
 using namespace osl;
 using namespace com::sun::star;
 
+using ::rtl::OUString;
+
 namespace comphelper {
 
 struct TagAttribute_Impl


More information about the Libreoffice-commits mailing list