summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-07 13:45:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-07 20:49:02 +0000
commit2191a11022f657eae5fb21f87dd443ea9228920b (patch)
treeef20948375854181ef92231d7a5532110bf4ff14 /desktop/source
parentbc45215ec6e5d508415465ad3f619c3dbe23f7c8 (diff)
last arg of SetOutputSizePixelScaleOffsetAndBuffer no longer used
Change-Id: I65e7e82e46c5751617b00a39df47d864b29b6ce1 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>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 8dd6290cb22a..8fa8e0eb9d6b 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -904,11 +904,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);
@@ -1554,7 +1552,7 @@ unsigned char* doc_renderFont(LibreOfficeKitDocument* /*pThis*/,
aDevice->SetBackground(Wallpaper(COL_TRANSPARENT));
aDevice->SetOutputSizePixelScaleOffsetAndBuffer(
Size(nFontWidth, nFontHeight), Fraction(1.0), Point(),
- aBuffer, nullptr);
+ aBuffer);
aDevice->DrawText(Point(0,0), aFontName);
return pBuffer;