summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-19 12:42:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-19 13:24:28 +0000
commitdd16d34a6ebfbe60cee1d01752f167069ddb2848 (patch)
tree976c81eb6bd64fc8d98fdac4e0dab0753f425397 /vcl/headless
parentf73e72fb33f111c2eda12aa359b96dad680e6848 (diff)
either copy the whole thing exactly, or convert between types
Change-Id: Ied1b4f81e2e851b639cc9a514659160b8571e92f
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpgdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index eb96693a0b18..59e8947ed8f0 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -131,7 +131,7 @@ namespace
aTmpBmp.Create(aSize, 0, BitmapPalette());
assert(aTmpBmp.GetBitCount() == 32);
const basebmp::BitmapDeviceSharedPtr& rTmpSrc = aTmpBmp.getBitmap();
- rTmpSrc->copyBitmap(rSrcBmp);
+ rTmpSrc->convertBitmap(rSrcBmp);
source = SvpSalGraphics::createCairoSurface(rTmpSrc);
}
else