summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 17:55:36 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 17:57:29 +0900
commit2fa44119c802c39c4871e77726c01e6ba62a6262 (patch)
treeae76ef6155e4cfc858f586c04d2d50eb7aa92a55 /sc
parentfb8f83c12e991ad01f049332c022697736d03986 (diff)
refactor ValueSet to use RenderContext
Change-Id: I3985804f8cfd1b6807bc02bef5af3e24e5cb3cbf
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();
}