summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-09 20:48:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-10 12:02:04 +0000
commit662f88b0b0c3d7c10b7a8e5c8298f320e3151c94 (patch)
treecfbeca9cb1c5f9ed94f913fc2a86b4fea5eb8d80 /vcl/headless
parentbbd419d9bfa8fee66d3a9cfa8b592087e25da285 (diff)
I don't think we should clip when using getBitmap
this solves the bug of icons in the standard toolbar under gtk3 of getting rendered with a black background on first render Change-Id: I73bae4cd0b9f38c9e9caef8019d773d42b5e8f10
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpgdi.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 9cd85e17690e..6e04a01176ae 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -658,8 +658,7 @@ SalBitmap* SvpSalGraphics::getBitmap( long nX, long nY, long nWidth, long nHeigh
basegfx::B2IBox aSrcRect( nX, nY, nX+nWidth, nY+nHeight );
basegfx::B2IBox aDestRect( 0, 0, nWidth, nHeight );
- SvpSalGraphics::ClipUndoHandle aUndo( this );
- if (!isClippedSetup(aDestRect, aUndo) && aCopy)
+ if (aCopy)
aCopy->drawBitmap( m_aOrigDevice, aSrcRect, aDestRect, basebmp::DrawMode_PAINT );
SvpSalBitmap* pBitmap = new SvpSalBitmap();