summaryrefslogtreecommitdiff
path: root/vcl/osx/salprn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/salprn.cxx')
-rw-r--r--vcl/osx/salprn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx
index fa2f88b13c61..4eba68e093bd 100644
--- a/vcl/osx/salprn.cxx
+++ b/vcl/osx/salprn.cxx
@@ -449,7 +449,7 @@ bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName,
// also SetPaperSizeUser has the advantage that we can share a
// platform independent paper matching algorithm
VclPtr<Printer> pPrinter( i_rController.getPrinter() );
- pPrinter->SetMapMode( MapMode( MAP_100TH_MM ) );
+ pPrinter->SetMapMode( MapMode( MapUnit::Map100thMM ) );
pPrinter->SetPaperSizeUser( aCurSize, true );
// create view