summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/UnoDocumentSettings.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-03-18 15:40:35 +0100
committerJan Holesovsky <kendy@suse.cz>2011-03-18 15:40:35 +0100
commit571e3b112b2fda5f1fca87d8433797a72e3a306e (patch)
tree5a4624b7579133aae2e8986b19022965dd919fd9 /sd/source/ui/unoidl/UnoDocumentSettings.cxx
parente66c2fcdf9a97fcb592d38373aec76e68332c66c (diff)
parentc4ffa8e23e4192a2494aae24ad79a53865b138a2 (diff)
Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts: sd/source/ui/func/fuinsfil.cxx sd/source/ui/func/fuprobjs.cxx sd/source/ui/slideshow/slideshowimpl.cxx sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx sd/source/ui/toolpanel/ToolPanelViewShell.cxx sd/source/ui/view/drawview.cxx sd/source/ui/view/drtxtob.cxx sd/source/ui/view/outlnvsh.cxx sd/source/ui/view/outlview.cxx
Diffstat (limited to 'sd/source/ui/unoidl/UnoDocumentSettings.cxx')
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.cxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
index e5d3e2e46..7880bff38 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -235,11 +235,11 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
SdOptionsPrintItem aOptionsPrintItem( ATTR_OPTIONS_PRINT );
- SfxPrinter* pPrinter = pDocSh->GetPrinter( FALSE );
+ SfxPrinter* pPrinter = pDocSh->GetPrinter( sal_False );
if( pPrinter )
{
SdOptionsPrintItem* pPrinterOptions = NULL;
- if(pPrinter->GetOptions().GetItemState( ATTR_OPTIONS_PRINT, FALSE, (const SfxPoolItem**) &pPrinterOptions) == SFX_ITEM_SET)
+ if(pPrinter->GetOptions().GetItemState( ATTR_OPTIONS_PRINT, sal_False, (const SfxPoolItem**) &pPrinterOptions) == SFX_ITEM_SET)
aOptionsPrintItem.GetOptionsPrint() = pPrinterOptions->GetOptionsPrint();
}
else
@@ -456,7 +456,7 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
{
if( static_cast<sal_Int16>( aPrintOpts.GetHandoutPages() ) != nValue )
{
- aPrintOpts.SetHandoutPages( static_cast< UINT16 >( nValue ) );
+ aPrintOpts.SetHandoutPages( static_cast< sal_uInt16 >( nValue ) );
bOptionsChanged = true;
}
bOk = sal_True;
@@ -721,16 +721,16 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
pDoc->SetSummationOfParagraphs( bIsSummationOfParagraphs );
SdDrawDocument* pDocument = pDocSh->GetDoc();
- SdrOutliner& rOutl = pDocument->GetDrawOutliner( FALSE );
+ SdrOutliner& rOutl = pDocument->GetDrawOutliner( sal_False );
nCntrl = rOutl.GetControlWord() &~ EE_CNTRL_ULSPACESUMMATION;
rOutl.SetControlWord( nCntrl | nSum );
- ::sd::Outliner* pOutl = pDocument->GetOutliner( FALSE );
+ ::sd::Outliner* pOutl = pDocument->GetOutliner( sal_False );
if( pOutl )
{
nCntrl = pOutl->GetControlWord() &~ EE_CNTRL_ULSPACESUMMATION;
pOutl->SetControlWord( nCntrl | nSum );
}
- pOutl = pDocument->GetInternalOutliner( FALSE );
+ pOutl = pDocument->GetInternalOutliner( sal_False );
if( pOutl )
{
nCntrl = pOutl->GetControlWord() &~ EE_CNTRL_ULSPACESUMMATION;
@@ -748,19 +748,19 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
{
bOk = sal_True;
- pDoc->SetCharCompressType( (UINT16)nCharCompressType );
+ pDoc->SetCharCompressType( (sal_uInt16)nCharCompressType );
SdDrawDocument* pDocument = pDocSh->GetDoc();
- SdrOutliner& rOutl = pDocument->GetDrawOutliner( FALSE );
- rOutl.SetAsianCompressionMode( (UINT16)nCharCompressType );
- ::sd::Outliner* pOutl = pDocument->GetOutliner( FALSE );
+ SdrOutliner& rOutl = pDocument->GetDrawOutliner( sal_False );
+ rOutl.SetAsianCompressionMode( (sal_uInt16)nCharCompressType );
+ ::sd::Outliner* pOutl = pDocument->GetOutliner( sal_False );
if( pOutl )
{
- pOutl->SetAsianCompressionMode( (UINT16)nCharCompressType );
+ pOutl->SetAsianCompressionMode( (sal_uInt16)nCharCompressType );
}
- pOutl = pDocument->GetInternalOutliner( FALSE );
+ pOutl = pDocument->GetInternalOutliner( sal_False );
if( pOutl )
{
- pOutl->SetAsianCompressionMode( (UINT16)nCharCompressType );
+ pOutl->SetAsianCompressionMode( (sal_uInt16)nCharCompressType );
}
}
break;
@@ -775,14 +775,14 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
pDoc->SetKernAsianPunctuation( bAsianPunct );
SdDrawDocument* pDocument = pDocSh->GetDoc();
- SdrOutliner& rOutl = pDocument->GetDrawOutliner( FALSE );
+ SdrOutliner& rOutl = pDocument->GetDrawOutliner( sal_False );
rOutl.SetKernAsianPunctuation( bAsianPunct );
- ::sd::Outliner* pOutl = pDocument->GetOutliner( FALSE );
+ ::sd::Outliner* pOutl = pDocument->GetOutliner( sal_False );
if( pOutl )
{
pOutl->SetKernAsianPunctuation( bAsianPunct );
}
- pOutl = pDocument->GetInternalOutliner( FALSE );
+ pOutl = pDocument->GetInternalOutliner( sal_False );
if( pOutl )
{
pOutl->SetKernAsianPunctuation( bAsianPunct );
@@ -857,7 +857,7 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
if( bOptionsChanged )
{
if( !pPrinter )
- pPrinter = pDocSh->GetPrinter( TRUE );
+ pPrinter = pDocSh->GetPrinter( sal_True );
SfxItemSet aNewOptions( pPrinter->GetOptions() );
aNewOptions.Put( aOptionsPrintItem );
pPrinter->SetOptions( aNewOptions );
@@ -878,11 +878,11 @@ void DocumentSettings::_getPropertyValues( const PropertyMapEntry** ppEntries, A
SdOptionsPrintItem aOptionsPrintItem( ATTR_OPTIONS_PRINT );
- SfxPrinter* pPrinter = pDocSh->GetPrinter( FALSE );
+ SfxPrinter* pPrinter = pDocSh->GetPrinter( sal_False );
if( pPrinter )
{
SdOptionsPrintItem* pPrinterOptions = NULL;
- if(pPrinter->GetOptions().GetItemState( ATTR_OPTIONS_PRINT, FALSE, (const SfxPoolItem**) &pPrinterOptions) == SFX_ITEM_SET)
+ if(pPrinter->GetOptions().GetItemState( ATTR_OPTIONS_PRINT, sal_False, (const SfxPoolItem**) &pPrinterOptions) == SFX_ITEM_SET)
aOptionsPrintItem.GetOptionsPrint() = pPrinterOptions->GetOptionsPrint();
}
else