diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-07 09:15:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-07 13:53:50 +0200 |
commit | 74fdda0cd41d97b6c97d2115584ee48fd552514e (patch) | |
tree | fa29308f180abbd7dec4c16f5603604a15fa079e /sfx2/source/doc/graphhelp.cxx | |
parent | 1eee88dd6bf2c647aa3458d33a5f45c51c024186 (diff) |
sfx2: sal_Bool->bool
Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd
Diffstat (limited to 'sfx2/source/doc/graphhelp.cxx')
-rw-r--r-- | sfx2/source/doc/graphhelp.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx index 60329d0740aa..7d40cc8e27aa 100644 --- a/sfx2/source/doc/graphhelp.cxx +++ b/sfx2/source/doc/graphhelp.cxx @@ -195,21 +195,21 @@ void* GraphicHelper::getWinMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta, co // static -sal_Bool GraphicHelper::supportsMetaFileHandle_Impl() +bool GraphicHelper::supportsMetaFileHandle_Impl() { #ifdef WNT return sal_True; #else - return sal_False; + return false; #endif } // static -sal_Bool GraphicHelper::getThumbnailFormatFromGDI_Impl( GDIMetaFile* pMetaFile, +bool GraphicHelper::getThumbnailFormatFromGDI_Impl( GDIMetaFile* pMetaFile, const uno::Reference< io::XStream >& xStream ) { - sal_Bool bResult = sal_False; + bool bResult = false; SvStream* pStream = NULL; if ( xStream.is() ) @@ -233,9 +233,9 @@ sal_Bool GraphicHelper::getThumbnailFormatFromGDI_Impl( GDIMetaFile* pMetaFile, } // static -sal_Bool GraphicHelper::getThumbnailReplacement_Impl( sal_Int32 nResID, const uno::Reference< io::XStream >& xStream ) +bool GraphicHelper::getThumbnailReplacement_Impl( sal_Int32 nResID, const uno::Reference< io::XStream >& xStream ) { - sal_Bool bResult = sal_False; + bool bResult = false; if ( nResID && xStream.is() ) { uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext(); @@ -259,7 +259,7 @@ sal_Bool GraphicHelper::getThumbnailReplacement_Impl( sal_Int32 nResID, const un aStoreProps[1].Value <<= OUString("image/png"); xGraphProvider->storeGraphic( xGraphic, aStoreProps ); - bResult = sal_True; + bResult = true; } } catch(const uno::Exception&) @@ -272,7 +272,7 @@ sal_Bool GraphicHelper::getThumbnailReplacement_Impl( sal_Int32 nResID, const un // static -sal_uInt16 GraphicHelper::getThumbnailReplacementIDByFactoryName_Impl( const OUString& aFactoryShortName, sal_Bool /*bIsTemplate*/ ) +sal_uInt16 GraphicHelper::getThumbnailReplacementIDByFactoryName_Impl( const OUString& aFactoryShortName, bool /*bIsTemplate*/ ) { sal_uInt16 nResult = 0; |