diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-07 13:45:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-07 20:50:25 +0000 |
commit | 20dbcd613d2e5d6abce34f6d6d99aa32d1e7d073 (patch) | |
tree | 71b2188c47aaa7237e66dfdb7c45ce4b16b72975 /desktop | |
parent | Resolves: tdf#96224 don't fiddle around with a separate alpha buffer (diff) | |
download | core-20dbcd613d2e5d6abce34f6d6d99aa32d1e7d073.tar.gz core-20dbcd613d2e5d6abce34f6d6d99aa32d1e7d073.zip |
last arg of SetOutputSizePixelScaleOffsetAndBuffer no longer used
Reviewed-on: https://gerrit.libreoffice.org/20441
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 2191a11022f657eae5fb21f87dd443ea9228920b)
Change-Id: I65e7e82e46c5751617b00a39df47d864b29b6ce1
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 963bb1bcf072..5d1586f5cd0e 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -896,11 +896,9 @@ void doc_paintTile (LibreOfficeKitDocument* pThis, boost::shared_array< sal_uInt8 > aBuffer( pBuffer, NoDelete< sal_uInt8 >() ); - boost::shared_array<sal_uInt8> aAlphaBuffer; - pDevice->SetOutputSizePixelScaleOffsetAndBuffer( Size(nCanvasWidth, nCanvasHeight), Fraction(1.0), Point(), - aBuffer, aAlphaBuffer); + aBuffer); pDoc->paintTile(*pDevice.get(), nCanvasWidth, nCanvasHeight, nTilePosX, nTilePosY, nTileWidth, nTileHeight); |