summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/prntopts.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/prntopts.cxx')
-rwxr-xr-xsd/source/ui/dlg/prntopts.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/dlg/prntopts.cxx b/sd/source/ui/dlg/prntopts.cxx
index 3c9aad38c332..c792b1554e5b 100755
--- a/sd/source/ui/dlg/prntopts.cxx
+++ b/sd/source/ui/dlg/prntopts.cxx
@@ -109,7 +109,7 @@ SdPrintOptions::~SdPrintOptions()
// -----------------------------------------------------------------------
-BOOL SdPrintOptions::FillItemSet( SfxItemSet& rAttrs )
+sal_Bool SdPrintOptions::FillItemSet( SfxItemSet& rAttrs )
{
if( aCbxDraw.GetSavedValue() != aCbxDraw.IsChecked() ||
aCbxNotes.GetSavedValue() != aCbxNotes.IsChecked() ||
@@ -146,7 +146,7 @@ BOOL SdPrintOptions::FillItemSet( SfxItemSet& rAttrs )
aOptions.GetOptionsPrint().SetBackPage( aCbxBack.IsChecked() );
aOptions.GetOptionsPrint().SetPaperbin( aCbxPaperbin.IsChecked() );
- UINT16 nQuality = 0; // Standard, also Color
+ sal_uInt16 nQuality = 0; // Standard, also Color
if( aRbtGrayscale.IsChecked() )
nQuality = 1;
if( aRbtBlackWhite.IsChecked() )
@@ -155,9 +155,9 @@ BOOL SdPrintOptions::FillItemSet( SfxItemSet& rAttrs )
rAttrs.Put( aOptions );
- return( TRUE );
+ return( sal_True );
}
- return( FALSE );
+ return( sal_False );
}
// -----------------------------------------------------------------------
@@ -165,7 +165,7 @@ BOOL SdPrintOptions::FillItemSet( SfxItemSet& rAttrs )
void SdPrintOptions::Reset( const SfxItemSet& rAttrs )
{
const SdOptionsPrintItem* pPrintOpts = NULL;
- if( SFX_ITEM_SET == rAttrs.GetItemState( ATTR_OPTIONS_PRINT, FALSE,
+ if( SFX_ITEM_SET == rAttrs.GetItemState( ATTR_OPTIONS_PRINT, sal_False,
(const SfxPoolItem**) &pPrintOpts ) )
{
aCbxDraw.Check( pPrintOpts->GetOptionsPrint().IsDraw() );
@@ -190,7 +190,7 @@ void SdPrintOptions::Reset( const SfxItemSet& rAttrs )
aRbtDefault.Check();
}
- UINT16 nQuality = pPrintOpts->GetOptionsPrint().GetOutputQuality();
+ sal_uInt16 nQuality = pPrintOpts->GetOptionsPrint().GetOutputQuality();
if( nQuality == 0 )
aRbtColor.Check();
else if( nQuality == 1 )
@@ -300,7 +300,7 @@ void SdPrintOptions::PageCreated (SfxAllItemSet
SFX_ITEMSET_ARG (&aSet,pFlagItem,SfxUInt32Item,SID_SDMODE_FLAG,sal_False);
if (pFlagItem)
{
- UINT32 nFlags=pFlagItem->GetValue();
+ sal_uInt32 nFlags=pFlagItem->GetValue();
if ( ( nFlags & SD_DRAW_MODE ) == SD_DRAW_MODE )
SetDrawMode();
}