diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-10 13:54:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-10 13:54:28 +0000 |
commit | 3bcc4ebb3e1a43574fb934a80903feaa56642089 (patch) | |
tree | 254424be4b3f19e17a089bee94c66ce2acac0106 /protocols/JabberG/src/jabber_std.cpp | |
parent | d5d50b471277d5d69f59a8f29bf87201149ce191 (diff) |
obsolete helper removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@5306 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_std.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_std.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/JabberG/src/jabber_std.cpp b/protocols/JabberG/src/jabber_std.cpp index df45146891..c7b206e5ef 100644 --- a/protocols/JabberG/src/jabber_std.cpp +++ b/protocols/JabberG/src/jabber_std.cpp @@ -30,23 +30,6 @@ void CJabberProto::JDeleteSetting(HANDLE hContact, const char* valueName) db_unset(hContact, m_szModuleName, valueName);
}
-int CJabberProto::JGetStaticString(const char* valueName, HANDLE hContact, char* dest, int dest_len)
-{
- DBVARIANT dbv;
- dbv.pszVal = dest;
- dbv.cchVal = dest_len;
- dbv.type = DBVT_ASCIIZ;
-
- DBCONTACTGETSETTING sVal;
- sVal.pValue = &dbv;
- sVal.szModule = m_szModuleName;
- sVal.szSetting = valueName;
- if (CallService(MS_DB_CONTACT_GETSETTINGSTATIC, (WPARAM)hContact, (LPARAM)&sVal) != 0)
- return 1;
-
- return (dbv.type != DBVT_ASCIIZ);
-}
-
int CJabberProto::JGetStringUtf(HANDLE hContact, char* valueName, DBVARIANT* dbv)
{
return db_get_utf(hContact, m_szModuleName, valueName, dbv);
|