diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-06-12 12:27:12 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-09-20 15:19:52 +0200 |
commit | c73da4e98a5cc789573216b9e2bdd1e0a20ffce0 (patch) | |
tree | 9808d02393a5fbf769c5d5c99b2be07f8c7259d0 /extensions | |
parent | b0f86853b51391b2c2a08b48efe90c619161a60f (diff) |
Add some more SAL_INFOs
Change-Id: I5b50df5ea6b99164d150f99ae4fd36cddde22a60
(cherry picked from commit 4fe407485f7c42f27101794594635ecf13d13826)
Reviewed-on: https://gerrit.libreoffice.org/79247
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'extensions')
-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 9c70af4ad9c5..f868e87bf0c2 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, LPVOID FAR * ppv) |