| commit | 35584bd345feb5869676b3eebf1586b248d35c3f | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Tue Mar 10 14:18:52 2020 +0000 |
| committer | Xisco Faulí <xiscofauli@libreoffice.org> | Wed Mar 11 15:12:47 2020 +0100 |
| tree | 4010238c992db91b6cb9a0f64a3045b450acdfe2 | |
| parent | cdc438e60ffb96ca85e9dd7060ba2b68db3821d4 [diff] |
Resolves: tdf#131248 a11y crash when closing SQL Edit Query Change-Id: I39db7b352dd460f46092a054bfa89f5acdda54c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90274 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index b9e630e..39b15117 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx
@@ -1087,6 +1087,9 @@ void VclMultiLineEdit::SetReadOnly( bool bReadOnly ) bool VclMultiLineEdit::IsReadOnly() const { if (!pImpVclMEdit) // might be called from within the dtor, when pImpVclMEdit == NULL is a valid state return true; return pImpVclMEdit->IsReadOnly(); }