diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-20 12:01:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-20 12:24:14 +0000 |
commit | a1b0d3ff53c9cd4299a2372d72eb9eba1fe48e80 (patch) | |
tree | 00a8ed1d16990585749f8f9df062c6a569a00adc /vcl | |
parent | 408c0a7693316f0e23080be52db9bef720ed2cb4 (diff) |
remove unused enumerators from PrinterCapType
Change-Id: Id4f788dfae64e7a9bcde16af2db2ddeafaf6900e
Reviewed-on: https://gerrit.libreoffice.org/34468
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/osx/salprn.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/print/genprnpsp.cxx | 4 | ||||
-rw-r--r-- | vcl/win/gdi/salprn.cxx | 6 |
3 files changed, 0 insertions, 14 deletions
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx index 562e4d0d3705..7d48ffa99d16 100644 --- a/vcl/osx/salprn.cxx +++ b/vcl/osx/salprn.cxx @@ -281,10 +281,6 @@ sal_uInt32 AquaSalInfoPrinter::GetCapabilities( const ImplJobSetup*, PrinterCapT return 0xffff; case PrinterCapType::SetOrientation: return 1; - case PrinterCapType::SetDuplex: - return 0; - case PrinterCapType::SetPaperBin: - return 0; case PrinterCapType::SetPaperSize: return 1; case PrinterCapType::SetPaper: diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx index 25bc3a1a9387..7f6d70fccd51 100644 --- a/vcl/unx/generic/print/genprnpsp.cxx +++ b/vcl/unx/generic/print/genprnpsp.cxx @@ -791,10 +791,6 @@ sal_uInt32 PspSalInfoPrinter::GetCapabilities( const ImplJobSetup* pJobSetup, Pr } case PrinterCapType::SetOrientation: return 1; - case PrinterCapType::SetDuplex: - return 1; - case PrinterCapType::SetPaperBin: - return 1; case PrinterCapType::SetPaperSize: return 1; case PrinterCapType::SetPaper: diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx index 63c0c24ba810..bd3dd8a5f02f 100644 --- a/vcl/win/gdi/salprn.cxx +++ b/vcl/win/gdi/salprn.cxx @@ -1241,12 +1241,6 @@ sal_uInt32 WinSalInfoPrinter::GetCapabilities( const ImplJobSetup* pSetupData, P return TRUE; return FALSE; - case PrinterCapType::SetPaperBin: - nRet = ImplDeviceCaps( this, DC_BINS, nullptr, pSetupData ); - if ( nRet && (nRet != GDI_ERROR) ) - return TRUE; - return FALSE; - case PrinterCapType::SetPaperSize: case PrinterCapType::SetPaper: nRet = ImplDeviceCaps( this, DC_PAPERS, nullptr, pSetupData ); |