From d235f643680084fd54e0b2dc95605e8781ac6b88 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 21 Dec 2016 11:06:35 +0200 Subject: convert OutDevViewType to scoped enum Change-Id: Id980f09c198ca976c88b11030f5db9d6f010add1 Reviewed-on: https://gerrit.libreoffice.org/32274 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- toolkit/source/awt/vclxwindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') 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(pDev->GetExtOutDevData()); bool bDrawSimple = ( pDev->GetOutDevType() == OUTDEV_PRINTER ) - || ( pDev->GetOutDevViewType() == OUTDEV_VIEWTYPE_PRINTPREVIEW ) + || ( pDev->GetOutDevViewType() == OutDevViewType::PrintPreview ) || ( pPDFExport != nullptr ); if ( bDrawSimple ) { -- cgit