summaryrefslogtreecommitdiff
path: root/cui
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 /cui
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 'cui')
-rw-r--r--cui/source/tabpages/page.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 0fa0782bf304..1b72b7e76ae7 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -527,7 +527,7 @@ void SvxPageDescPage::Reset( const SfxItemSet* rSet )
aPaperSize = static_cast<const SvxSizeItem*>(pItem)->GetSize();
bool bOrientationSupport =
- mpDefPrinter->HasSupport( SUPPORT_SET_ORIENTATION );
+ mpDefPrinter->HasSupport( PrinterSupport::SetOrientation );
if ( !bOrientationSupport &&
aPaperSize.Width() > aPaperSize.Height() )