diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-23 22:28:08 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-23 22:29:33 +0100 |
commit | 943e2040a7e3dce7c49acafeff7a0e2125c355c8 (patch) | |
tree | 7ac8ad3efd9b788574130cef3ad60aab1562196a /svx/source | |
parent | 4ed06e7af5bc18e65c564339d26d2678abe4f69c (diff) |
tdf#91431 - fix post-dispose focus issue in color window.
Change-Id: I7990cbddc8c664da5ec6521cf8e036ca67d5ce0e
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/grafctrl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 3e5e255c6d1f..cb5add9fe78c 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -307,7 +307,8 @@ void ImplGrafControl::dispose() void ImplGrafControl::GetFocus() { - maField->GrabFocus(); + if (maField) + maField->GrabFocus(); } class ImplGrafModeControl : public ListBox |