diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-11 09:07:06 +0200 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-11 09:07:06 +0200 |
commit | 0ca75c6a3ff6dc97de79cdcff39ac264ea4af6f8 (patch) | |
tree | 003ed18441ec849cf18678d9251a00eb200e3ac6 | |
parent | aef3fcd39558e424b816e5eb07a9421ab046ff0f (diff) |
DON'T MERGE: the viewport doesn't get set otherwise?
When writing the tiled rendering test, asserts were firing because the
redraw area wasn't set on the page -- however I don't understand
things well enought yet to know whether or not this is the correct
solution.. (Especially as this happened only for certain tile configurations.)
Change-Id: I187d639b00d0748e7cc9fd6cc33d555f02f9a081
-rw-r--r-- | svx/source/svdraw/svdpagv.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx index addcc38352ca..40e08090962b 100644 --- a/svx/source/svdraw/svdpagv.cxx +++ b/svx/source/svdraw/svdpagv.cxx @@ -328,6 +328,8 @@ void SdrPageView::DrawLayer(SdrLayerID nID, OutputDevice* pGivenTarget, sdr::con if(pKnownTarget) { + // This is where it gets lost. + pKnownTarget->GetPaintWindow().SetRedrawRegion(Region(rRect)); // paint known target pKnownTarget->RedrawLayer(&nID, pRedirector); } |