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

(-)viewsh.cxx (+31 lines)
Lines 376-382 Link Here
376
						// #i75172# end DrawingLayer paint
376
						// #i75172# end DrawingLayer paint
377
						DLPostPaint2(true);
377
						DLPostPaint2(true);
378
                    }
378
                    }
379
380
                    // --> OD 2009-12-03 #i107365#
381
                    // Direct paint has been performed. Thus, take care of
382
                    // transparent child windows.
383
                    if ( GetWin() )
384
                    {
385
                        Window& rWindow = *(GetWin());
386
                        if(rWindow.IsChildTransparentModeEnabled() && rWindow.GetChildCount())
387
                        {
388
                            const Rectangle aRectanglePixel(rWindow.LogicToPixel(aRect.SVRect()));
389
390
                            for ( sal_uInt16 a(0); a < rWindow.GetChildCount(); a++ )
391
                            {
392
                                Window* pCandidate = rWindow.GetChild(a);
393
394
                                if ( pCandidate && pCandidate->IsPaintTransparent() )
395
                                {
396
                                    const Rectangle aCandidatePosSizePixel(
397
                                                    pCandidate->GetPosPixel(),
398
                                                    pCandidate->GetSizePixel());
399
400
                                    if ( aCandidatePosSizePixel.IsOver(aRectanglePixel) )
401
                                    {
402
                                        pCandidate->Invalidate( INVALIDATE_NOTRANSPARENT|INVALIDATE_CHILDREN );
403
                                        pCandidate->Update();
379
				}
404
				}
405
                                }
406
                            }
407
                        }
408
                    }
409
                    // <--
410
				}
380
411
381
				delete pVout;
412
				delete pVout;
382
                delete pRegion;
413
                delete pRegion;

Return to issue 107365