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 ...@@ -383,6 +383,9 @@ const QueueInfo* Printer::GetQueueInfo( const OUString& rPrinterName, bool bStat
if ( !pSVData->maGDIData.mpPrinterQueueList ) if ( !pSVData->maGDIData.mpPrinterQueueList )
ImplInitPrnQueueList(); ImplInitPrnQueueList();
if ( !pSVData->maGDIData.mpPrinterQueueList )
return NULL;
ImplPrnQueueData* pInfo = pSVData->maGDIData.mpPrinterQueueList->Get( rPrinterName ); ImplPrnQueueData* pInfo = pSVData->maGDIData.mpPrinterQueueList->Get( rPrinterName );
if( pInfo ) 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