mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 05:30:30 +00:00
msxml3: Remove no longer used helper.
This commit is contained in:
parent
451915100a
commit
8e52466757
@ -205,22 +205,6 @@ static inline LPWSTR heap_strdupW(LPCWSTR str)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static inline LPSTR heap_strdupWtoA(LPCWSTR str)
|
||||
{
|
||||
LPSTR ret = NULL;
|
||||
|
||||
if(str) {
|
||||
DWORD len = WideCharToMultiByte(CP_ACP, 0, str, -1, NULL, 0, NULL, NULL);
|
||||
ret = heap_alloc(len+1);
|
||||
if(!ret)
|
||||
return NULL;
|
||||
|
||||
WideCharToMultiByte(CP_ACP, 0, str, -1, ret, len+1, NULL, NULL);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* XSLProcessor parameter list */
|
||||
struct xslprocessor_par
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user