loplugin:salbool: Automatic rewrite of sal_False/True

Change-Id: Ie7f382fb47463d9bc315dc767c1d0550145ec935
This commit is contained in:
Stephan Bergmann
2016-04-20 17:15:06 +02:00
parent 9a978d62ad
commit a30148d3fc
5 changed files with 5 additions and 5 deletions

View File

@@ -2288,7 +2288,7 @@ namespace cairocanvas
aLayout.PlaneStride = 0; aLayout.PlaneStride = 0;
aLayout.ColorSpace = mbHaveAlpha ? CairoColorSpaceHolder::get() : CairoNoAlphaColorSpaceHolder::get(); aLayout.ColorSpace = mbHaveAlpha ? CairoColorSpaceHolder::get() : CairoNoAlphaColorSpaceHolder::get();
aLayout.Palette.clear(); aLayout.Palette.clear();
aLayout.IsMsbFirst = sal_False; aLayout.IsMsbFirst = false;
return aLayout; return aLayout;
} }

View File

@@ -75,7 +75,7 @@ namespace
xDevice->createCompatibleLinePolyPolygon( sequenceSequence ), xDevice->createCompatibleLinePolyPolygon( sequenceSequence ),
uno::UNO_QUERY ); uno::UNO_QUERY );
if( xRes.is() ) if( xRes.is() )
xRes->setClosed( 0, sal_True ); xRes->setClosed( 0, true );
return xRes; return xRes;
} }

View File

@@ -889,7 +889,7 @@ namespace canvas
aLayout.PlaneStride = 0; aLayout.PlaneStride = 0;
aLayout.ColorSpace = getStdColorSpace(); aLayout.ColorSpace = getStdColorSpace();
aLayout.Palette.clear(); aLayout.Palette.clear();
aLayout.IsMsbFirst = sal_False; aLayout.IsMsbFirst = false;
return aLayout; return aLayout;
} }

View File

@@ -77,7 +77,7 @@ namespace canvas
virtual sal_Bool SAL_CALL hasAlpha( ) throw (css::uno::RuntimeException) override virtual sal_Bool SAL_CALL hasAlpha( ) throw (css::uno::RuntimeException) override
{ {
return sal_True; return true;
} }
virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL getScaledBitmap( const css::geometry::RealSize2D& newSize, virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL getScaledBitmap( const css::geometry::RealSize2D& newSize,

View File

@@ -240,7 +240,7 @@ namespace canvas
virtual sal_Bool SAL_CALL hasFullScreenMode( ) throw (css::uno::RuntimeException) override virtual sal_Bool SAL_CALL hasFullScreenMode( ) throw (css::uno::RuntimeException) override
{ {
return sal_False; return false;
} }
virtual sal_Bool SAL_CALL enterFullScreenMode( sal_Bool ) throw (css::uno::RuntimeException) override virtual sal_Bool SAL_CALL enterFullScreenMode( sal_Bool ) throw (css::uno::RuntimeException) override