summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /dtrans/source/win32/dtobj/TxtCnvtHlp.cxx
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dtrans/source/win32/dtobj/TxtCnvtHlp.cxx')
-rw-r--r--dtrans/source/win32/dtobj/TxtCnvtHlp.cxx16
1 files changed, 8 insertions, 8 deletions
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,