[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - extensions/source
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 12 09:32:21 UTC 2019
extensions/source/ole/unoobjw.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 4fe407485f7c42f27101794594635ecf13d13826
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Jun 12 12:27:12 2019 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Jun 12 12:31:06 2019 +0300
Add some more SAL_INFOs
Change-Id: I5b50df5ea6b99164d150f99ae4fd36cddde22a60
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)
More information about the Libreoffice-commits
mailing list