diff options
Diffstat (limited to 'sd/source/ui/slidesorter')
-rw-r--r-- | sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx index f811f70960ae..a158b625202e 100644 --- a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx +++ b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx @@ -162,7 +162,7 @@ public: std::shared_ptr<BitmapReplacement> PngCompression::Compress (const Bitmap& rBitmap) const { - vcl::PNGWriter aWriter (rBitmap); + vcl::PNGWriter aWriter ((BitmapEx(rBitmap))); SvMemoryStream aStream (32768, 32768); aWriter.Write(aStream); diff --git a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx index e93e9d101b0f..8c8988e5224a 100644 --- a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx +++ b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx @@ -183,7 +183,7 @@ Point InsertionIndicatorOverlay::PaintRepresentatives ( aPageOffset.AdjustY(gnShadowBorder ); // Paint the preview. - Bitmap aPreview (rRepresentatives[nIndex].maBitmap); + BitmapEx aPreview (rRepresentatives[nIndex].maBitmap); aPreview.Scale(rPreviewSize, BmpScaleFlag::BestQuality); rContent.DrawBitmapEx(aPageOffset, aPreview); |