diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-04 14:53:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-07 13:53:48 +0200 |
commit | 8ab93ae45ee32f18eb435606e4c183cf9eb87d1b (patch) | |
tree | 4f7c12c9d4a35ae4bf7dbf27ce16f4695e236789 /cppcanvas | |
parent | 718ec66252291d565b1d6e19fc02d2719cf4aa59 (diff) |
cppcanvas: sal_Bool->bool
Change-Id: I3dc076f3593d4d083d5e25e41e007eadc97d2978
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 2 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 6 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/mtftools.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index 65593876155a..9048c446d3c7 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -278,7 +278,7 @@ static float GetSwapFloat( SvStream& rSt ) ActionVector::const_iterator& o_rRangeBegin, ActionVector::const_iterator& o_rRangeEnd ) const; - void processObjectRecord(SvMemoryStream& rObjectStream, sal_uInt16 flags, sal_uInt32 dataSize, sal_Bool bUseWholeStream = sal_False); + void processObjectRecord(SvMemoryStream& rObjectStream, sal_uInt16 flags, sal_uInt32 dataSize, bool bUseWholeStream = false); /* EMF+ */ void processEMFPlus( MetaCommentAction* pAct, const ActionFactoryParameters& rFactoryParms, OutDevState& rState, const CanvasSharedPtr& rCanvas ); diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index fed5096429c0..5dae04b3285f 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -947,7 +947,7 @@ namespace cppcanvas Graphic graphic; - void Read (SvMemoryStream &s, sal_uInt32 dataSize, sal_Bool bUseWholeStream) + void Read (SvMemoryStream &s, sal_uInt32 dataSize, bool bUseWholeStream) { sal_uInt32 header, unknown; @@ -1462,7 +1462,7 @@ namespace cppcanvas } } - void ImplRenderer::processObjectRecord(SvMemoryStream& rObjectStream, sal_uInt16 flags, sal_uInt32 dataSize, sal_Bool bUseWholeStream) + void ImplRenderer::processObjectRecord(SvMemoryStream& rObjectStream, sal_uInt16 flags, sal_uInt32 dataSize, bool bUseWholeStream) { sal_uInt32 index; @@ -1624,7 +1624,7 @@ namespace cppcanvas if (mbMultipart) { SAL_INFO("cppcanvas.emf", "EMF+ multipart record flags: " << mMFlags); mMStream.Seek (0); - processObjectRecord (mMStream, mMFlags, dataSize, sal_True); + processObjectRecord (mMStream, mMFlags, dataSize, true); } mbMultipart = false; } diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx index 9f852937f774..458b0bc47d26 100644 --- a/cppcanvas/source/mtfrenderer/mtftools.cxx +++ b/cppcanvas/source/mtfrenderer/mtftools.cxx @@ -232,7 +232,7 @@ namespace cppcanvas TextLineInfo createTextLineInfo( const ::VirtualDevice& rVDev, const ::cppcanvas::internal::OutDevState& rState ) { - const sal_Bool bOldMode( rVDev.IsMapModeEnabled() ); + const bool bOldMode( rVDev.IsMapModeEnabled() ); // #i68512# Force metric regeneration with mapmode enabled // (prolly OutDev bug) |