summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/editsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/editsh.cxx')
-rw-r--r--sc/source/ui/view/editsh.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index f497fb42adbb..542b35990af5 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -248,7 +248,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
sal_uLong nFormat = 0;
const SfxPoolItem* pItem;
if ( pReqArgs &&
- pReqArgs->GetItemState(nSlot, sal_True, &pItem) == SFX_ITEM_SET &&
+ pReqArgs->GetItemState(nSlot, true, &pItem) == SFX_ITEM_SET &&
pItem->ISA(SfxUInt32Item) )
{
nFormat = ((const SfxUInt32Item*)pItem)->GetValue();
@@ -516,7 +516,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
if( pReqArgs )
{
const SfxPoolItem* pItem;
- if ( pReqArgs->GetItemState( SID_HYPERLINK_SETLINK, sal_True, &pItem ) == SFX_ITEM_SET )
+ if ( pReqArgs->GetItemState( SID_HYPERLINK_SETLINK, true, &pItem ) == SFX_ITEM_SET )
{
const SvxHyperlinkItem* pHyper = (const SvxHyperlinkItem*) pItem;
const OUString& rName = pHyper->GetName();
@@ -1090,7 +1090,7 @@ void ScEditShell::GetAttrState(SfxItemSet &rSet)
// Unterstreichung
- SfxItemState eState = aAttribs.GetItemState( EE_CHAR_UNDERLINE, sal_True );
+ SfxItemState eState = aAttribs.GetItemState( EE_CHAR_UNDERLINE, true );
if ( eState == SFX_ITEM_DONTCARE )
{
rSet.InvalidateItem( SID_ULINE_VAL_NONE );
@@ -1132,7 +1132,7 @@ void ScEditShell::GetAttrState(SfxItemSet &rSet)
pViewData->GetBindings().Invalidate( SID_SET_SUPER_SCRIPT );
pViewData->GetBindings().Invalidate( SID_SET_SUB_SCRIPT );
- eState = aAttribs.GetItemState( EE_CHAR_KERNING, sal_True );
+ eState = aAttribs.GetItemState( EE_CHAR_KERNING, true );
pViewData->GetBindings().Invalidate( SID_ATTR_CHAR_KERNING );
if ( eState == SFX_ITEM_DONTCARE )
{
@@ -1189,7 +1189,7 @@ void ScEditShell::ExecuteUndo(SfxRequest& rReq)
sal_uInt16 nCount = 1;
const SfxPoolItem* pItem;
- if ( pReqArgs && pReqArgs->GetItemState( nSlot, sal_True, &pItem ) == SFX_ITEM_SET )
+ if ( pReqArgs && pReqArgs->GetItemState( nSlot, true, &pItem ) == SFX_ITEM_SET )
nCount = ((const SfxUInt16Item*)pItem)->GetValue();
for (sal_uInt16 i=0; i<nCount; i++)