summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/dtobj/TxtCnvtHlp.cxx')
-rw-r--r--dtrans/source/win32/dtobj/TxtCnvtHlp.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx b/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx
index 2a0dfe78f604..f3560204fad5 100644
--- a/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx
+++ b/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx
@@ -25,10 +25,8 @@
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 )
{
return ( MultiByteToWideChar( code_page,
@@ -39,10 +37,8 @@ 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 )
{
return WideCharToMultiByte( code_page,
@@ -55,12 +51,10 @@ 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,
sal_uInt32 lenStr,
@@ -91,12 +85,10 @@ 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,
sal_uInt32 lenStr,