tdf#103083 - EDITING: Cut and Paste changes bullet point formatting

Desktop / LibreOffice - Noel Grandin [peralex.com] - 19 October 2016 01:23 UTC

The bug is that, on paste, the incorrect stylesheet is set on a paragraph node, leading to the loss of bullet formatting information.

There are two copies of this style-resetting code, one in sd::View::OnEndPasteOrDrop and the other in Outliner::ImplSetLevelDependendStyleSheet.

The first one was introduced by: commit 8aa3d1214b17873f6c3d79d95da8bc33d78298c4 Author: Rüdiger Timm Date: Fri Jun 6 11:11:54 2008 +0000 INTEGRATION: CWS impressodf12 (1.62.4); FILE MERGED

And the second one by: commit a6b3e8c1495151b99c3f2f0eadf5881654cbd3b3 Author: Rüdiger Timm Date: Fri Jun 6 11:30:58 2008 +0000 INTEGRATION: CWS impressodf12 (1.70.350); FILE MERGED

The second one appears to do the right thing, and fixes this bug, so I am deleting the first one.

Change-Id: I5eede7fe7bd3aa24696b495e740d1a4df124bd3a Reviewed-on: https://gerrit.libreoffice.org/30009

7e48876 tdf#103083 - EDITING: Cut and Paste changes bullet point formatting
sd/qa/unit/tiledrendering/data/tdf103083.fodp | 932 +++++++++++++++++++++++++
sd/qa/unit/tiledrendering/tiledrendering.cxx | 70 ++
sd/source/ui/view/sdview.cxx | 43 +-
3 files changed, 1009 insertions(+), 36 deletions(-)

Upstream: cgit.freedesktop.org


  • Share