Nikolay Sivov : msxml3: Remove no longer used helper.

Alexandre Julliard julliard at winehq.org
Thu May 15 15:14:28 CDT 2014


Module: wine
Branch: master
Commit: 8e524667578aca111fc94bb69a4afc05a4b5df1f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8e524667578aca111fc94bb69a4afc05a4b5df1f

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue May 13 13:46:48 2014 +0400

msxml3: Remove no longer used helper.

---

 dlls/msxml3/msxml_private.h |   16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h
index 167e74f..a57dc60 100644
--- a/dlls/msxml3/msxml_private.h
+++ b/dlls/msxml3/msxml_private.h
@@ -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
 {




More information about the wine-cvs mailing list