diff options
Diffstat (limited to 'sd/source/ui/presenter/SlideRenderer.cxx')
-rw-r--r-- | sd/source/ui/presenter/SlideRenderer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/presenter/SlideRenderer.cxx b/sd/source/ui/presenter/SlideRenderer.cxx index dbd43cbbab5b..c852ff5f79e7 100644 --- a/sd/source/ui/presenter/SlideRenderer.cxx +++ b/sd/source/ui/presenter/SlideRenderer.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 @@ -206,7 +206,7 @@ BitmapEx SlideRenderer::CreatePreview ( OUString::createFromAscii("SlideRenderer::createPreview() called with invalid slide"), static_cast<XWeak*>(this), 0); - + // Determine the size of the current slide and its aspect ratio. Size aPageSize = pPage->GetSize(); if (aPageSize.Height() <= 0) @@ -231,14 +231,14 @@ BitmapEx SlideRenderer::CreatePreview ( nFactor = 1; else if (nFactor > 10) nFactor = 10; - + // Create the preview. When the super sample factor n is greater than 1 // then a preview is created in size (n*width, n*height) and then scaled // down to (width, height). This is a poor mans antialiasing for the // time being. When we have true antialiasing support this workaround // can be removed. const Image aPreview = maPreviewRenderer.RenderPage ( - pPage, + pPage, Size(aPreviewSize.Width*nFactor, aPreviewSize.Height*nFactor), ::rtl::OUString()); if (nFactor == 1) |