summaryrefslogtreecommitdiff
path: root/plugins/IEView/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-24 21:10:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-24 21:10:34 +0000
commitc619ad70603e5355e68e78001df154c98306e805 (patch)
treef767c0c71b899dde03594fb52ea401477e58761b /plugins/IEView/src
parent4130d717a6b56a709c100a155442aef74515e101 (diff)
unused functions removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4179 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src')
-rw-r--r--plugins/IEView/src/Utils.cpp16
-rw-r--r--plugins/IEView/src/Utils.h2
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