Kaydet (Commit) 19f2ded5 authored tarafından Miklos Vajna's avatar Miklos Vajna

tdf#92645 svx rendercontext: fix missing paint on shape text editing

Change-Id: Icb70805969ccf55bd85fb38c03cf70c1e0b16554
(cherry picked from commit 40ade8d0)
üst b0bf7b57
...@@ -308,7 +308,12 @@ void SdrObjEditView::TextEditDrawing(SdrPaintWindow& rPaintWindow) const ...@@ -308,7 +308,12 @@ void SdrObjEditView::TextEditDrawing(SdrPaintWindow& rPaintWindow) const
{ {
OutlinerView* pOLV = pActiveOutliner->GetView(i); OutlinerView* pOLV = pActiveOutliner->GetView(i);
if(pOLV->GetWindow() == &rPaintWindow.GetOutputDevice() || GetModel()->isTiledRendering()) // If rPaintWindow knows that the output device is a render
// context and is aware of the underlying vcl::Window,
// compare against that; that's how double-buffering can
// still find the matching OutlinerView.
OutputDevice* pOutputDevice = rPaintWindow.GetWindow() ? rPaintWindow.GetWindow() : &rPaintWindow.GetOutputDevice();
if(pOLV->GetWindow() == pOutputDevice || GetModel()->isTiledRendering())
{ {
ImpPaintOutlinerView(*pOLV, aCheckRect, rPaintWindow.GetTargetOutputDevice()); ImpPaintOutlinerView(*pOLV, aCheckRect, rPaintWindow.GetTargetOutputDevice());
return; return;
......
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