summaryrefslogtreecommitdiff
path: root/vcl/source/window/printdlg.cxx
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/source/window/printdlg.cxx
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/source/window/printdlg.cxx')
-rw-r--r--vcl/source/window/printdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index c03d76fc7752..0363ea6a3a18 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1221,7 +1221,7 @@ void PrintDialog::checkControlDependencies()
maJobPage.mpCollateImage->SetImage( aImg );
// enable setup button only for printers that can be setup
- bool bHaveSetup = maPController->getPrinter()->HasSupport( SUPPORT_SETUPDIALOG );
+ bool bHaveSetup = maPController->getPrinter()->HasSupport( PrinterSupport::SetupDialog );
maJobPage.mpSetupButton->Enable(bHaveSetup);
}