Resolves: tdf#131248 a11y crash when closing SQL Edit Query
Change-Id: I39db7b352dd460f46092a054bfa89f5acdda54c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90259 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
59fdea242f
commit
3fb0d46b1e
1 changed files with 3 additions and 0 deletions
|
@ -1088,6 +1088,9 @@ void VclMultiLineEdit::SetReadOnly( bool bReadOnly )
|
||||||
|
|
||||||
bool VclMultiLineEdit::IsReadOnly() const
|
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();
|
return pImpVclMEdit->IsReadOnly();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue