summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/progress.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/progress.cxx')
-rw-r--r--sc/source/core/tool/progress.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/progress.cxx b/sc/source/core/tool/progress.cxx
index e066dfa698d4..dcbc3c6f1258 100644
--- a/sc/source/core/tool/progress.cxx
+++ b/sc/source/core/tool/progress.cxx
@@ -56,7 +56,7 @@ static sal_Bool lcl_IsHiddenDocument( SfxObjectShell* pObjSh )
{
SfxItemSet* pSet = pMed->GetItemSet();
const SfxPoolItem* pItem;
- if ( pSet && SFX_ITEM_SET == pSet->GetItemState( SID_HIDDEN, sal_True, &pItem ) &&
+ if ( pSet && SFX_ITEM_SET == pSet->GetItemState( SID_HIDDEN, true, &pItem ) &&
((const SfxBoolItem*)pItem)->GetValue() )
return sal_True;
}