diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-27 16:18:56 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-27 16:21:49 +0900 |
commit | a67be04ba374a6e4f3c5abe4de2ab3cf86e7b538 (patch) | |
tree | 588c661fe67d7d9a531d34fcc6668e5d496a381d | |
parent | 481c185e327cb83ffcb29657d5a354eae2c4a5f3 (diff) |
tdf#91450 fix infinite invalidation loop
Change-Id: I86f4e881011b2e3f50a0186fc301b142a65ccdf6
-rw-r--r-- | vcl/source/edit/vclmedit.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 84bd57064455..00a721fd1335 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -1002,7 +1002,8 @@ void VclMultiLineEdit::ApplySettings(vcl::RenderContext& rRenderContext) theFont.SetFillColor(IsControlBackground() ? GetControlBackground() : rStyleSettings.GetFieldColor()); pImpVclMEdit->GetTextWindow()->SetFont(theFont); - pImpVclMEdit->GetTextWindow()->GetTextEngine()->SetFont(theFont); + // FIXME: next call causes infinite invalidation loop, rethink how to properly fix this situation + // pImpVclMEdit->GetTextWindow()->GetTextEngine()->SetFont(theFont); pImpVclMEdit->GetTextWindow()->SetTextColor(aTextColor); if (IsPaintTransparent()) |