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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
index 3a162f9434de..51bc433e63ff 100644
--- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
@@ -216,7 +216,7 @@ void NumberFormatPropertyPanel::NotifyItemUpdate(
{
case SID_NUMBER_TYPE_FORMAT:
{
- if( eState >= SFX_ITEM_AVAILABLE)
+ if( eState >= SFX_ITEM_DEFAULT)
{
const SfxInt16Item* pItem = (const SfxInt16Item*)pState;
sal_uInt16 nVal = pItem->GetValue();
@@ -254,7 +254,7 @@ void NumberFormatPropertyPanel::NotifyItemUpdate(
bool bNegRed = false;
sal_uInt16 nPrecision = 0;
sal_uInt16 nLeadZeroes = 0;
- if( eState >= SFX_ITEM_AVAILABLE)
+ if( eState >= SFX_ITEM_DEFAULT)
{
const SfxStringItem* pItem = (const SfxStringItem*)pState;
OUString aCode = pItem->GetValue();