[Libreoffice-commits] .: testtools/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Wed Mar 2 11:53:17 PST 2011
testtools/source/bridgetest/bridgetest.cxx | 5 ++++-
testtools/source/bridgetest/cppobj.cxx | 4 +++-
testtools/source/performance/pseudo.cxx | 3 +--
testtools/source/performance/ubobject.cxx | 3 ++-
testtools/source/performance/ubtest.cxx | 5 ++++-
5 files changed, 14 insertions(+), 6 deletions(-)
New commits:
commit f9b660ee2cf617ad63483f73af4a522b437b9d94
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Wed Mar 2 20:52:59 2011 +0100
Remove "using namespace ::rtl"
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index b84e6c4..272e277 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -63,7 +63,6 @@
#include "currentcontextchecker.hxx"
#include "multi.hxx"
-using namespace rtl;
using namespace osl;
using namespace cppu;
using namespace com::sun::star::uno;
@@ -72,6 +71,10 @@ using namespace com::sun::star::registry;
using namespace com::sun::star::bridge;
using namespace test::testtools::bridgetest;
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OUStringToOString;
+
#define SERVICENAME "com.sun.star.test.bridge.BridgeTest"
#define IMPLNAME "com.sun.star.comp.bridge.BridgeTest"
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index 516d024..79a07fc 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -58,7 +58,6 @@
#include "currentcontextchecker.hxx"
#include "multi.hxx"
-using namespace rtl;
using namespace osl;
using namespace cppu;
using namespace com::sun::star::uno;
@@ -66,6 +65,9 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::registry;
using namespace test::testtools::bridgetest;
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+
#define SERVICENAME "com.sun.star.test.bridge.CppTestObject"
#define IMPLNAME "com.sun.star.comp.bridge.CppTestObject"
diff --git a/testtools/source/performance/pseudo.cxx b/testtools/source/performance/pseudo.cxx
index 2fb9730..32576b6 100644
--- a/testtools/source/performance/pseudo.cxx
+++ b/testtools/source/performance/pseudo.cxx
@@ -37,8 +37,7 @@
#include <uno/mapping.h>
#include <uno/lbnames.h>
-using namespace rtl;
-
+using ::rtl::OUString;
namespace pseudo_uno
{
diff --git a/testtools/source/performance/ubobject.cxx b/testtools/source/performance/ubobject.cxx
index 72bc8cc..de99b1f 100644
--- a/testtools/source/performance/ubobject.cxx
+++ b/testtools/source/performance/ubobject.cxx
@@ -40,7 +40,6 @@
#include <com/sun/star/test/performance/XPerformanceTest.hpp>
-using namespace rtl;
using namespace osl;
using namespace cppu;
using namespace com::sun::star::uno;
@@ -48,6 +47,8 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::registry;
using namespace com::sun::star::test::performance;
+using ::rtl::OUString;
+
#define SERVICENAME "com.sun.star.test.performance.PerformanceTestObject"
#define IMPLNAME "com.sun.star.comp.performance.PerformanceTestObject"
diff --git a/testtools/source/performance/ubtest.cxx b/testtools/source/performance/ubtest.cxx
index 5ed8f22..6ea927d 100644
--- a/testtools/source/performance/ubtest.cxx
+++ b/testtools/source/performance/ubtest.cxx
@@ -72,7 +72,6 @@
#define NLOOP 200000000
-using namespace rtl;
using namespace osl;
using namespace cppu;
using namespace com::sun::star::uno;
@@ -83,6 +82,10 @@ using namespace com::sun::star::bridge;
using namespace com::sun::star::container;
using namespace com::sun::star::test::performance;
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OUStringToOString;
+
#define SERVICENAME "com.sun.star.test.performance.PerformanceTest"
#define IMPLNAME "com.sun.star.comp.performance.PerformanceTest"
More information about the Libreoffice-commits
mailing list