[Libreoffice-commits] .: editeng/source eventattacher/source fpicker/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sat Feb 26 06:39:40 PST 2011
editeng/source/misc/acorrcfg.cxx | 3 ++-
eventattacher/source/eventattacher.cxx | 3 ++-
fpicker/source/aqua/ControlHelper.hxx | 3 ++-
fpicker/source/aqua/SalAquaFilePicker.hxx | 3 +--
fpicker/source/unx/gnome/SalGtkFilePicker.hxx | 4 ++--
fpicker/source/win32/filepicker/previewbase.cxx | 3 ++-
6 files changed, 11 insertions(+), 8 deletions(-)
New commits:
commit 1a0e34d623760d5453c35c656a324b2c4a198ff0
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Feb 26 15:39:27 2011 +0100
Remove "using namespace ::rtl"
diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx
index 2c4e5a2..d1feda9 100644
--- a/editeng/source/misc/acorrcfg.cxx
+++ b/editeng/source/misc/acorrcfg.cxx
@@ -40,9 +40,10 @@
#include <com/sun/star/uno/Sequence.hxx>
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
+using ::rtl::OUString;
+
#define C2U(cChar) OUString::createFromAscii(cChar)
static SvxAutoCorrCfg* pAutoCorrCfg = 0;
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx
index 54f990e..27487d8 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -54,7 +54,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;
#define SERVICENAME "com.sun.star.script.EventAttacher"
diff --git a/fpicker/source/aqua/ControlHelper.hxx b/fpicker/source/aqua/ControlHelper.hxx
index b203747..145ba70 100644
--- a/fpicker/source/aqua/ControlHelper.hxx
+++ b/fpicker/source/aqua/ControlHelper.hxx
@@ -43,7 +43,8 @@
#include "AquaFilePickerDelegate.hxx"
using namespace com::sun::star;
-using namespace rtl;
+
+using ::rtl::OUString;
class ControlHelper {
diff --git a/fpicker/source/aqua/SalAquaFilePicker.hxx b/fpicker/source/aqua/SalAquaFilePicker.hxx
index 26b1ffe..cc08f96 100644
--- a/fpicker/source/aqua/SalAquaFilePicker.hxx
+++ b/fpicker/source/aqua/SalAquaFilePicker.hxx
@@ -59,8 +59,7 @@
//----------------------------------------------------------
// forward declarations
//----------------------------------------------------------
-
-using namespace rtl;
+using ::rtl::OUString;
//----------------------------------------------------------
// class declaration
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.hxx b/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
index d280585..2ad10d4 100644
--- a/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
+++ b/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
@@ -58,8 +58,8 @@
// forward declarations
//----------------------------------------------------------
-using namespace rtl;
-
+using ::rtl::OUString;
+using ::rtl::OString;
struct FilterEntry;
struct ElementEntry_Impl;
diff --git a/fpicker/source/win32/filepicker/previewbase.cxx b/fpicker/source/win32/filepicker/previewbase.cxx
index 54fe996..3776cea 100644
--- a/fpicker/source/win32/filepicker/previewbase.cxx
+++ b/fpicker/source/win32/filepicker/previewbase.cxx
@@ -34,7 +34,8 @@
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
-using namespace rtl;
+
+using ::rtl::OUString;
//-------------------------------
//
More information about the Libreoffice-commits
mailing list