diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-06-12 12:27:12 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-06-12 12:31:06 +0300 |
commit | 4fe407485f7c42f27101794594635ecf13d13826 (patch) | |
tree | bd0fd4429f40069018820d3416a5bc98ff52bc1f /extensions/source/ole/unoobjw.cxx | |
parent | 421afc1c6f65d2fff0946c2811ca214b75f230e0 (diff) |
Add some more SAL_INFOs
Change-Id: I5b50df5ea6b99164d150f99ae4fd36cddde22a60
Diffstat (limited to 'extensions/source/ole/unoobjw.cxx')
-rw-r--r-- | extensions/source/ole/unoobjw.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index 7df511f0016d..bdd527cb1ecf 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -149,9 +149,11 @@ public: // XTerminateListener void SAL_CALL queryTermination( const EventObject& ) override { + SAL_INFO("extensions.olebridge", "TerminationVetoer::queryTermination: count=" << mnCount); // Always veto termination while an OLE object is active if (mnCount > 0) { + SAL_INFO("extensions.olebridge", "TerminationVetoer::queryTermination: Throwing!"); throw css::frame::TerminationVetoException(); } } @@ -187,6 +189,7 @@ InterfaceOleWrapper::InterfaceOleWrapper( Reference<XMultiServiceFactory> const m_defaultValueType( 0) { TerminationVetoer::get()->mnCount++; + SAL_INFO("extensions.olebridge", "InterfaceOleWrapper CTOR, count=" << TerminationVetoer::get()->mnCount); } InterfaceOleWrapper::~InterfaceOleWrapper() @@ -198,6 +201,7 @@ InterfaceOleWrapper::~InterfaceOleWrapper() UnoObjToWrapperMap.erase(it); TerminationVetoer::get()->mnCount--; + SAL_INFO("extensions.olebridge", "InterfaceOleWrapper DTOR, count=" << TerminationVetoer::get()->mnCount); } STDMETHODIMP InterfaceOleWrapper::QueryInterface(REFIID riid, LPVOID FAR * ppv) |