[Libreoffice-commits] .: dtrans/source toolkit/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sun Feb 27 04:57:32 PST 2011


 dtrans/source/cnttype/mcnttype.cxx           |    3 ++-
 dtrans/source/generic/dtrans.cxx             |    3 ++-
 dtrans/source/os2/clipb/Os2Clipboard.cxx     |    3 ++-
 dtrans/source/os2/clipb/Os2Service.cxx       |    3 ++-
 dtrans/source/os2/clipb/Os2Transferable.cxx  |    3 ++-
 dtrans/source/win32/clipb/WinClipbImpl.cxx   |    3 ++-
 dtrans/source/win32/clipb/WinClipboard.cxx   |    3 ++-
 dtrans/source/win32/dnd/source.cxx           |    3 ++-
 dtrans/source/win32/dnd/source.hxx           |    2 +-
 dtrans/source/win32/dnd/target.cxx           |    3 ++-
 dtrans/source/win32/dnd/target.hxx           |    3 ++-
 dtrans/source/win32/dtobj/DOTransferable.cxx |    3 ++-
 dtrans/source/win32/dtobj/DataFmtTransl.cxx  |    3 ++-
 dtrans/source/win32/dtobj/FetcList.cxx       |    3 ++-
 dtrans/source/win32/dtobj/XTDataObject.cxx   |    3 ++-
 dtrans/source/win32/ftransl/ftransl.cxx      |    2 +-
 toolkit/source/controls/eventcontainer.cxx   |    2 +-
 17 files changed, 31 insertions(+), 17 deletions(-)

New commits:
commit dfdcbdbccaa295c2ef410d1046548107ee451c06
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Feb 27 13:57:05 2011 +0100

    Remove "using namespace ::rtl"

diff --git a/dtrans/source/cnttype/mcnttype.cxx b/dtrans/source/cnttype/mcnttype.cxx
index 65968b7..bfa6b50 100644
--- a/dtrans/source/cnttype/mcnttype.cxx
+++ b/dtrans/source/cnttype/mcnttype.cxx
@@ -41,10 +41,11 @@
 using namespace com::sun::star::uno;
 using namespace com::sun::star::lang;
 using namespace com::sun::star::container;
-using namespace rtl;
 using namespace std;
 using namespace osl;
 
+using ::rtl::OUString;
+
 //------------------------------------------------------------------------
 // constants
 //------------------------------------------------------------------------
diff --git a/dtrans/source/generic/dtrans.cxx b/dtrans/source/generic/dtrans.cxx
index a0dbbd1..41eb401 100644
--- a/dtrans/source/generic/dtrans.cxx
+++ b/dtrans/source/generic/dtrans.cxx
@@ -38,7 +38,8 @@ using namespace com::sun::star::lang;
 using namespace com::sun::star::registry;
 using namespace com::sun::star::uno;
 using namespace cppu;
