diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-25 20:28:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-25 20:28:16 +0100 |
commit | ce463679a5a362d5c3f7c146f70b6be838ddbb2d (patch) | |
tree | 27c3f8ab8b15272bc255f00b802163b7b485ae08 | |
parent | fb3ca9626fd143006dbf709a65e56fa55c2dd52f (diff) |
loplugin:simplifybool
Change-Id: I609e3dffeee6cde33fcbab71c15020434fe1a136
-rw-r--r-- | vcl/osx/salprn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx index 3cb9a938003c..9ef6d8ed216b 100644 --- a/vcl/osx/salprn.cxx +++ b/vcl/osx/salprn.cxx @@ -501,7 +501,7 @@ bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName, pInst->startedPrintJob(); BOOL wasSuccessful = [pPrintOperation runOperation]; pInst->endedPrintJob(); - bSuccess = wasSuccessful ? true : false; + bSuccess = wasSuccessful; bWasAborted = [[[pPrintOperation printInfo] jobDisposition] compare: NSPrintCancelJob] == NSOrderedSame; mbJob = false; if( pReleaseAfterUse ) |