diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-09 19:08:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-09 19:08:29 +0100 |
commit | 7fbe34824dfbe0aee1dc6d82a586723318cdb00c (patch) | |
tree | 696d96daa60c7992c55b9cbdb22e024e1efd46a8 /vcl | |
parent | 220d9c24d0e81668862010ed3e68e4f46fe9924b (diff) |
cups_dest_s::instance can be null
Change-Id: I7015bd2e13d5bf08cb9181dc9470372f0b3002c0
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/printer/cupsmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx index 3667e1a1812a..71464d7e9157 100644 --- a/vcl/unx/generic/printer/cupsmgr.cxx +++ b/vcl/unx/generic/printer/cupsmgr.cxx @@ -448,7 +448,7 @@ const PPDParser* CUPSManager::createCUPSParser( const OUString& rPrinter ) pNewParser = pCUPSParser; /*int nConflicts =*/ cupsMarkOptions( pPPD, pDest->num_options, pDest->options ); - SAL_INFO("vcl.unx.print", "processing the following options for printer " << pDest->name << " (instance " << pDest->instance << "):"); + SAL_INFO("vcl.unx.print", "processing the following options for printer " << pDest->name << " (instance " << (pDest->instance == nullptr ? "null" : pDest->instance) << "):"); for( int k = 0; k < pDest->num_options; k++ ) SAL_INFO("vcl.unx.print", " \"" << pDest->options[k].name << |