[Libreoffice-commits] .: lotuswordpro/source oox/source writerfilter/qa writerfilter/source

Julien Nabet serval2412 at kemper.freedesktop.org
Tue Mar 1 14:05:42 PST 2011


 lotuswordpro/source/filter/xfilter/xfchartxmlhandler.hxx |    3 ++-
 oox/source/core/facreg.cxx                               |    3 ++-
 writerfilter/qa/cppunittests/odiapi/testProperty.cxx     |    5 ++++-
 writerfilter/qa/cppunittests/sl/testOD_SL.cxx            |    5 ++++-
 writerfilter/source/dmapper/NumberingManager.cxx         |    5 ++++-
 5 files changed, 16 insertions(+), 5 deletions(-)

New commits:
commit c4da1d7ae25e529d38368e37a9b87c8fade6537d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Mar 1 23:05:32 2011 +0100

    Remove "using namespace ::rtl"

diff --git a/lotuswordpro/source/filter/xfilter/xfchartxmlhandler.hxx b/lotuswordpro/source/filter/xfilter/xfchartxmlhandler.hxx
index cdea27c..a5710fc 100644
--- a/lotuswordpro/source/filter/xfilter/xfchartxmlhandler.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfchartxmlhandler.hxx
@@ -77,10 +77,11 @@
 #include "ixfstream.hxx"
 #include "ixfattrlist.hxx"
 #include <rtl/ustring.hxx>
-using namespace rtl;
 using namespace ::com::sun::star::xml::sax;
 using namespace ::com::sun::star::uno;
 
+using ::rtl::OUString;
+
 /**
 * @brief
 * Chart xml handler
diff --git a/oox/source/core/facreg.cxx b/oox/source/core/facreg.cxx
index 1b93b8c..0a34d0c 100644
--- a/oox/source/core/facreg.cxx
+++ b/oox/source/core/facreg.cxx
@@ -38,9 +38,10 @@
 #include <cppuhelper/factory.hxx>
 #include <uno/lbnames.h>
 
-using namespace rtl;
 using namespace com::sun::star;
 
+using ::rtl::OUString;
+
 #define SERVICE( className )										\
 extern OUString SAL_CALL className##_getImplementationName() throw();	\
 extern uno::Sequence< OUString > SAL_CALL className##_getSupportedServiceNames() throw();\
diff --git a/writerfilter/qa/cppunittests/odiapi/testProperty.cxx b/writerfilter/qa/cppunittests/odiapi/testProperty.cxx
index 943097e..4f3d289 100644
--- a/writerfilter/qa/cppunittests/odiapi/testProperty.cxx
+++ b/writerfilter/qa/cppunittests/odiapi/testProperty.cxx
@@ -40,7 +40,10 @@ using namespace writerfilter;
 using namespace std;
 using namespace util;
 using namespace osl;
-using namespace rtl;
+
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+using ::rtl::OString;
 
 /** Helper function, get a temporary file name
  */
diff --git a/writerfilter/qa/cppunittests/sl/testOD_SL.cxx b/writerfilter/qa/cppunittests/sl/testOD_SL.cxx
index 6d28974..5f74d84 100644
--- a/writerfilter/qa/cppunittests/sl/testOD_SL.cxx
+++ b/writerfilter/qa/cppunittests/sl/testOD_SL.cxx
@@ -39,9 +39,12 @@
 
 using namespace writerfilter;
 using namespace osl;
-using namespace rtl;
 using namespace util;
 
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OUStringToOString;
+
 class MyHandler : public xxml::ContentHandler
 {
 public:
diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx
index 5c8b280..bcc1142 100644
--- a/writerfilter/source/dmapper/NumberingManager.cxx
+++ b/writerfilter/source/dmapper/NumberingManager.cxx
@@ -20,9 +20,12 @@
 #include <stdio.h>
 #endif
 
-using namespace rtl;
 using namespace com::sun::star;
 
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OUStringToOString;
+
 #define MAKE_PROPVAL(NameId, Value) \
     beans::PropertyValue(aPropNameSupplier.GetName(NameId), 0, uno::makeAny(Value), beans::PropertyState_DIRECT_VALUE )
 


More information about the Libreoffice-commits mailing list