summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-30 10:55:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-31 06:27:16 +0000
commitfafb2cf4de2eb2de46afab0738b7fd95663c0164 (patch)
tree237f13421f8d87e12ff27bf8fdf5b1925bf485b2 /vcl/unx
parentfe6ac2d11a6f870094bd630759f998d8ed9272e3 (diff)
Convert PrinterSupport to scoped enum
Change-Id: I2bde7261b8e8f31e6dd5a02cd4130156a04b8a7f Reviewed-on: https://gerrit.libreoffice.org/25657 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/print/genprnpsp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx
index 3e2a17f2e75f..63495e9adec6 100644
--- a/vcl/unx/generic/print/genprnpsp.cxx
+++ b/vcl/unx/generic/print/genprnpsp.cxx
@@ -1163,7 +1163,7 @@ bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJo
{
if( bCollate )
{
- if (aPDFFiles.size() == 1 && xPrinter->HasSupport(SUPPORT_COLLATECOPY))
+ if (aPDFFiles.size() == 1 && xPrinter->HasSupport(PrinterSupport::CollateCopy))
{
m_aJobData.setCollate( true );
m_aJobData.m_nCopies = nCopies;