From c619ad70603e5355e68e78001df154c98306e805 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 24 Mar 2013 21:10:34 +0000 Subject: unused functions removed git-svn-id: http://svn.miranda-ng.org/main/trunk@4179 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/Utils.cpp | 16 ---------------- plugins/IEView/src/Utils.h | 2 -- 2 files changed, 18 deletions(-) (limited to 'plugins') diff --git a/plugins/IEView/src/Utils.cpp b/plugins/IEView/src/Utils.cpp index a53db0998f..888a526101 100644 --- a/plugins/IEView/src/Utils.cpp +++ b/plugins/IEView/src/Utils.cpp @@ -183,22 +183,6 @@ char *Utils::escapeString(const char *a) return out; } -wchar_t *Utils::urlEncode(const wchar_t *text) -{ - char *utf8 = mir_utf8encodeT(text); - wchar_t *result = urlEncode(utf8); - mir_free(utf8); - return result; -} - -wchar_t *Utils::urlEncode(const char *text) -{ - char *pszReturnString = (char *)CallService(MS_NETLIB_URLENCODE, 0, (LPARAM)text); - wchar_t *result = mir_a2t(pszReturnString); - HeapFree(GetProcessHeap(), 0, pszReturnString); - return result; -} - void Utils::appendIcon(char **str, int *sizeAlloced, const char *iconFile) { Utils::appendText(str, sizeAlloced, " ", workingDirUtf8, iconFile); diff --git a/plugins/IEView/src/Utils.h b/plugins/IEView/src/Utils.h index c3d7df78ec..124ce51673 100644 --- a/plugins/IEView/src/Utils.h +++ b/plugins/IEView/src/Utils.h @@ -42,8 +42,6 @@ public: static void convertPath(wchar_t *path); static char *escapeString(const char *a); static int detectURL(const wchar_t *text); - static wchar_t *urlEncode(const wchar_t *a); - static wchar_t *urlEncode(const char *a); }; #endif -- cgit v1.2.3