diff options
author | Armin Weiss <aw@openoffice.org> | 2009-10-28 16:00:22 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2009-10-28 16:00:22 +0000 |
commit | 399c758fd565fa692bf34eb542121827d5ad0f98 (patch) | |
tree | 3d7daddf976f7632a3d6dd824a4e409046451c76 | |
parent | 1d8ff938ffc1a10d7889ff29f13f7e87a221d84e (diff) |
#i106183# added fix as described tin task
-rw-r--r-- | svx/source/svdraw/svdpage.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 05b5b5e5aca6..55e0347e6522 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -671,7 +671,13 @@ const Rectangle& SdrObjList::GetAllObjSnapRect() const const Rectangle& SdrObjList::GetAllObjBoundRect() const { - if (bRectsDirty) { + // #i106183# for deep group hierarchies like in chart2, the invalidates + // through the hierarchy are not correct; use a 2nd hint for the needed + // recalculation. Future versions will have no bool flag at all, but + // just aOutRect in empty state to representate an invalid state, thus + // it's a step in the right direction. + if (bRectsDirty || aOutRect.IsEmpty()) + { ((SdrObjList*)this)->RecalcRects(); ((SdrObjList*)this)->bRectsDirty=FALSE; } |