diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-13 14:55:34 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-13 14:59:24 +0300 |
commit | b556f14fab25ddccbe9a54fe53450a641dbc5a49 (patch) | |
tree | 86f36e365596ec1b127674bbf65d6f8ec2464872 /svx | |
parent | 12761ab70553bb0d2746d7d95958dc6fbc7082e0 (diff) |
tdf#93407 GrabFocus during dispose
Reproduced with the gen vclplug
Change-Id: Ia8a5c73908f5af47ef55b4431b6e1e5a21609e7d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/line/LineWidthControl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx index 4053c495a047..62a517018fcd 100644 --- a/svx/source/sidebar/line/LineWidthControl.cxx +++ b/svx/source/sidebar/line/LineWidthControl.cxx @@ -179,9 +179,9 @@ void LineWidthControl::Initialize() void LineWidthControl::GetFocus() { - if(!mbVSFocus) + if (!mbVSFocus && maMFWidth) maMFWidth->GrabFocus(); - else + else if (maVSWidth) maVSWidth->GrabFocus(); } |