summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg/tptable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/pagedlg/tptable.cxx')
-rw-r--r--sc/source/ui/pagedlg/tptable.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/pagedlg/tptable.cxx b/sc/source/ui/pagedlg/tptable.cxx
index fd93283eaa89..b204b7259976 100644
--- a/sc/source/ui/pagedlg/tptable.cxx
+++ b/sc/source/ui/pagedlg/tptable.cxx
@@ -69,7 +69,7 @@ static sal_Bool lcl_PutBoolItem( sal_uInt16 nWhich,
#define PAGEDIR_HDL LINK(this,ScTablePage,PageDirHdl)
#define SCALE_HDL LINK(this,ScTablePage,ScaleHdl)
-#define WAS_DEFAULT(w,s) (SFX_ITEM_DEFAULT==(s).GetItemState((w),sal_True))
+#define WAS_DEFAULT(w,s) (SFX_ITEM_DEFAULT==(s).GetItemState((w),true))
#define GET_BOOL(sid,set) ((const SfxBoolItem&)((set).Get(GetWhich((sid))))).GetValue()
#define GET_USHORT(sid,set) (sal_uInt16)((const SfxUInt16Item&)((set).Get(GetWhich((sid))))).GetValue()
#define GET_SHOW(sid,set) ( ScVObjMode( ((const ScViewObjectModeItem&)((set).Get(GetWhich((sid))))).GetValue() ) \
@@ -165,7 +165,7 @@ void ScTablePage::Reset( const SfxItemSet& rCoreSet )
// scaling:
nWhich = GetWhich(SID_SCATTR_PAGE_SCALE);
- if ( rCoreSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE )
+ if ( rCoreSet.GetItemState( nWhich, true ) >= SFX_ITEM_AVAILABLE )
{
sal_uInt16 nScale = ((const SfxUInt16Item&)rCoreSet.Get(nWhich)).GetValue();
if( nScale > 0 )
@@ -174,7 +174,7 @@ void ScTablePage::Reset( const SfxItemSet& rCoreSet )
}
nWhich = GetWhich(SID_SCATTR_PAGE_SCALETO);
- if ( rCoreSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE )
+ if ( rCoreSet.GetItemState( nWhich, true ) >= SFX_ITEM_AVAILABLE )
{
const ScPageScaleToItem& rItem = static_cast< const ScPageScaleToItem& >( rCoreSet.Get( nWhich ) );
sal_uInt16 nWidth = rItem.GetWidth();
@@ -190,7 +190,7 @@ void ScTablePage::Reset( const SfxItemSet& rCoreSet )
}
nWhich = GetWhich(SID_SCATTR_PAGE_SCALETOPAGES);
- if ( rCoreSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE )
+ if ( rCoreSet.GetItemState( nWhich, true ) >= SFX_ITEM_AVAILABLE )
{
sal_uInt16 nPages = ((const SfxUInt16Item&)rCoreSet.Get(nWhich)).GetValue();
if( nPages > 0 )