diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-21 22:50:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-21 22:50:50 +0000 |
commit | 15fa9a8a6dbce8619118c9f0cea877fbf903700a (patch) | |
tree | e63fd66f3332fa62103a7a71fc043a11b3b5f1fe /protocols/FacebookRM/src/proto.cpp | |
parent | c4645924a1a945ddf1c02c60450b8b9ca0363c65 (diff) |
explicit constructors for ptrT
git-svn-id: http://svn.miranda-ng.org/main/trunk@6174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 7a508dfe29..bd2dd4e071 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -241,9 +241,9 @@ HANDLE FacebookProto::SearchByName(const PROTOCHAR* nick, const PROTOCHAR* first HANDLE FacebookProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
{
- ptrA id = mir_t2a_cp(psr->id, CP_UTF8);
- ptrA name = mir_t2a_cp(psr->firstName, CP_UTF8);
- ptrA surname = mir_t2a_cp(psr->lastName, CP_UTF8);
+ ptrA id( mir_t2a_cp(psr->id, CP_UTF8));
+ ptrA name( mir_t2a_cp(psr->firstName, CP_UTF8));
+ ptrA surname( mir_t2a_cp(psr->lastName, CP_UTF8));
if (id == NULL)
return NULL;
@@ -683,7 +683,7 @@ void FacebookProto::OpenUrl(std::string url) url = (useHttps ? HTTP_PROTO_SECURE : HTTP_PROTO_REGULAR) + facy.get_server_type() + url;
}
- ptrT data = mir_utf8decodeT(url.c_str());
+ ptrT data( mir_utf8decodeT(url.c_str()));
CallService(MS_UTILS_OPENURL, (WPARAM)OUF_TCHAR, (LPARAM)data);
}
|