-using namespace rtl;
+
+using ::rtl::OUString;
 
 extern "C"
 {
diff --git a/dtrans/source/os2/clipb/Os2Clipboard.cxx b/dtrans/source/os2/clipb/Os2Clipboard.cxx
index 37a6f51..9c8e656 100644
--- a/dtrans/source/os2/clipb/Os2Clipboard.cxx
+++ b/dtrans/source/os2/clipb/Os2Clipboard.cxx
@@ -43,9 +43,10 @@ using namespace com::sun::star::lang;
 using namespace com::sun::star::uno;
 using namespace cppu;
 using namespace osl;
-using namespace rtl;
 using namespace os2;
 
+using ::rtl::OUString;
+
 const Type CPPUTYPE_SEQINT8	 = getCppuType( ( Sequence< sal_Int8 >* )0 );
 const Type CPPUTYPE_OUSTRING = getCppuType( (OUString*)0 );
 
diff --git a/dtrans/source/os2/clipb/Os2Service.cxx b/dtrans/source/os2/clipb/Os2Service.cxx
index aab01d3..e164b18 100644
--- a/dtrans/source/os2/clipb/Os2Service.cxx
+++ b/dtrans/source/os2/clipb/Os2Service.cxx
@@ -31,7 +31,6 @@
 #include <com/sun/star/container/XSet.hpp>
 #include <osl/diagnose.h>
 
-using namespace rtl;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::registry;
 using namespace cppu;
@@ -39,6 +38,8 @@ using namespace com::sun::star::lang;
 using namespace com::sun::star::datatransfer::clipboard;
 using namespace os2;
 
+using ::rtl::OUString;
+
 namespace os2 {
 
 Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& rServiceManager )
diff --git a/dtrans/source/os2/clipb/Os2Transferable.cxx b/dtrans/source/os2/clipb/Os2Transferable.cxx
index 21afdfb..bf04232 100644
--- a/dtrans/source/os2/clipb/Os2Transferable.cxx
+++ b/dtrans/source/os2/clipb/Os2Transferable.cxx
@@ -43,9 +43,10 @@ using namespace com::sun::star::io;
 using namespace com::sun::star::uno;
 using namespace cppu;
 using namespace osl;
-using namespace rtl;
 using namespace os2;
 
+using ::rtl::OUString;
+
 // =======================================================================
 
 Os2Transferable::Os2Transferable(
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index 42230e7..200091f 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -56,7 +56,6 @@
 // namespace directives
 //------------------------------------------------------------------------
 
-using namespace rtl;
 using namespace osl;
 using namespace std;
 using namespace cppu;
@@ -66,6 +65,8 @@ using namespace com::sun::star::datatransfer;
 using namespace com::sun::star::datatransfer::clipboard;
 using namespace com::sun::star::datatransfer::clipboard::RenderingCapabilities;
 
+using ::rtl::OUString;
+
 //------------------------------------------------------------------------
 // deklarations
 //------------------------------------------------------------------------
diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx
index d7ad868..f23be5b 100644
--- a/dtrans/source/win32/clipb/WinClipboard.cxx
+++ b/dtrans/source/win32/clipb/WinClipboard.cxx
@@ -43,7 +43,6 @@
 // namespace directives
 //------------------------------------------------------------------------
 
-using namespace rtl;
 using namespace osl;
 using namespace std;
 using namespace cppu;
@@ -53,6 +52,8 @@ using namespace com::sun::star::datatransfer;
 using namespace com::sun::star::datatransfer::clipboard;
 using namespace com::sun::star::lang;
 
+using ::rtl::OUString;
+
 //------------------------------------------------------------------------
 // defines
 //------------------------------------------------------------------------
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index d411671..4bd0257 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -50,7 +50,6 @@
 #define __uuidof(I) IID_##I
 #endif
 
-using namespace rtl;
 using namespace cppu;
 using namespace osl;
 using namespace com::sun::star::datatransfer;
@@ -61,6 +60,8 @@ using namespace com::sun::star::awt::MouseButton;
 using namespace com::sun::star::awt;
 using namespace com::sun::star::lang;
 
+using ::rtl::OUString;
+
 extern rtl_StandardModuleCount g_moduleCount;
 
 //--> TRA
diff --git a/dtrans/source/win32/dnd/source.hxx b/dtrans/source/win32/dnd/source.hxx
index cb10927..e09ebbf 100644
--- a/dtrans/source/win32/dnd/source.hxx
+++ b/dtrans/source/win32/dnd/source.hxx
@@ -45,10 +45,10 @@ using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::uno;
 using namespace cppu;
 using namespace osl;
-using namespace rtl;
 using namespace ::com::sun::star::datatransfer;
 using namespace ::com::sun::star::datatransfer::dnd;
 
+using ::rtl::OUString;
 
 
 class SourceContext;
diff --git a/dtrans/source/win32/dnd/target.cxx b/dtrans/source/win32/dnd/target.cxx
index bff6778..feef2c0 100644
--- a/dtrans/source/win32/dnd/target.cxx
+++ b/dtrans/source/win32/dnd/target.cxx
@@ -39,13 +39,14 @@
 #include "targetdropcontext.hxx"
 #include "targetdragcontext.hxx"
 #include <rtl/ustring.h>
-using namespace rtl;
 using namespace cppu;
 using namespace osl;
 using namespace com::sun::star::datatransfer;
 using namespace com::sun::star::datatransfer::dnd;
 using namespace com::sun::star::datatransfer::dnd::DNDConstants;
 
+using ::rtl::OUString;
+
 #define WM_REGISTERDRAGDROP WM_USER + 1
 #define WM_REVOKEDRAGDROP WM_USER + 2
 //--> TRA
diff --git a/dtrans/source/win32/dnd/target.hxx b/dtrans/source/win32/dnd/target.hxx
index b7144d4..5b0282c 100644
--- a/dtrans/source/win32/dnd/target.hxx
+++ b/dtrans/source/win32/dnd/target.hxx
@@ -52,10 +52,11 @@ using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::uno;
 using namespace cppu;
 using namespace osl;
-using namespace rtl;
 using namespace ::com::sun::star::datatransfer;
 using namespace ::com::sun::star::datatransfer::dnd;
 
+using ::rtl::OUString;
+
 
 // The client
 // has to call XComponent::dispose. The thread that calls initialize
diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx
index 09ebef7..4803288 100644
--- a/dtrans/source/win32/dtobj/DOTransferable.cxx
+++ b/dtrans/source/win32/dtobj/DOTransferable.cxx
@@ -58,7 +58,6 @@
 // namespace directives
 //------------------------------------------------------------------------
 
-using namespace rtl;
 using namespace std;
 using namespace osl;
 using namespace cppu;
@@ -68,6 +67,8 @@ using namespace com::sun::star::io;
 using namespace com::sun::star::lang;
 using namespace com::sun::star::container;
 
+using ::rtl::OUString;
+
 //------------------------------------------------------------------------
 // 
 //------------------------------------------------------------------------
diff --git a/dtrans/source/win32/dtobj/DataFmtTransl.cxx b/dtrans/source/win32/dtobj/DataFmtTransl.cxx
index 09971a0..6decfc3 100644
--- a/dtrans/source/win32/dtobj/DataFmtTransl.cxx
+++ b/dtrans/source/win32/dtobj/DataFmtTransl.cxx
@@ -61,12 +61,13 @@
 // namespace directives
 //------------------------------------------------------------------------
 
-using namespace rtl;
 using namespace std;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::datatransfer;
 using namespace com::sun::star::lang;
 
+using ::rtl::OUString;
+
 //------------------------------------------------------------------------
 // const
 //------------------------------------------------------------------------
diff --git a/dtrans/source/win32/dtobj/FetcList.cxx b/dtrans/source/win32/dtobj/FetcList.cxx
index b0c1f50..83d4f55 100644
--- a/dtrans/source/win32/dtobj/FetcList.cxx
+++ b/dtrans/source/win32/dtobj/FetcList.cxx
@@ -54,9 +54,10 @@ using namespace com::sun::star::uno;
 using namespace com::sun::star::datatransfer;
 using namespace com::sun::star::lang;
 using namespace com::sun::star::container;
-using namespace rtl;
 using namespace std;
 
+using ::rtl::OUString;
+
 //------------------------------------------------------------------------
 // 
 //------------------------------------------------------------------------
diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx
index a1aba1e..3c493d3 100644
--- a/dtrans/source/win32/dtobj/XTDataObject.cxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.cxx
@@ -64,7 +64,8 @@ using namespace com::sun::star::datatransfer;
 using namespace com::sun::star::datatransfer::clipboard;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::lang;
-using namespace rtl;
+
+using ::rtl::OUString;
 
 //------------------------------------------------------------------------
 // a helper class that will be thrown by the function validateFormatEtc
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx
index ec17b05..3bc2757 100644
--- a/dtrans/source/win32/ftransl/ftransl.cxx
+++ b/dtrans/source/win32/ftransl/ftransl.cxx
@@ -69,7 +69,7 @@ const com::sun::star::uno::Type CppuType_String       = ::getCppuType((const ::r
 // namespace directives
 //------------------------------------------------------------------------
 
-using namespace rtl;
+using ::rtl::OUString;
 using namespace osl;
 using namespace cppu;
 using namespace std;
diff --git a/toolkit/source/controls/eventcontainer.cxx b/toolkit/source/controls/eventcontainer.cxx
index 653f149..e1eb4bf 100644
--- a/toolkit/source/controls/eventcontainer.cxx
+++ b/toolkit/source/controls/eventcontainer.cxx
@@ -47,9 +47,9 @@ using namespace com::sun::star::registry;
 using namespace com::sun::star::script;
 using namespace cppu;
 using namespace osl;
-using namespace rtl;
 using namespace std;
 
+using ::rtl::OUString;
 
 namespace toolkit
 {


More information about the Libreoffice-commits mailing list