From 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Sat, 22 Feb 2014 21:20:15 +0100 Subject: Remove unneccessary comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- dtrans/source/win32/dtobj/TxtCnvtHlp.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'dtrans/source/win32/dtobj/TxtCnvtHlp.cxx') diff --git a/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx b/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx index 2f5128c5f59d..2a0dfe78f604 100644 --- a/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx +++ b/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx @@ -25,9 +25,9 @@ using namespace ::com::sun::star::datatransfer; using namespace ::com::sun::star::uno; -//------------------------------------------------------------------ + // assuming a '\0' terminated string if no length specified -//------------------------------------------------------------------ + int CalcBuffSizeForTextConversion( UINT code_page, LPCSTR lpMultiByteString, int nLen = -1 ) { @@ -39,9 +39,9 @@ int CalcBuffSizeForTextConversion( UINT code_page, LPCSTR lpMultiByteString, int 0 ) * sizeof( sal_Unicode ) ); } -//------------------------------------------------------------------ + // assuming a '\0' terminated string if no length specified -//------------------------------------------------------------------ + int CalcBuffSizeForTextConversion( UINT code_page, LPCWSTR lpWideCharString, int nLen = -1 ) { @@ -55,11 +55,11 @@ int CalcBuffSizeForTextConversion( UINT code_page, LPCWSTR lpWideCharString, int NULL ); } -//------------------------------------------------------------------ + // converts text in one code page into unicode text // automatically calculates the necessary buffer size and allocates // the buffer -//------------------------------------------------------------------ + int MultiByteToWideCharEx( UINT cp_src, LPCSTR lpMultiByteString, @@ -91,11 +91,11 @@ int MultiByteToWideCharEx( UINT cp_src, ptrHGlob.MemSize( ) ); } -//------------------------------------------------------------------ + // converts unicode text into text of the specified code page // automatically calculates the necessary buffer size and allocates // the buffer -//------------------------------------------------------------------ + int WideCharToMultiByteEx( UINT cp_dest, LPCWSTR lpWideCharString, -- cgit