[Libreoffice-commits] .: scripting/source sfx2/source shell/qa shell/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sat Feb 26 13:27:24 PST 2011
scripting/source/storage/XMLElement.cxx | 4 +++-
sfx2/source/bastyp/helper.cxx | 5 ++++-
shell/qa/recent_docs.cxx | 3 ++-
shell/source/backends/gconfbe/gconfaccess.cxx | 6 +++++-
4 files changed, 14 insertions(+), 4 deletions(-)
New commits:
commit f6aedcb21645ab898b484176dd8c2df2a91e7c36
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Feb 26 22:26:51 2011 +0100
Remove "using namespace ::rtl"
diff --git a/scripting/source/storage/XMLElement.cxx b/scripting/source/storage/XMLElement.cxx
index 42fea93..03e5976 100644
--- a/scripting/source/storage/XMLElement.cxx
+++ b/scripting/source/storage/XMLElement.cxx
@@ -31,10 +31,12 @@
#include "XMLElement.hxx"
#include <osl/diagnose.h>
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::uno;
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+
namespace scripting_impl
{
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx
index 17fc21a..cee7318 100644
--- a/sfx2/source/bastyp/helper.cxx
+++ b/sfx2/source/bastyp/helper.cxx
@@ -60,12 +60,15 @@
#include <vector>
using namespace com::sun::star;
-using namespace rtl;
using namespace comphelper;
using namespace osl;
using ::std::vector;
+using ::rtl::OUString;
+using ::rtl::OStringBuffer;
+using ::rtl::OStringToOUString;
+
typedef vector< OUString* > StringList_Impl;
#define CONVERT_DATETIME( aUnoDT, aToolsDT ) \
diff --git a/shell/qa/recent_docs.cxx b/shell/qa/recent_docs.cxx
index fa4181a..cbcf3e3 100644
--- a/shell/qa/recent_docs.cxx
+++ b/shell/qa/recent_docs.cxx
@@ -41,7 +41,8 @@
//########################################
using namespace osl;
-using namespace rtl;
+
+using ::rtl::OUString;
namespace syssh = SystemShell;
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index 2fcca95..c874698 100644
--- a/shell/source/backends/gconfbe/gconfaccess.cxx
+++ b/shell/source/backends/gconfbe/gconfaccess.cxx
@@ -51,7 +51,11 @@ namespace {
namespace css = com::sun::star ;
namespace uno = css::uno ;
-using namespace rtl;
+
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OStringToOUString;
+using ::rtl::OUStringBuffer;
GConfClient* getGconfClient()
{
More information about the Libreoffice-commits
mailing list