summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/sidebar/CellLineStyleControl.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/ui/sidebar/CellLineStyleControl.cxx b/sc/source/ui/sidebar/CellLineStyleControl.cxx
index e23f4cde5e54..9ef1f83f6312 100644
--- a/sc/source/ui/sidebar/CellLineStyleControl.cxx
+++ b/sc/source/ui/sidebar/CellLineStyleControl.cxx
@@ -110,7 +110,8 @@ void CellLineStyleControl::SetAllNoSel()
{
maCellLineStyleValueSet->SelectItem(0);
maCellLineStyleValueSet->SetNoSelection();
- maCellLineStyleValueSet->Format();
+ maCellLineStyleValueSet->SetFormat();
+ maCellLineStyleValueSet->Invalidate();
Invalidate();
maCellLineStyleValueSet->StartSelection();
}
@@ -251,8 +252,8 @@ void CellLineStyleControl::SetLineStyleSelect(sal_uInt16 out, sal_uInt16 in, sal
maCellLineStyleValueSet->SetSelItem(0);
mbVSfocus = false;
}
-
- maCellLineStyleValueSet->Format();
+ maCellLineStyleValueSet->SetFormat();
+ maCellLineStyleValueSet->Invalidate();
maCellLineStyleValueSet->StartSelection();
}