diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-06-30 13:09:32 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-06-30 14:00:30 +0200 |
commit | b6cefd5e8b5086619e591385a0d7a6ffcd9783b9 (patch) | |
tree | 4657b6ffacdf5fc427001c03c6d932e266879d2c /.gitignore | |
parent | 6c76a0a84785b48c29687e6d31b8229a230563d8 (diff) |
sw: avoid layout recursion when loading documents with charts...
... that have a Writer table as data source, such as ooo38798-1.sxw.
The problem is that during layouting, the SwWrtShell::CalcAndSetScale()
wants to call setVisualAreaSize() on the embedded chart object.
This switches the state of the object to RUNNING, which loads it from
the file, and during that the ODF filter calls into SwChartDataProvider
and that uses a UnoActionRemoveContext; unfortunately that ends all
pending Actions, so we get a recursive layout action.
Apparently the UnoActionRemoveContext is required to call
SwUnoTableCrsr::MakeBoxSels() for old-style tables, which need layout
frames for selection?!?
Try to avoid the problem by disabling UnoActionRemoveContext in case a
new-style table will be selected, which can be done without layout.
Change-Id: I097991ffb2e78ddf011db7575f7bb63ae8aa7005
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions