diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-13 10:22:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-14 07:50:34 +0200 |
commit | 5fe7ecc04f35ef785510e3ef404f46eb6f05a123 (patch) | |
tree | 4c141983d092ef097c09187abb634f2e4a717452 /sd | |
parent | c2324940d384186ff02581e49a24ea8235cd584c (diff) |
sfx2: sal_Bool->bool
Change-Id: I56a50ee4a169c8f82c830ebf498f7ead1335f0b5
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/navigatr.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/sddetect.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 1bccb601148a..61c453397fef 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -200,7 +200,7 @@ SdDrawDocument* SdDrawDocument::OpenBookmarkDoc(SfxMedium& rMedium) const SfxFilter* pFilter = rMedium.GetFilter(); if ( !pFilter ) { - rMedium.UseInteractionHandler( sal_True ); + rMedium.UseInteractionHandler( true ); SFX_APP()->GetFilterMatcher().GuessFilter( rMedium, &pFilter ); } diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx index 5adfe0321047..3ccf8ab54a82 100644 --- a/sd/source/ui/dlg/navigatr.cxx +++ b/sd/source/ui/dlg/navigatr.cxx @@ -629,7 +629,7 @@ bool SdNavigatorWin::InsertFile(const OUString& rFileName) { SfxMedium aMed(aFileName, (STREAM_READ | STREAM_SHARE_DENYNONE)); SfxFilterMatcher aMatch( OUString("simpress") ); - aMed.UseInteractionHandler( sal_True ); + aMed.UseInteractionHandler( true ); nErr = aMatch.GuessFilter(aMed, &pFilter); } diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index ef934866130d..c7e3ad4f4ce8 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -2744,7 +2744,7 @@ void SAL_CALL SlideshowImpl::activate() throw (RuntimeException, std::exception) if( pDispatcher ) { // filter all forbiden slots - pDispatcher->SetSlotFilter( sal_True, sizeof(pAllowed) / sizeof(sal_uInt16), pAllowed ); + pDispatcher->SetSlotFilter( true, sizeof(pAllowed) / sizeof(sal_uInt16), pAllowed ); } if( getBindings() ) diff --git a/sd/source/ui/unoidl/sddetect.cxx b/sd/source/ui/unoidl/sddetect.cxx index 614773c7d7f7..b1c12c1c696f 100644 --- a/sd/source/ui/unoidl/sddetect.cxx +++ b/sd/source/ui/unoidl/sddetect.cxx @@ -213,7 +213,7 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes { // ctor of SfxMedium uses owner transition of ItemSet SfxMedium aMedium( aURL, bWasReadOnly ? STREAM_STD_READ : STREAM_STD_READWRITE, NULL, pSet ); - aMedium.UseInteractionHandler( sal_True ); + aMedium.UseInteractionHandler( true ); if ( !aPreselectedFilterName.isEmpty() ) pFilter = SfxFilter::GetFilterByName( aPreselectedFilterName ); else if (!aTypeName.isEmpty()) @@ -237,7 +237,7 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes { // PowerPoint needs to be detected via StreamName, all other storage based formats are our own and can // be detected by the ClipboardId, so except for the PPT filter all filters must have a ClipboardId set - Reference < embed::XStorage > xStorage = aMedium.GetStorage( sal_False ); + Reference < embed::XStorage > xStorage = aMedium.GetStorage( false ); //TODO/LATER: move error handling to central place! (maybe even complete own filters) if ( aMedium.GetLastStorageCreationState() != ERRCODE_NONE ) |