summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-17 14:57:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-17 15:20:45 +0200
commitb6df255ff1111d4400edd42b12f4f9929be3e83f (patch)
tree80f7479360a81b0424fe0c9de430475bff8d3898 /filter/source
parentab8405cae9e25ac5201b3648a53a811670ebb715 (diff)
loplugin:implicitboolconversion clean-up
Change-Id: Ia175eef112cd79019be26a6a068992d796cb2faf
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/flash/swfwriter2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/flash/swfwriter2.cxx b/filter/source/flash/swfwriter2.cxx
index dfa8bbdee213..28e8426b3962 100644
--- a/filter/source/flash/swfwriter2.cxx
+++ b/filter/source/flash/swfwriter2.cxx
@@ -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 )
{