Kaydet (Commit) 195d9ce9 authored tarafından Caolán McNamara's avatar Caolán McNamara

give invalid region in target device logic units

Change-Id: I894e82cc97f63911c9cbb69e90d0212d6868527f
Reviewed-on: https://gerrit.libreoffice.org/72359
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 60b3664b
......@@ -8304,7 +8304,8 @@ private:
if (!gdk_cairo_get_clip_rectangle(cr, &rect))
return;
tools::Rectangle aRect(Point(rect.x, rect.y), Size(rect.width, rect.height));
m_xDevice->Erase(m_xDevice->PixelToLogic(aRect));
aRect = m_xDevice->PixelToLogic(aRect);
m_xDevice->Erase(aRect);
m_aDrawHdl.Call(std::pair<vcl::RenderContext&, const tools::Rectangle&>(*m_xDevice, aRect));
cairo_surface_mark_dirty(m_pSurface);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment