diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-19 10:43:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-20 09:52:08 +0200 |
commit | 3cbdf64ad5240e6d9a73d4f7e005f7110d5e4002 (patch) | |
tree | 87ecd744320ba70cd784a2aac82aa436ea5d0c13 /vcl/osx | |
parent | convert GRID constants to scoped enum (diff) | |
download | core-3cbdf64ad5240e6d9a73d4f7e005f7110d5e4002.tar.gz core-3cbdf64ad5240e6d9a73d4f7e005f7110d5e4002.zip |
convert DRAWMODE constants to scoped enum
Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/printaccessoryview.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm index cd37d5fc4119..d936c4ac576d 100644 --- a/vcl/osx/printaccessoryview.mm +++ b/vcl/osx/printaccessoryview.mm @@ -301,8 +301,8 @@ class ControllerProperties PrinterController::PageSize aPageSize( mpController->getFilteredPageFile( i_nPage, aMtf, false ) ); auto aDev(VclPtr<VirtualDevice>::Create()); if( mpController->getPrinter()->GetPrinterOptions().IsConvertToGreyscales() ) - aDev->SetDrawMode( aDev->GetDrawMode() | ( DRAWMODE_GRAYLINE | DRAWMODE_GRAYFILL | DRAWMODE_GRAYTEXT | - DRAWMODE_GRAYBITMAP | DRAWMODE_GRAYGRADIENT ) ); + aDev->SetDrawMode( aDev->GetDrawMode() | ( DrawModeFlags::GrayLine | DrawModeFlags::GrayFill | DrawModeFlags::GrayText | + DrawModeFlags::GrayBitmap | DrawModeFlags::GrayGradient ) ); // see salprn.cxx, currently we pretend to be a 720dpi device on printers aDev->SetReferenceDevice( 720, 720 ); aDev->EnableOutput( TRUE ); |