Kaydet (Commit) 6ca4669f authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Andras Timar

rendercontext: Fix rendering of double-buffered fixed line.

Change-Id: I809beb7187530cc30aca5dce8b2d4fb244554c55
üst 55bf9c06
......@@ -515,7 +515,10 @@ const Color& FixedLine::GetCanonicalTextColor( const StyleSettings& _rStyle ) co
void FixedLine::ImplDraw(vcl::RenderContext& rRenderContext, bool bLayout)
{
Size aOutSize = rRenderContext.GetOutputSizePixel();
// we need to measure according to the window, not according to the
// RenderContext we paint to
Size aOutSize = GetOutputSizePixel();
OUString aText = GetText();
WinBits nWinStyle = GetStyle();
MetricVector* pVector = bLayout ? &mpControlData->mpLayoutData->m_aUnicodeBoundRects : NULL;
......
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