[dev] Drawing layer performance problem.

2009-08-24 Thread zhiyong xue
There are two performance problems in Drawing layer: 1) Load a Presentation document. A Presentation document contains many text object, So it will spend too many time to calculate object bound rectangle in loading. (The function is SdrObject::RecalcBoundRect ). The first question is: can we

Re: [dev] Drawing layer performance problem.

2009-08-24 Thread Malte Timmermann
Hi zhiyong xue, for the first question: You are right that there shouldn't be too many SdrObject::RecalcBoundRect. I guess calls to RecalcBoundRect are not avoidable, because the ODF file only contains the object size, which doesn't have to be the same like the real text area. But it should