summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx')
-rw-r--r--sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
index 4623c244cef6..670c55ac9292 100644
--- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
+++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
@@ -311,7 +311,10 @@ void CellAppearancePropertyPanel::NotifyItemUpdate(
if(pBoxItem)
{
- mbLeft=false, mbRight=false, mbTop=false, mbBottom=false;
+ mbLeft=false;
+ mbRight=false;
+ mbTop=false;
+ mbBottom=false;
if(pBoxItem->GetLeft())
mbLeft = true;
@@ -348,7 +351,8 @@ void CellAppearancePropertyPanel::NotifyItemUpdate(
{
bool bLeft(false), bRight(false), bTop(false), bBottom(false);
- mbVer = false, mbHor = false;
+ mbVer = false;
+ mbHor = false;
if(!pBoxInfoItem->IsValid( SvxBoxInfoItemValidFlags::VERT ) || pBoxInfoItem->GetVert())
mbVer = true;