diff options
Diffstat (limited to 'framework/source/helper/tagwindowasmodified.cxx')
-rw-r--r-- | framework/source/helper/tagwindowasmodified.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/source/helper/tagwindowasmodified.cxx b/framework/source/helper/tagwindowasmodified.cxx index f17594cee477..93f2ace64c99 100644 --- a/framework/source/helper/tagwindowasmodified.cxx +++ b/framework/source/helper/tagwindowasmodified.cxx @@ -123,6 +123,9 @@ void SAL_CALL TagWindowAsModified::disposing(const css::lang::EventObject& aEven SolarMutexGuard g; css::uno::Reference< css::frame::XFrame > xFrame(m_xFrame.get(), css::uno::UNO_QUERY); + if (xFrame.is()) + xFrame->addFrameActionListener(this); + if ( (xFrame.is () ) && (aEvent.Source == xFrame) |