[Libreoffice-commits] .: vcl/source
Tor Lillqvist
tml at kemper.freedesktop.org
Mon May 28 00:00:37 PDT 2012
vcl/source/gdi/pdfwriter_impl2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 94713bbeca876c1718305791d45ff8bb986da433
Author: Gökçen Eraslan <gokcen.eraslan at gmail.com>
Date: Fri May 25 17:05:57 2012 +0300
fdo#46378: Prefer interpolation-based image rescaling in PDF export.
Change-Id: I9ead1221b4562dea0e1ef289944ac11ea850ed1a
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 4ba5e2c..b86e758 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -137,7 +137,7 @@ void PDFWriterImpl::implWriteBitmapEx( const Point& i_rPoint, const Size& i_rSiz
aNewBmpSize.Height() = FRound( fMaxPixelX / fBmpWH);
}
if( aNewBmpSize.Width() && aNewBmpSize.Height() )
- aBitmapEx.Scale( aNewBmpSize );
+ aBitmapEx.Scale( aNewBmpSize, BMP_SCALE_INTERPOLATE );
else
aBitmapEx.SetEmpty();
}
More information about the Libreoffice-commits
mailing list