summaryrefslogtreecommitdiff
path: root/dtrans/source/win32
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32')
-rw-r--r--dtrans/source/win32/clipb/APNDataObject.hxx4
-rw-r--r--dtrans/source/win32/clipb/MtaOleClipb.cxx4
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.cxx4
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx4
-rw-r--r--dtrans/source/win32/dtobj/APNDataObject.cxx4
-rw-r--r--dtrans/source/win32/dtobj/APNDataObject.hxx4
-rw-r--r--dtrans/source/win32/dtobj/DOTransferable.hxx4
-rw-r--r--dtrans/source/win32/dtobj/DTransHelper.hxx9
-rw-r--r--dtrans/source/win32/dtobj/DataFmtTransl.cxx4
-rw-r--r--dtrans/source/win32/dtobj/MimeAttrib.hxx4
-rw-r--r--dtrans/source/win32/dtobj/TxtCnvtHlp.hxx4
-rw-r--r--dtrans/source/win32/ftransl/ftransl.cxx4
-rw-r--r--dtrans/source/win32/ftransl/ftransl.hxx4
-rw-r--r--dtrans/source/win32/misc/ImplHelper.cxx4
-rw-r--r--dtrans/source/win32/misc/ImplHelper.hxx4
-rw-r--r--dtrans/source/win32/misc/WinClip.hxx4
16 files changed, 0 insertions, 69 deletions
diff --git a/dtrans/source/win32/clipb/APNDataObject.hxx b/dtrans/source/win32/clipb/APNDataObject.hxx
index d25141e65d95..279cd832b1dc 100644
--- a/dtrans/source/win32/clipb/APNDataObject.hxx
+++ b/dtrans/source/win32/clipb/APNDataObject.hxx
@@ -21,10 +21,6 @@
#ifndef _APNDATAOBJECT_HXX_
#define _APNDATAOBJECT_HXX_
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
/*
an APartment Neutral dataobject wrapper; this wrapper of a IDataObject
pointer can be used from any apartment without RPC_E_WRONG_THREAD
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx
index aec56cbd1009..de3bc4ee186c 100644
--- a/dtrans/source/win32/clipb/MtaOleClipb.cxx
+++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx
@@ -61,10 +61,6 @@ using osl::Mutex;
using osl::MutexGuard;
using osl::ClearableMutexGuard;
-//----------------------------------------------------------------
-// defines
-//----------------------------------------------------------------
-
namespace /* private */
{
char CLIPSRV_DLL_NAME[] = "sysdtrans.dll";
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index faeb993502db..841d601bbcbc 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -52,10 +52,6 @@ using namespace com::sun::star::datatransfer::clipboard::RenderingCapabilities;
using ::rtl::OUString;
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
// definition of static members
CWinClipbImpl* CWinClipbImpl::s_pCWinClipbImpl = NULL;
osl::Mutex CWinClipbImpl::s_aMutex;
diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx
index d5111f270f8c..4514e299358b 100644
--- a/dtrans/source/win32/clipb/WinClipboard.cxx
+++ b/dtrans/source/win32/clipb/WinClipboard.cxx
@@ -39,10 +39,6 @@ using namespace com::sun::star::lang;
using ::rtl::OUString;
-//------------------------------------------------------------------------
-// defines
-//------------------------------------------------------------------------
-
#define WINCLIPBOARD_IMPL_NAME "com.sun.star.datatransfer.clipboard.ClipboardW32"
//------------------------------------------------------------------------
diff --git a/dtrans/source/win32/dtobj/APNDataObject.cxx b/dtrans/source/win32/dtobj/APNDataObject.cxx
index 53e67a733e95..eefa2fe17cb8 100644
--- a/dtrans/source/win32/dtobj/APNDataObject.cxx
+++ b/dtrans/source/win32/dtobj/APNDataObject.cxx
@@ -28,10 +28,6 @@
#define __uuidof(I) IID_##I
#endif
-//------------------------------------------------------------------------
-// defines
-//------------------------------------------------------------------------
-
#define FREE_HGLOB_ON_RELEASE TRUE
#define KEEP_HGLOB_ON_RELEASE FALSE
diff --git a/dtrans/source/win32/dtobj/APNDataObject.hxx b/dtrans/source/win32/dtobj/APNDataObject.hxx
index 3905086cd3b6..6ef90e16f068 100644
--- a/dtrans/source/win32/dtobj/APNDataObject.hxx
+++ b/dtrans/source/win32/dtobj/APNDataObject.hxx
@@ -23,10 +23,6 @@
#include <systools/win32/comtools.hxx>
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
/*
an APartment Neutral dataobject wrapper; this wrapper of a IDataObject
pointer can be used from any apartment without RPC_E_WRONG_THREAD
diff --git a/dtrans/source/win32/dtobj/DOTransferable.hxx b/dtrans/source/win32/dtobj/DOTransferable.hxx
index b19bda4b090c..2b423a5bb2a7 100644
--- a/dtrans/source/win32/dtobj/DOTransferable.hxx
+++ b/dtrans/source/win32/dtobj/DOTransferable.hxx
@@ -31,10 +31,6 @@
#include <systools/win32/comtools.hxx>
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
// forward
class CDTransObjFactory;
class CFormatEtc;
diff --git a/dtrans/source/win32/dtobj/DTransHelper.hxx b/dtrans/source/win32/dtobj/DTransHelper.hxx
index 209e504d9d4a..8f5a8956ccc5 100644
--- a/dtrans/source/win32/dtobj/DTransHelper.hxx
+++ b/dtrans/source/win32/dtobj/DTransHelper.hxx
@@ -30,20 +30,11 @@
#endif
#include "../misc/WinClip.hxx"
-//------------------------------------------------------------------------
-// defines
-//------------------------------------------------------------------------
-
#define AUTO_INIT TRUE
#define NO_AUTO_INIT FALSE
#define MEM_DESTROY_ON_RELEASE TRUE
#define NO_MEM_DESTROY_ON_RELEASE FALSE
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
-
//-------------------------------------------------------------------------
// a helper class to manage a global memory area, the clients can write
// into the global memory area and extract the handle to the global mem
diff --git a/dtrans/source/win32/dtobj/DataFmtTransl.cxx b/dtrans/source/win32/dtobj/DataFmtTransl.cxx
index cfbb5e169ded..a990b70f543f 100644
--- a/dtrans/source/win32/dtobj/DataFmtTransl.cxx
+++ b/dtrans/source/win32/dtobj/DataFmtTransl.cxx
@@ -53,10 +53,6 @@ using namespace com::sun::star::lang;
using ::rtl::OUString;
-//------------------------------------------------------------------------
-// const
-//------------------------------------------------------------------------
-
const Type CPPUTYPE_SALINT32 = getCppuType((sal_Int32*)0);
const Type CPPUTYPE_SALINT8 = getCppuType((sal_Int8*)0);
const Type CPPUTYPE_OUSTRING = getCppuType((OUString*)0);
diff --git a/dtrans/source/win32/dtobj/MimeAttrib.hxx b/dtrans/source/win32/dtobj/MimeAttrib.hxx
index 1bd0d31fc78b..1d5422e21d7f 100644
--- a/dtrans/source/win32/dtobj/MimeAttrib.hxx
+++ b/dtrans/source/win32/dtobj/MimeAttrib.hxx
@@ -23,10 +23,6 @@
#include <rtl/ustring.hxx>
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
const rtl::OUString TEXTPLAIN_PARAM_CHARSET("charset");
const rtl::OUString PRE_WINDOWS_CODEPAGE ("windows");
diff --git a/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx b/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx
index 8b6d7663ad16..6ecd88e99b61 100644
--- a/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx
+++ b/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx
@@ -34,10 +34,6 @@
#pragma warning(pop)
#endif
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
int MultiByteToWideCharEx( UINT cp_src,
LPCSTR lpMultiByteString,
sal_uInt32 lenStr,
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx
index 6ab60d385ad3..4f64f15311c4 100644
--- a/dtrans/source/win32/ftransl/ftransl.cxx
+++ b/dtrans/source/win32/ftransl/ftransl.cxx
@@ -32,10 +32,6 @@
#pragma warning(pop)
#endif
-//------------------------------------------------------------------------
-// defines
-//------------------------------------------------------------------------
-
#define IMPL_NAME "com.sun.star.datatransfer.DataFormatTranslator"
#define MODULE_PRIVATE
diff --git a/dtrans/source/win32/ftransl/ftransl.hxx b/dtrans/source/win32/ftransl/ftransl.hxx
index 5c8df8ab6dc8..195dc52cb8e4 100644
--- a/dtrans/source/win32/ftransl/ftransl.hxx
+++ b/dtrans/source/win32/ftransl/ftransl.hxx
@@ -39,10 +39,6 @@
#pragma warning(pop)
#endif
-//------------------------------------------------------------------------
-// declarations
-//------------------------------------------------------------------------
-
struct FormatEntry
{
FormatEntry();
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx
index c72c23c5a401..93f0ba198468 100644
--- a/dtrans/source/win32/misc/ImplHelper.cxx
+++ b/dtrans/source/win32/misc/ImplHelper.cxx
@@ -36,10 +36,6 @@
#include <vector>
-//------------------------------------------------------------------------
-// defines
-//------------------------------------------------------------------------
-
#define FORMATETC_EXACT_MATCH 1
#define FORMATETC_PARTIAL_MATCH -1
#define FORMATETC_NO_MATCH 0
diff --git a/dtrans/source/win32/misc/ImplHelper.hxx b/dtrans/source/win32/misc/ImplHelper.hxx
index 682aaf87d863..811849e332bf 100644
--- a/dtrans/source/win32/misc/ImplHelper.hxx
+++ b/dtrans/source/win32/misc/ImplHelper.hxx
@@ -32,10 +32,6 @@
#pragma warning(pop)
#endif
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
// target device and formatetc helper
void SAL_CALL DeleteTargetDevice(DVTARGETDEVICE* ptd);
sal_Bool SAL_CALL CopyFormatEtc(LPFORMATETC petcDest, LPFORMATETC petcSrc);
diff --git a/dtrans/source/win32/misc/WinClip.hxx b/dtrans/source/win32/misc/WinClip.hxx
index 66cfd2922540..d447922c928a 100644
--- a/dtrans/source/win32/misc/WinClip.hxx
+++ b/dtrans/source/win32/misc/WinClip.hxx
@@ -23,10 +23,6 @@
#include <sal/types.h>
-//------------------------------------------------------------------------
-// deklarations
-//------------------------------------------------------------------------
-
const sal_Int32 CF_INVALID = 0;
#endif