diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-06-12 12:27:12 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-08-22 10:41:13 +0200 |
commit | b5c5cccabe68dc2de84cee4ef041f52268e5b8b4 (patch) | |
tree | 8d764c3f2198d6d143b65b768084008705adf164 | |
parent | 9082e4df0133cdf13d10dac2a8fa293b4405463b (diff) |
Add some more SAL_INFOs
Change-Id: I5b50df5ea6b99164d150f99ae4fd36cddde22a60
Reviewed-on: https://gerrit.libreoffice.org/77928
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
-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 1a476117e739..bc166d979b63 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -147,9 +147,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(); } } @@ -185,6 +187,7 @@ InterfaceOleWrapper::InterfaceOleWrapper( Reference<XMultiServiceFactory> const m_defaultValueType( 0) { TerminationVetoer::get()->mnCount++; + SAL_INFO("extensions.olebridge", "InterfaceOleWrapper CTOR, count=" << TerminationVetoer::get()->mnCount); } InterfaceOleWrapper::~InterfaceOleWrapper() @@ -196,6 +199,7 @@ InterfaceOleWrapper::~InterfaceOleWrapper() UnoObjToWrapperMap.erase(it); TerminationVetoer::get()->mnCount--; + SAL_INFO("extensions.olebridge", "InterfaceOleWrapper DTOR, count=" << TerminationVetoer::get()->mnCount); } STDMETHODIMP InterfaceOleWrapper::QueryInterface(REFIID riid, void ** ppv) |