diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-08-08 13:53:08 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-08-08 13:53:54 +0200 |
commit | 2beba8f93e7991372dd45351c92c50f7850dc46a (patch) | |
tree | 15dfae00223ccc7fdbfe2e06a3d931b97fded890 /dtrans | |
parent | 49ad17e2b1aef65fad357b9c540ab36189233dd3 (diff) |
reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
Diffstat (limited to 'dtrans')
20 files changed, 0 insertions, 89 deletions
diff --git a/dtrans/source/cnttype/mcnttfactory.cxx b/dtrans/source/cnttype/mcnttfactory.cxx index 38f1fb782e1e..e232cb462639 100644 --- a/dtrans/source/cnttype/mcnttfactory.cxx +++ b/dtrans/source/cnttype/mcnttfactory.cxx @@ -21,10 +21,6 @@ #include "mcnttfactory.hxx" #include "mcnttype.hxx" -//------------------------------------------------------------------------ -// defines -//------------------------------------------------------------------------ - #define MIMECONTENTTYPEFACTORY_IMPL_NAME "com.sun.star.datatransfer.MimeCntTypeFactory" //------------------------------------------------------------------------ diff --git a/dtrans/source/cnttype/mcnttfactory.hxx b/dtrans/source/cnttype/mcnttfactory.hxx index 1a3dcf848f2c..a64f89033043 100644 --- a/dtrans/source/cnttype/mcnttfactory.hxx +++ b/dtrans/source/cnttype/mcnttfactory.hxx @@ -27,14 +27,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/datatransfer/XMimeContentTypeFactory.hpp> -//------------------------------------------------------------------------ -// defines -//------------------------------------------------------------------------ - -//------------------------------------------------------------------------ -// deklarations -//------------------------------------------------------------------------ - class CMimeContentTypeFactory : public cppu::WeakImplHelper2< com::sun::star::datatransfer::XMimeContentTypeFactory, \ com::sun::star::lang::XServiceInfo > diff --git a/dtrans/source/cnttype/mcnttype.hxx b/dtrans/source/cnttype/mcnttype.hxx index 09b2fddd4496..b3f65e16df50 100644 --- a/dtrans/source/cnttype/mcnttype.hxx +++ b/dtrans/source/cnttype/mcnttype.hxx @@ -29,10 +29,6 @@ #include <map> -//------------------------------------------------------------------------ -// deklarations -//------------------------------------------------------------------------ - class CMimeContentType : public cppu::WeakImplHelper1< com::sun::star::datatransfer::XMimeContentType > { diff --git a/dtrans/source/inc/DtObjFactory.hxx b/dtrans/source/inc/DtObjFactory.hxx index 4fa8c798ea05..6d5a221d6ed6 100644 --- a/dtrans/source/inc/DtObjFactory.hxx +++ b/dtrans/source/inc/DtObjFactory.hxx @@ -26,10 +26,6 @@ #include <systools/win32/comtools.hxx> -//------------------------------------------------------------------------ -// deklarations -//------------------------------------------------------------------------ - class CDTransObjFactory { public: 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 |