summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx')
-rw-r--r--sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
index 59c8d050a629..4ea37c98074b 100644
--- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
@@ -277,8 +277,8 @@ void NumberFormatPropertyPanel::NotifyItemUpdate(
break;
case SID_NUMBER_FORMAT:
{
- bool bThousand = 0;
- bool bNegRed = 0;
+ bool bThousand = false;
+ bool bNegRed = false;
sal_uInt16 nPrecision = 0;
sal_uInt16 nLeadZeroes = 0;
if( eState >= SFX_ITEM_AVAILABLE)
@@ -328,8 +328,8 @@ void NumberFormatPropertyPanel::NotifyItemUpdate(
}
else
{
- bThousand = 0;
- bNegRed = 0;
+ bThousand = false;
+ bNegRed = false;
nPrecision = 0;
nLeadZeroes = 1;
}