diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-30 07:11:11 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-30 07:11:11 +0000 |
commit | a46baf1a0315e63a3e08b2272622831194cf7b11 (patch) | |
tree | ac11c05e1dffcb5bd77e8ea16097d6ae6f91c677 /plugins/Toaster/src/toast_notification.cpp | |
parent | a3441bbbcdef9558827f3223511871a1695cee8f (diff) |
Toaster: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@15111 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/toast_notification.cpp')
-rw-r--r-- | plugins/Toaster/src/toast_notification.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp index c3c4b506f4..47f98dbf28 100644 --- a/plugins/Toaster/src/toast_notification.cpp +++ b/plugins/Toaster/src/toast_notification.cpp @@ -223,9 +223,6 @@ HRESULT ToastNotification::Show(_In_ ToastEventHandler* handler) EventRegistrationToken activatedToken, dismissedToken, failedToken;
Microsoft::WRL::ComPtr<ToastEventHandler> eventHandler(handler);
- hr = notification->add_Activated(eventHandler.Get(), &activatedToken);
- if (FAILED(hr))
- return hr;
notification->add_Activated(eventHandler.Get(), &activatedToken);
notification->add_Dismissed(eventHandler.Get(), &dismissedToken);
|