summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx')
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx2
1 files changed, 1 insertions, 1 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);