summaryrefslogtreecommitdiffstats
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.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx
index 480514741bae..7622832f9094 100644
--- a/sc/source/ui/view/tabvwshh.cxx
+++ b/sc/source/ui/view/tabvwshh.cxx
@@ -72,7 +72,7 @@ void ScTabViewShell::GetSbxState( SfxItemSet& /* rSet */ )
void ScTabViewShell::ExecuteObject( SfxRequest& rReq )
{
- USHORT nSlotId = rReq.GetSlot();
+ sal_uInt16 nSlotId = rReq.GetSlot();
const SfxItemSet* pReqArgs = rReq.GetArgs();
// Objekte aktivieren/deaktivieren immer auf der sichtbaren View
@@ -115,9 +115,9 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq )
case SID_OBJECT_WIDTH:
case SID_OBJECT_HEIGHT:
{
- BOOL bDone = FALSE;
+ sal_Bool bDone = sal_False;
const SfxPoolItem* pItem;
- if ( pReqArgs && pReqArgs->GetItemState( nSlotId, TRUE, &pItem ) == SFX_ITEM_SET )
+ if ( pReqArgs && pReqArgs->GetItemState( nSlotId, sal_True, &pItem ) == SFX_ITEM_SET )
{
long nNewVal = ((const SfxInt32Item*)pItem)->GetValue();
if ( nNewVal < 0 )
@@ -146,7 +146,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq )
pDrView->ResizeMarkedObj( aRect.TopLeft(),
Fraction( 1, 1 ),
Fraction( nNewVal, aRect.GetHeight() ) );
- bDone = TRUE;
+ bDone = sal_True;
}
}
}
@@ -183,7 +183,7 @@ void ScTabViewShell::GetObjectState( SfxItemSet& rSet )
// SID_OLE_OBJECT - removed (old Basic)
SfxWhichIter aIter(rSet);
- USHORT nWhich = aIter.FirstWhich();
+ sal_uInt16 nWhich = aIter.FirstWhich();
while ( nWhich )
{
switch (nWhich)
@@ -267,7 +267,7 @@ void ScTabViewShell::BroadcastAccessibility( const SfxHint &rHint )
pAccessibilityBroadcaster->Broadcast( rHint );
}
-BOOL ScTabViewShell::HasAccessibilityObjects()
+sal_Bool ScTabViewShell::HasAccessibilityObjects()
{
return pAccessibilityBroadcaster != NULL;
}