Index: src/plugin/PluginClass.cpp |
=================================================================== |
--- a/src/plugin/PluginClass.cpp |
+++ b/src/plugin/PluginClass.cpp |
@@ -261,7 +261,7 @@ |
// Always register on startup, then check if we need to unregister in a separate thread |
s_mimeFilter = CPluginClientFactory::GetMimeFilterClientInstance(); |
s_asyncWebBrowser2 = unknownSite; |
- s_instances.insert( this ); |
+ s_instances.insert(this); |
} |
s_criticalSectionLocal.Unlock(); |
@@ -372,7 +372,7 @@ |
{ |
s_threadInstances.erase(it); |
} |
- if ( s_instances.empty() ) |
+ if (s_instances.empty()) |
{ |
CPluginClientFactory::ReleaseMimeFilterClientInstance(); |
} |
@@ -893,11 +893,10 @@ |
s_criticalSectionLocal.Lock(); |
{ |
- for ( auto instance : s_instances ) |
+ for (auto instance : s_instances) |
{ |
- if ( instance->m_hTabWnd == hTabWnd2) |
+ if (instance->m_hTabWnd == hTabWnd2) |
{ |
- |
bExistingTab = true; |
break; |
} |
@@ -1062,13 +1061,13 @@ |
CPluginClass* CPluginClass::FindInstance(HWND hStatusBarWnd) |
{ |
- CPluginClass* return_instance = NULL; |
+ CPluginClass* return_instance = nullptr; |
s_criticalSectionLocal.Lock(); |
{ |
- for ( auto instance : s_instances ) |
+ for (auto instance : s_instances) |
{ |
- if ( instance->m_hStatusBarWnd == hStatusBarWnd) |
+ if (instance->m_hStatusBarWnd == hStatusBarWnd) |
{ |
return_instance = instance; |
break; |
@@ -1949,9 +1948,9 @@ |
s_criticalSectionLocal.Lock(); |
{ |
- for ( auto instance : s_instances ) |
+ for (auto instance : s_instances) |
{ |
- if ( instance->m_hTabWnd == hTabWnd2 ) |
+ if (instance->m_hTabWnd == hTabWnd2) |
{ |
bExistingTab = true; |
break; |