[Libreoffice-commits] core.git: vcl/osx
Stephan Bergmann
sbergman at redhat.com
Sun Oct 25 12:28:46 PDT 2015
vcl/osx/salprn.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ce463679a5a362d5c3f7c146f70b6be838ddbb2d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sun Oct 25 20:28:16 2015 +0100
loplugin:simplifybool
Change-Id: I609e3dffeee6cde33fcbab71c15020434fe1a136
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx
index 3cb9a93..9ef6d8e 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 )
More information about the Libreoffice-commits
mailing list