[Libreoffice-commits] core.git: vcl/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon May 11 11:01:36 PDT 2015
vcl/source/control/ilstbox.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit c975bee3a7db0d318d1e460312be2922a09c7cea
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon May 11 19:01:37 2015 +0200
tdf#91227 vcl: fix crash in ImplListBox during paste special in Writer
Change-Id: I65637e7a205c443ff104a1ed5469aabd69571635
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 131f598..a5ef9a9 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -2241,6 +2241,9 @@ void ImplListBox::SetNoSelection()
void ImplListBox::GetFocus()
{
+ if (!maLBWindow || maLBWindow->IsDisposed())
+ return;
+
maLBWindow->GrabFocus();
}
More information about the Libreoffice-commits
mailing list