Kaydet (Commit) b6df255f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:implicitboolconversion clean-up

Change-Id: Ia175eef112cd79019be26a6a068992d796cb2faf
üst ab8405ca
......@@ -306,9 +306,9 @@ void Tag::writeMatrix( SvStream& rOut, const ::basegfx::B2DHomMatrix& rMatrix )
BitStream aBits;
const sal_uInt8 bHasScale = rMatrix.get(0, 0) != 1.0 || rMatrix.get(1, 1) != 1.0;
const bool bHasScale = rMatrix.get(0, 0) != 1.0 || rMatrix.get(1, 1) != 1.0;
aBits.writeUB( bHasScale, 1 );
aBits.writeUB( int(bHasScale), 1 );
if( bHasScale )
{
......@@ -319,9 +319,9 @@ void Tag::writeMatrix( SvStream& rOut, const ::basegfx::B2DHomMatrix& rMatrix )
aBits.writeFB( getFixed( rMatrix.get(1, 1) ), nScaleBits ); // Scale Y
}
const sal_uInt8 bHasRotate = rMatrix.get(0, 1) != 0.0 || rMatrix.get(1, 0) != 0.0;
const bool bHasRotate = rMatrix.get(0, 1) != 0.0 || rMatrix.get(1, 0) != 0.0;
aBits.writeUB( bHasRotate, 1 );
aBits.writeUB( int(bHasRotate), 1 );
if( bHasRotate )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment