diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 23:46:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 23:47:23 +0100 |
commit | fe7a4bccfdc6ff7e10789e5512ac469a4dc44f55 (patch) | |
tree | 2da6d63a8ff02d78999427a700fe823f07db2f70 /vcl/osx/salprn.cxx | |
parent | 216bcceee1ba908f617deb3f2404aff8085d5358 (diff) |
Adapt vcl to various loplugin warnings on Mac OS X
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
Diffstat (limited to 'vcl/osx/salprn.cxx')
-rw-r--r-- | vcl/osx/salprn.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx index d57f7e6f1551..c0e13b2dd4ef 100644 --- a/vcl/osx/salprn.cxx +++ b/vcl/osx/salprn.cxx @@ -166,7 +166,7 @@ void AquaSalInfoPrinter::ReleaseGraphics( SalGraphics* ) bool AquaSalInfoPrinter::Setup( SalFrame*, ImplJobSetup* ) { - return sal_False; + return false; } // ----------------------------------------------------------------------- @@ -244,7 +244,7 @@ void AquaSalInfoPrinter::setPaperSize( long i_nWidth, long i_nHeight, Orientatio bool AquaSalInfoPrinter::SetData( sal_uLong i_nFlags, ImplJobSetup* io_pSetupData ) { if( ! io_pSetupData || io_pSetupData->mnSystem != JOBSETUP_SYSTEM_MAC ) - return sal_False; + return false; if( mpPrintInfo ) @@ -395,7 +395,7 @@ sal_Bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName, sal_Int32 nAllPages = 0; // reset IsLastPage - i_rController.setLastPage( sal_False ); + i_rController.setLastPage( false ); // update job data if( i_pSetupData ) @@ -545,7 +545,7 @@ sal_Bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName, // inform application that it can release its data // this is awkward, but the XRenderable interface has no method for this, // so we need to call XRenderadble::render one last time with IsLastPage = sal_True - i_rController.setLastPage( sal_True ); + i_rController.setLastPage( true ); GDIMetaFile aPageFile; if( mrContext ) SetupPrinterGraphics( mrContext ); @@ -643,7 +643,7 @@ bool AquaSalPrinter::StartJob( const OUString* /*i_pFileName*/, ImplJobSetup* ) { OSL_FAIL( "should never be called" ); - return sal_False; + return false; } // ----------------------------------------------------------------------- |