framework/source/fwe/helper/titlehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f80de31099be1ba7c6f753187f6703a915151c27 Author: akash <akash...@gmail.com> Date: Fri Mar 25 10:09:07 2016 +0530 tdf#96896-Fix infinite recursion to prevent Writer crash To prevent infinite recursion set m_xOwner to null. Removed impl_sendTitleChangedEvent from disposing method ensuring that title is never constructed for a component that is disposing. Change-Id: I9bc20a9a582d5d911509d2aa30fb0d0122eb588e Reviewed-on: https://gerrit.libreoffice.org/23509 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Michael Stahl <mst...@redhat.com> diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index 178a92e..9441e5c 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -249,13 +249,13 @@ void SAL_CALL TitleHelper::disposing(const css::lang::EventObject& aEvent) // SYNCHRONIZED -> aLock.reset (); + m_xOwner = nullptr; m_sTitle = OUString (); m_nLeasedNumber = css::frame::UntitledNumbersConst::INVALID_NUMBER; aLock.clear (); // <- SYNCHRONIZED - impl_sendTitleChangedEvent (); } void TitleHelper::impl_sendTitleChangedEvent () _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits