summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-08-13 15:39:54 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-08-13 15:42:30 +0300
commit4622823a800804acf15c0f4a5adecce03ae65189 (patch)
treeecaf0998cec67c69c21a4f866f73362639e1b779 /sc
parent3f4482ebc2c3b260d42422efbee92c4210e35767 (diff)
Another GrabFocus during dispose
Change-Id: I89f8aa5e087e95c96d63695be0ec4e9b4fbe0a0c
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/sidebar/CellLineStyleControl.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sc/source/ui/sidebar/CellLineStyleControl.cxx b/sc/source/ui/sidebar/CellLineStyleControl.cxx
index 309885809b2f..c250b903d350 100644
--- a/sc/source/ui/sidebar/CellLineStyleControl.cxx
+++ b/sc/source/ui/sidebar/CellLineStyleControl.cxx
@@ -96,14 +96,10 @@ void CellLineStyleControl::Initialize()
void CellLineStyleControl::GetFocus()
{
- if(!mbVSfocus)
- {
+ if (!mbVSfocus && maPushButtonMoreOptions)
maPushButtonMoreOptions->GrabFocus();
- }
- else
- {
+ else if (maCellLineStyleValueSet)
maCellLineStyleValueSet->GrabFocus();
- }
}
void CellLineStyleControl::SetAllNoSel()