diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:29:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:31:03 +0200 |
commit | 23b34e148b0b9bde6c21aff66dbb19eedcb6fc23 (patch) | |
tree | cfa215170da17fc7c01a2897af379a0ca1b71fbe /vcl/source/gdi | |
parent | a32f1d208eb232b9b0db6346d7b8a4140fa2d4e2 (diff) |
More loplugin:simplifybool
Change-Id: I34cb4961f6db405cc3b72d488d163487489b0251
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl2.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index 0c6714e9ffba..e6bd287f6393 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -1493,7 +1493,7 @@ bool PDFWriterImpl::computeUDictionaryValue( EncHashTransporter* i_pTransporter, for( sal_Int32 i = i_nKeyLength, y = 0; y < 5 ; y++ ) io_rProperties.EncryptionKey[i++] = 0; - if( io_rProperties.Security128bit == false ) + if( !io_rProperties.Security128bit ) { //3.4 //step 2 and 3 diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index f3481cf2b438..de37876d7770 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -411,7 +411,7 @@ bool ImplLayoutRuns::PosIsInAnyRun( int nCharPos ) const for (size_t i = 0; i < maRuns.size(); i+=2) { - if( (bRet = PosIsInRun( nCharPos )) == true ) + if( (bRet = PosIsInRun( nCharPos )) ) break; pThis->NextRun(); } |