diff options
Diffstat (limited to 'vcl/source/gdi/oldprintadaptor.cxx')
-rw-r--r-- | vcl/source/gdi/oldprintadaptor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/oldprintadaptor.cxx b/vcl/source/gdi/oldprintadaptor.cxx index 4d87c06471ee..2846d8d53b6f 100644 --- a/vcl/source/gdi/oldprintadaptor.cxx +++ b/vcl/source/gdi/oldprintadaptor.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -72,7 +72,7 @@ void OldStylePrintAdaptor::StartPage() mpData->maPages.back().maPageSize.Width = aPaperSize.getWidth(); mpData->maPages.back().maPageSize.Height = aPaperSize.getHeight(); getPrinter()->SetConnectMetaFile( &mpData->maPages.back().maPage ); - + // copy state into metafile boost::shared_ptr<Printer> pPrinter( getPrinter() ); pPrinter->SetMapMode( pPrinter->GetMapMode() ); |