Bugzilla – Attachment 93277 Details for
Bug 74435
almost all images in document erroneously determined as visible by ViewObjectContactOfPageHierarchy when scrolling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
some debugging output and assert for the bug
fdo73300_debug.diff (text/plain), 2.20 KB, created by
Michael Stahl (allotropia)
on 2014-02-03 11:45:30 UTC
(
hide
)
Description:
some debugging output and assert for the bug
Filename:
MIME Type:
Creator:
Michael Stahl (allotropia)
Created:
2014-02-03 11:45:30 UTC
Size:
2.20 KB
patch
obsolete
>diff --git a/svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx b/svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx >index 3a93368..73f5268 100644 >--- a/svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx >+++ b/svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx >@@ -440,6 +440,17 @@ namespace sdr > { > xRetval = getPrimitive2DSequenceSubHierarchy(rDisplayInfo); > >+long n (xRetval.getLength()); >+SAL_DEBUG(" XXX hier " << n); >+if (n > 100) >+{ >+ SAL_DEBUG(" XXX aieeeeEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!!!!!!1!"); >+ abort(); >+ volatile bool cont(false); >+ while (!cont) >+ xRetval = getPrimitive2DSequenceSubHierarchy(rDisplayInfo); >+} >+ > if(xRetval.hasElements()) > { > // get ranges >diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx >index 4a58027..5af6636 100644 >--- a/svx/source/svdraw/svdpagv.cxx >+++ b/svx/source/svdraw/svdpagv.cxx >@@ -350,6 +350,15 @@ void SdrPageView::DrawLayer(SdrLayerID nID, OutputDevice* pGivenTarget, sdr::con > // Copy existing paint region to use the same as prepared in BeginDrawLayer > SdrPaintWindow& rExistingPaintWindow = pPreparedTarget->GetPaintWindow(); > const Region& rExistingRegion = rExistingPaintWindow.GetRedrawRegion(); >+ if (!rRect.IsEmpty() ) >+ { >+ SAL_DEBUG(" XXX ex " << rExistingRegion << " rRect " << rRect); >+ Region r(rExistingRegion); >+ r.Intersect(rRect); >+ if (r.IsEmpty()) >+ SAL_DEBUG(" XXX intersect empty XXX"); >+ } >+//if(true) > if ( rRect.IsEmpty() ) > aTemporaryPaintWindow.SetRedrawRegion(rExistingRegion); > else >@@ -363,6 +372,7 @@ void SdrPageView::DrawLayer(SdrLayerID nID, OutputDevice* pGivenTarget, sdr::con > > // restore the ExistingPageWindow > pPreparedTarget->unpatchPaintWindow(); >+ if (!rRect.IsEmpty()) SAL_DEBUG(" XXX return XXX"); > } > else > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 74435
: 93277 |
93280