diff options
-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) |