diff options
Diffstat (limited to 'plugins/IEView')
-rw-r--r-- | plugins/IEView/src/Utils.cpp | 16 | ||||
-rw-r--r-- | plugins/IEView/src/Utils.h | 2 |
2 files changed, 0 insertions, 18 deletions
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, "<img class=\"img\" src=\"file://%s/plugins/ieview/%s\"/> ", 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
|