loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie7f382fb47463d9bc315dc767c1d0550145ec935
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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,
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user