summaryrefslogtreecommitdiff
path: root/vcl/source/filter/wmf/enhwmf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/wmf/enhwmf.cxx')
-rw-r--r--vcl/source/filter/wmf/enhwmf.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index ad2a3a6d0d33..d024ee3437d6 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ -202,9 +202,9 @@ SvStream& operator>>( SvStream& rIn, XForm& rXForm )
return rIn;
}
-static sal_Bool ImplReadRegion( PolyPolygon& rPolyPoly, SvStream& rSt, sal_uInt32 nLen )
+static bool ImplReadRegion( PolyPolygon& rPolyPoly, SvStream& rSt, sal_uInt32 nLen )
{
- sal_Bool bOk = sal_False;
+ bool bOk = false;
if ( nLen )
{
sal_uInt32 nHdSize, nType, nCount, nRgnSize, i;
@@ -229,7 +229,7 @@ static sal_Bool ImplReadRegion( PolyPolygon& rPolyPoly, SvStream& rSt, sal_uInt3
rPolyPoly.GetUnion( aPolyPolyOr1, aPolyPolyOr2 );
rPolyPoly = aPolyPolyOr2;
}
- bOk = sal_True;
+ bOk = true;
}
}
return bOk;
@@ -456,7 +456,7 @@ sal_Bool EnhWMFReader::ReadEnhWMF()
sal_Bool bFlag(sal_False), bStatus = ReadHeader();
sal_Bool bHaveDC = false;
- static sal_Bool bEnableEMFPlus = ( getenv( "EMF_PLUS_DISABLE" ) == NULL );
+ static bool bEnableEMFPlus = ( getenv( "EMF_PLUS_DISABLE" ) == NULL );
while( bStatus && nRecordCount-- && pWMF->good())
{