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-26 14:06:27 +0100 |
commit | 010eb0628f8f934c3c3d41f4b6338fa8935c95b9 (patch) | |
tree | a2fa87c30ec93542a1efc6447489f9469fbc2af4 /svx | |
parent | 08ab1bc21e327b4178877aafe0424d8888a09e9b (diff) |
tdf#91431 - fix post-dispose focus issue in color window.
Change-Id: I7990cbddc8c664da5ec6521cf8e036ca67d5ce0e
Diffstat (limited to 'svx')
-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 |