summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/services/desktop.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index 22a8360d5335..434435d481fe 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1121,11 +1121,11 @@ void SAL_CALL Desktop::disposing()
m_xStarBasicQuitGuard.clear();
m_xSWThreadManager.clear();
- // we need a copy because the notifyTermination might call the removeEventListener method
+ // we need a copy because the disposing might call the removeEventListener method
std::vector< css::uno::Reference<css::frame::XTerminateListener> > xComponentDllListeners = m_xComponentDllListeners;
for (auto& xListener: xComponentDllListeners)
{
- xListener->notifyTermination(aEvent);
+ xListener->disposing(aEvent);
}
xComponentDllListeners.clear();
m_xComponentDllListeners.clear();