View | Details | Raw Unified | Return to bug 203776 | Differences between
and this patch

Collapse All | Expand All

(-)vcl/unx/generic/printer/printerinfomanager.cxx (-4 / +3 lines)
Lines 21-27 Link Here
21
#include <sys/wait.h>
21
#include <sys/wait.h>
22
#include <signal.h>
22
#include <signal.h>
23
23
24
#include "cupsmgr.hxx"
24
#include "vcl/printerinfomanager.hxx"
25
25
#include "vcl/strhelper.hxx"
26
#include "vcl/strhelper.hxx"
26
27
27
#include "unx/saldata.hxx"
28
#include "unx/saldata.hxx"
Lines 84-92 Link Here
84
85
85
    if( ! pSalData->m_pPIManager )
86
    if( ! pSalData->m_pPIManager )
86
    {
87
    {
87
        pSalData->m_pPIManager = CUPSManager::tryLoadCUPS();
88
        pSalData->m_pPIManager = new PrinterInfoManager();
88
        if( ! pSalData->m_pPIManager )
89
            pSalData->m_pPIManager = new PrinterInfoManager();
90
89
91
        pSalData->m_pPIManager->initialize();
90
        pSalData->m_pPIManager->initialize();
92
#if OSL_DEBUG_LEVEL > 1
91
#if OSL_DEBUG_LEVEL > 1

Return to bug 203776