summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwshh.cxx')
-rw-r--r--sc/source/ui/view/tabvwshh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx
index faa7e91fc417..f99c60617fc6 100644
--- a/sc/source/ui/view/tabvwshh.cxx
+++ b/sc/source/ui/view/tabvwshh.cxx
@@ -102,7 +102,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq )
{
bool bDone = false;
const SfxPoolItem* pItem;
- if ( pReqArgs && pReqArgs->GetItemState( nSlotId, sal_True, &pItem ) == SFX_ITEM_SET )
+ if ( pReqArgs && pReqArgs->GetItemState( nSlotId, true, &pItem ) == SFX_ITEM_SET )
{
long nNewVal = ((const SfxInt32Item*)pItem)->GetValue();
if ( nNewVal < 0 )