summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2009-10-28 16:00:22 +0000
committerArmin Weiss <aw@openoffice.org>2009-10-28 16:00:22 +0000
commit399c758fd565fa692bf34eb542121827d5ad0f98 (patch)
tree3d7daddf976f7632a3d6dd824a4e409046451c76
parent1d8ff938ffc1a10d7889ff29f13f7e87a221d84e (diff)
#i106183# added fix as described tin task
-rw-r--r--svx/source/svdraw/svdpage.cxx8
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;
}