diff options
Diffstat (limited to 'vcl/unx/generic/printer/cupsmgr.cxx')
-rw-r--r-- | vcl/unx/generic/printer/cupsmgr.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx index 3627cd7670d0..9c7af07c020e 100644 --- a/vcl/unx/generic/printer/cupsmgr.cxx +++ b/vcl/unx/generic/printer/cupsmgr.cxx @@ -256,9 +256,6 @@ void CUPSManager::initialize() if( ! (m_nDests && m_pDests ) ) return; - if( isCUPSDisabled() ) - return; - // check for CUPS server(?) > 1.2 // since there is no API to query, check for options that were // introduced in dests with 1.2 @@ -424,7 +421,7 @@ const PPDParser* CUPSManager::createCUPSParser( const OUString& rPrinter ) if( m_aCUPSMutex.tryToAcquire() ) { - if( m_nDests && m_pDests && ! isCUPSDisabled() ) + if (m_nDests && m_pDests) { boost::unordered_map< OUString, int, OUStringHash >::iterator dest_it = m_aCUPSDestMap.find( aPrinter ); @@ -830,11 +827,6 @@ bool CUPSManager::writePrinterConfig() return PrinterInfoManager::writePrinterConfig(); } -bool CUPSManager::addOrRemovePossible() const -{ - return (m_nDests && m_pDests && ! isCUPSDisabled())? false : PrinterInfoManager::addOrRemovePossible(); -} - const char* CUPSManager::authenticateUser( const char* /*pIn*/ ) { const char* pRet = NULL; |