View | Details | Raw Unified | Return to issue 107365
Collapse All | Expand All

(-)a/svx/source/svdraw/sdrpaintwindow.cxx (+25 lines)
Lines 105-110 Link Here
105
105
106
	aRegionPixel.EndEnumRects(aRegionHandle);
106
	aRegionPixel.EndEnumRects(aRegionHandle);
107
107
108
    if ( OUTDEV_WINDOW == mrOutputDevice.GetOutDevType() )
109
    {
110
	    Window& rWindow = static_cast< Window& >(mrOutputDevice);
111
	    if(rWindow.IsChildTransparentModeEnabled() && rWindow.GetChildCount())
112
	    {
113
            const Rectangle aRegionRectanglePixel(aRegionPixel.GetBoundRect());
114
115
		    for(sal_uInt16 a(0); a < rWindow.GetChildCount(); a++)
116
		    {
117
			    Window* pCandidate = rWindow.GetChild(a);
118
119
			    if(pCandidate && pCandidate->IsPaintTransparent())
120
			    {
121
				    const Rectangle aCandidatePosSizePixel(pCandidate->GetPosPixel(), pCandidate->GetSizePixel());
122
123
				    if(aCandidatePosSizePixel.IsOver(aRegionRectanglePixel))
124
				    {
125
					    pCandidate->Invalidate(INVALIDATE_NOTRANSPARENT|INVALIDATE_CHILDREN);
126
					    pCandidate->Update();
127
				    }
128
			    }
129
		    }
130
	    }
131
    }
132
108
	mrOutputDevice.EnableMapMode(bMapModeWasEnabledDest);
133
	mrOutputDevice.EnableMapMode(bMapModeWasEnabledDest);
109
	maPreRenderDevice.EnableMapMode(bMapModeWasEnabledSource);
134
	maPreRenderDevice.EnableMapMode(bMapModeWasEnabledSource);
110
}
135
}

Return to issue 107365