diff options
Diffstat (limited to 'sw/source/core/view/viewpg.cxx')
-rw-r--r-- | sw/source/core/view/viewpg.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/view/viewpg.cxx b/sw/source/core/view/viewpg.cxx index 12bf9ba42fca..40065dd502fb 100644 --- a/sw/source/core/view/viewpg.cxx +++ b/sw/source/core/view/viewpg.cxx @@ -105,7 +105,7 @@ void ViewShell::PrintProspect( OSL_ENSURE( rPagesToPrint.first == -1 || rPrintData.GetRenderData().GetValidPagesSet().count( rPagesToPrint.first ) == 1, "first Page not valid" ); OSL_ENSURE( rPagesToPrint.second == -1 || rPrintData.GetRenderData().GetValidPagesSet().count( rPagesToPrint.second ) == 1, "second Page not valid" ); - // eine neue Shell fuer den Printer erzeugen + // create a new shell for the printer ViewShell aShell( *this, 0, pPrinter ); SET_CURR_SHELL( &aShell ); @@ -179,7 +179,7 @@ void ViewShell::PrintProspect( nMaxRowSz = std::max( aNxtPageSize.Height(), aSttPageSize.Height() ); } - // den MapMode einstellen + // set the MapMode aMapMode.SetOrigin( Point() ); { Fraction aScX( aPrtSize.Width(), nMaxColSz ); @@ -188,8 +188,7 @@ void ViewShell::PrintProspect( aScY = aScX; { - // fuer Drawing, damit diese ihre Objecte vernuenftig Painten - // koennen, auf "glatte" Prozentwerte setzen + // Round percentages for Drawings so that these can paint their objects properly aScY *= Fraction( 1000, 1 ); long nTmp = (long)aScY; if( 1 < nTmp ) @@ -238,5 +237,4 @@ void ViewShell::PrintProspect( pPrinter->Pop(); } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |