| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 Eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 143 |
| 144 if (SUCCEEDED(pStyle->get_display(&bstrDisplay)) && bstrDisplay && CString(b
strDisplay) == L"none") | 144 if (SUCCEEDED(pStyle->get_display(&bstrDisplay)) && bstrDisplay && CString(b
strDisplay) == L"none") |
| 145 { | 145 { |
| 146 return; | 146 return; |
| 147 } | 147 } |
| 148 | 148 |
| 149 static const CComBSTR sbstrNone(L"none"); | 149 static const CComBSTR sbstrNone(L"none"); |
| 150 | 150 |
| 151 if (SUCCEEDED(pStyle->put_display(sbstrNone))) | 151 if (SUCCEEDED(pStyle->put_display(sbstrNone))) |
| 152 { | 152 { |
| 153 DEBUG_HIDE_EL(indent + L"HideEl::Hiding " + type + L" url:" + ToCString(ur
l)) | 153 DEBUG_HIDE_EL(ToWstring(indent) + L"HideEl::Hiding " + ToWstring(type) + L
" url:" + url) |
| 154 | 154 |
| 155 #ifdef ENABLE_DEBUG_RESULT | 155 #ifdef ENABLE_DEBUG_RESULT |
| 156 if (isDebug) | 156 if (isDebug) |
| 157 { | 157 { |
| 158 CPluginDebug::DebugResultHiding(type, ToCString(url), "-"); | 158 CPluginDebug::DebugResultHiding(ToWstring(type), url, L"-"); |
| 159 } | 159 } |
| 160 #endif // ENABLE_DEBUG_RESULT | 160 #endif // ENABLE_DEBUG_RESULT |
| 161 } | 161 } |
| 162 } | 162 } |
| 163 } | 163 } |
| OLD | NEW |