OLD | NEW |
1 #include "PluginStdAfx.h" | 1 #include "PluginStdAfx.h" |
2 | 2 |
3 #include "PluginClient.h" | 3 #include "PluginClient.h" |
4 #include "PluginSettings.h" | 4 #include "PluginSettings.h" |
5 #ifdef SUPPORT_CONFIG | 5 #ifdef SUPPORT_CONFIG |
6 #include "PluginConfig.h" | 6 #include "PluginConfig.h" |
7 #endif | 7 #endif |
8 #include "PluginTab.h" | 8 #include "PluginTab.h" |
9 #include "PluginDomTraverser.h" | 9 #include "PluginDomTraverser.h" |
10 #include "PluginClass.h" | 10 #include "PluginClass.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 pOleObj->GetClientSite(&pClientSite); | 232 pOleObj->GetClientSite(&pClientSite); |
233 if (pClientSite != NULL) | 233 if (pClientSite != NULL) |
234 { | 234 { |
235 CComPtr<IDocHostUIHandler> docHostUIHandler; | 235 CComPtr<IDocHostUIHandler> docHostUIHandler; |
236 pClientSite->QueryInterface(IID_IDocHostUIHandler, (void**)&docHostUIHandl
er); | 236 pClientSite->QueryInterface(IID_IDocHostUIHandler, (void**)&docHostUIHandl
er); |
237 if (docHostUIHandler != NULL) | 237 if (docHostUIHandler != NULL) |
238 { | 238 { |
239 docHostUIHandler->UpdateUI(); | 239 docHostUIHandler->UpdateUI(); |
240 } | 240 } |
241 } | 241 } |
242 | |
243 pDoc.Release(); | |
244 pDocDispatch.Release(); | |
245 } | 242 } |
246 #endif | 243 #endif |
247 } | 244 } |
248 | 245 |
249 CString CPluginTabBase::GetDocumentDomain() | 246 CString CPluginTabBase::GetDocumentDomain() |
250 { | 247 { |
251 CString domain; | 248 CString domain; |
252 | 249 |
253 m_criticalSection.Lock(); | 250 m_criticalSection.Lock(); |
254 { | 251 { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 CPluginClient::LogPluginError(pluginError.GetErrorCode(), pluginError.
GetErrorId(), pluginError.GetErrorSubid(), pluginError.GetErrorDescription(), tr
ue, pluginError.GetProcessId(), pluginError.GetThreadId()); | 385 CPluginClient::LogPluginError(pluginError.GetErrorCode(), pluginError.
GetErrorId(), pluginError.GetErrorSubid(), pluginError.GetErrorDescription(), tr
ue, pluginError.GetProcessId(), pluginError.GetThreadId()); |
389 } | 386 } |
390 | 387 |
391 // Non-hanging sleep | 388 // Non-hanging sleep |
392 Sleep(50); | 389 Sleep(50); |
393 } | 390 } |
394 | 391 |
395 tabLoopIteration++; | 392 tabLoopIteration++; |
396 } | 393 } |
397 } | 394 } |
OLD | NEW |