summaryrefslogtreecommitdiff
path: root/vcl/osx/salprn.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 16:20:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 16:20:39 +0100
commitd1775349e4ea619aa7b634bcd7161374107038a1 (patch)
tree300c60723c49ec7601f6ac886f37805b5afa0a6a /vcl/osx/salprn.cxx
parentaa4d195143fec01fba5c0a0f41950f1cbddbc9bd (diff)
loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: I90a955eb3e485723bb81e7164edcf60f7b0e94c7
Diffstat (limited to 'vcl/osx/salprn.cxx')
-rw-r--r--vcl/osx/salprn.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx
index 9ef6d8ed216b..bd785491fbcc 100644
--- a/vcl/osx/salprn.cxx
+++ b/vcl/osx/salprn.cxx
@@ -46,7 +46,7 @@ using namespace com::sun::star;
using namespace com::sun::star::beans;
AquaSalInfoPrinter::AquaSalInfoPrinter( const SalPrinterQueueInfo& i_rQueue ) :
- mpGraphics( 0 ),
+ mpGraphics( nullptr ),
mbGraphics( false ),
mbJob( false ),
mpPrinter( nil ),
@@ -143,7 +143,7 @@ void AquaSalInfoPrinter::SetupPrinterGraphics( CGContextRef i_rContext ) const
SalGraphics* AquaSalInfoPrinter::AcquireGraphics()
{
- SalGraphics* pGraphics = mbGraphics ? NULL : mpGraphics;
+ SalGraphics* pGraphics = mbGraphics ? nullptr : mpGraphics;
mbGraphics = true;
return pGraphics;
}
@@ -666,9 +666,9 @@ void AquaSalInfoPrinter::InitPaperFormats( const ImplJobSetup* )
const PaperInfo* AquaSalInfoPrinter::matchPaper( long i_nWidth, long i_nHeight, Orientation& o_rOrientation ) const
{
if( ! m_bPapersInit )
- const_cast<AquaSalInfoPrinter*>(this)->InitPaperFormats( NULL );
+ const_cast<AquaSalInfoPrinter*>(this)->InitPaperFormats( nullptr );
- const PaperInfo* pMatch = NULL;
+ const PaperInfo* pMatch = nullptr;
o_rOrientation = ORIENTATION_PORTRAIT;
for( int n = 0; n < 2 ; n++ )
{