[Libreoffice-bugs] [Bug 138512] CRASH: Changing vertical alignment
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 28 11:56:13 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=138512
--- Comment #3 from Julien Nabet <serval2412 at yahoo.fr> ---
With this patch, I don't reproduce the crash with gtk3:
diff --git a/sw/source/core/access/accmap.cxx
b/sw/source/core/access/accmap.cxx
index 8f3543dcd4df..e4e33ab26bdb 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -2749,7 +2749,7 @@ void SwAccessibleMap::InvalidateCursorPosition( const
SwFrame *pFrame )
for (SwAccessibleParagraph* pAccPara : m_setParaRemove)
{
- if(pAccPara && pAccPara->getSelectedAccessibleChildCount() == 0 &&
pAccPara->getSelectedText().getLength() == 0)
+ if(pAccPara && pAccPara->GetFrame() &&
pAccPara->getSelectedAccessibleChildCount() == 0 &&
pAccPara->getSelectedText().getLength() == 0)
{
if(pAccPara->SetSelectedState(false))
{
but don't know if it's the right way to fix this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201128/1cfadd84/attachment.htm>
More information about the Libreoffice-bugs
mailing list