diff options
Diffstat (limited to 'sc/source/ui/optdlg/tpprint.cxx')
-rw-r--r-- | sc/source/ui/optdlg/tpprint.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/optdlg/tpprint.cxx b/sc/source/ui/optdlg/tpprint.cxx index d14b79bd739a..636f9f8a931d 100644 --- a/sc/source/ui/optdlg/tpprint.cxx +++ b/sc/source/ui/optdlg/tpprint.cxx @@ -41,7 +41,7 @@ // ----------------------------------------------------------------------- -static USHORT pPrintOptRanges[] = +static sal_uInt16 pPrintOptRanges[] = { SID_SCPRINTOPTIONS, SID_SCPRINTOPTIONS, @@ -67,7 +67,7 @@ ScTpPrintOptions::~ScTpPrintOptions() { } -USHORT* ScTpPrintOptions::GetRanges() +sal_uInt16* ScTpPrintOptions::GetRanges() { return pPrintOptRanges; } @@ -92,7 +92,7 @@ void ScTpPrintOptions::Reset( const SfxItemSet& rCoreSet ) ScPrintOptions aOptions; const SfxPoolItem* pItem; - if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SCPRINTOPTIONS, FALSE , &pItem)) + if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SCPRINTOPTIONS, sal_False , &pItem)) aOptions = ((const ScTpPrintItem*)pItem)->GetPrintOptions(); else { @@ -100,9 +100,9 @@ void ScTpPrintOptions::Reset( const SfxItemSet& rCoreSet ) aOptions = SC_MOD()->GetPrintOptions(); } - if ( SFX_ITEM_SET == rCoreSet.GetItemState( SID_PRINT_SELECTEDSHEET, FALSE , &pItem ) ) + if ( SFX_ITEM_SET == rCoreSet.GetItemState( SID_PRINT_SELECTEDSHEET, sal_False , &pItem ) ) { - BOOL bChecked = ( (const SfxBoolItem*)pItem )->GetValue(); + sal_Bool bChecked = ( (const SfxBoolItem*)pItem )->GetValue(); aSelectedSheetsCB.Check( bChecked ); } else @@ -117,7 +117,7 @@ void ScTpPrintOptions::Reset( const SfxItemSet& rCoreSet ) // ----------------------------------------------------------------------- -BOOL ScTpPrintOptions::FillItemSet( SfxItemSet& rCoreAttrs ) +sal_Bool ScTpPrintOptions::FillItemSet( SfxItemSet& rCoreAttrs ) { rCoreAttrs.ClearItem( SID_PRINT_SELECTEDSHEET ); @@ -134,11 +134,11 @@ BOOL ScTpPrintOptions::FillItemSet( SfxItemSet& rCoreAttrs ) { rCoreAttrs.Put( SfxBoolItem( SID_PRINT_SELECTEDSHEET, aSelectedSheetsCB.IsChecked() ) ); } - return TRUE; + return sal_True; } else { - return FALSE; + return sal_False; } } |