sw/source/uibase/docvw/SidebarWinAcc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8d83093e36e973f4d188682ac2bfa9a6d80622f3 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri May 28 21:12:03 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri May 28 22:24:28 2021 +0200 tdf#142547 Crash when adding comment in a table in Writer regression from commit 819b30e937d227d1458ecc22b09ef994ebe7e17e Date: Wed May 19 14:47:19 2021 +0200 tdf#142367 Writer crashes when opening docx Change-Id: I47050391e36c4fa40519f029171e663a456fcb25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116361 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/uibase/docvw/SidebarWinAcc.cxx b/sw/source/uibase/docvw/SidebarWinAcc.cxx index 4e52b471aa4b..82046d7426dd 100644 --- a/sw/source/uibase/docvw/SidebarWinAcc.cxx +++ b/sw/source/uibase/docvw/SidebarWinAcc.cxx @@ -37,7 +37,7 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent explicit SidebarWinAccessibleContext( sw::annotation::SwAnnotationWin& rSidebarWin, SwViewShell& rViewShell, const SwFrame* pAnchorFrame ) - : VCLXAccessibleComponent( rSidebarWin.GetWindowPeer() ) + : VCLXAccessibleComponent( dynamic_cast<VCLXWindow*>(rSidebarWin.CreateAccessible().get()) ) , mrViewShell( rViewShell ) , mpAnchorFrame( pAnchorFrame ) , maMutex() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits