diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-21 11:06:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-21 11:42:53 +0000 |
commit | d235f643680084fd54e0b2dc95605e8781ac6b88 (patch) | |
tree | db45fa4b6086e6420b085400fd1b1fed4f00284a /toolkit/source/awt/vclxwindow.cxx | |
parent | tdf#104737: Bullets and Numbering: inconsistent naming of last tab page (diff) | |
download | core-d235f643680084fd54e0b2dc95605e8781ac6b88.tar.gz core-d235f643680084fd54e0b2dc95605e8781ac6b88.zip |
convert OutDevViewType to scoped enum
Change-Id: Id980f09c198ca976c88b11030f5db9d6f010add1
Reviewed-on: https://gerrit.libreoffice.org/32274
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/awt/vclxwindow.cxx')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index ef9f9e57c9a1..00852e085968 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -2309,7 +2309,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(css::uno::RuntimeExcep vcl::PDFExtOutDevData* pPDFExport = dynamic_cast<vcl::PDFExtOutDevData*>(pDev->GetExtOutDevData()); bool bDrawSimple = ( pDev->GetOutDevType() == OUTDEV_PRINTER ) - || ( pDev->GetOutDevViewType() == OUTDEV_VIEWTYPE_PRINTPREVIEW ) + || ( pDev->GetOutDevViewType() == OutDevViewType::PrintPreview ) || ( pPDFExport != nullptr ); if ( bDrawSimple ) { |