summaryrefslogtreecommitdiff
path: root/dtrans/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-27 13:57:05 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-27 13:57:05 +0100
commitd8ca1920245fee0af82adaecc4a2cc9f90a53ad6 (patch)
tree6173977290450386d704366ee7be90a461fbaad4 /dtrans/source
parenta1f57cc3f0699ac32a0f380ac32de8d0b65e088d (diff)
Remove "using namespace ::rtl"
Diffstat (limited to 'dtrans/source')
-rw-r--r--dtrans/source/cnttype/mcnttype.cxx3
-rw-r--r--dtrans/source/generic/dtrans.cxx3
-rw-r--r--dtrans/source/os2/clipb/Os2Clipboard.cxx3
-rw-r--r--dtrans/source/os2/clipb/Os2Service.cxx3
-rw-r--r--dtrans/source/os2/clipb/Os2Transferable.cxx3
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.cxx3
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx3
-rw-r--r--dtrans/source/win32/dnd/source.cxx3
-rw-r--r--dtrans/source/win32/dnd/source.hxx2
-rw-r--r--dtrans/source/win32/dnd/target.cxx3
-rw-r--r--dtrans/source/win32/dnd/target.hxx3
-rw-r--r--dtrans/source/win32/dtobj/DOTransferable.cxx3
-rw-r--r--dtrans/source/win32/dtobj/DataFmtTransl.cxx3
-rw-r--r--dtrans/source/win32/dtobj/FetcList.cxx3
-rw-r--r--dtrans/source/win32/dtobj/XTDataObject.cxx3
-rw-r--r--dtrans/source/win32/ftransl/ftransl.cxx2
16 files changed, 30 insertions, 16 deletions
diff --git a/dtrans/source/cnttype/mcnttype.cxx b/dtrans/source/cnttype/mcnttype.cxx
index 3edc2eca2ba1..952e4eab93a7 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 dbe2ff05c79d..926e385749b8 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 c57c394e420d..260c58f0d46f 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 f0b53faca876..ddbdf6ecddaa 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 bc1840d38c0a..908a2f00ace4 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 8b717d9a3ed0..e2755bcd8123 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 0ade8dcad446..76cf9bc2711b 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 7d714aed4a33..6e1f9f5b1bb5 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 feef33a18add..4efa573e0e25 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 1f67d3cb92e1..b501f7454bd4 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 e85bd89f2fb0..375dfbc018bf 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 11d963da3093..a8360095683b 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 48b4328113cd..c3171c91d0ee 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 3f7be8b53f2b..b7e556445fdb 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 f2e1fd579f8e..514669cfe15c 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 ffa0a9a43e56..ca2d29448d7d 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;