Kaydet (Commit) 89d4eb66 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735988 Dereference after null check

Change-Id: I6fdf2b87447de6593216437def295dfcc939aea8
üst 8b76723f
......@@ -383,6 +383,9 @@ const QueueInfo* Printer::GetQueueInfo( const OUString& rPrinterName, bool bStat
if ( !pSVData->maGDIData.mpPrinterQueueList )
ImplInitPrnQueueList();
if ( !pSVData->maGDIData.mpPrinterQueueList )
return NULL;
ImplPrnQueueData* pInfo = pSVData->maGDIData.mpPrinterQueueList->Get( rPrinterName );
if( pInfo )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment