df-libreoffice:private/thb/sw_redlinehide-6-1

Last commit made on 2018-06-12
Get this branch:
git clone -b private/thb/sw_redlinehide-6-1 https://git.launchpad.net/df-libreoffice
Members of The Document Foundation can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
private/thb/sw_redlinehide-6-1
Repository:
lp:df-libreoffice

Recent commits

5741955... by =?utf-8?q?Caol=C3=A1n_McNamara?= <email address hidden>

coverity#1436014 silence Dereference null return value

Change-Id: I5ba1f864b5fcf69e3437792f99d24367f5f5a44d
Reviewed-on: https://gerrit.libreoffice.org/55603
Tested-by: Jenkins <email address hidden>
Reviewed-by: Caolán McNamara <email address hidden>
Tested-by: Caolán McNamara <email address hidden>

9618360... by =?utf-8?q?Caol=C3=A1n_McNamara?= <email address hidden>

coverity#1436013 Unintended sign extension

Change-Id: Ic8dd5523d774f84627cd13ad53508386071f92e9
Reviewed-on: https://gerrit.libreoffice.org/55606
Tested-by: Jenkins <email address hidden>
Reviewed-by: Caolán McNamara <email address hidden>
Tested-by: Caolán McNamara <email address hidden>

b11ee14... by =?utf-8?q?Caol=C3=A1n_McNamara?= <email address hidden>

coverity#1436018 Dereference after null check

Change-Id: Id6a8ebdde5a08d9581c165a85f067ffaef490cab
Reviewed-on: https://gerrit.libreoffice.org/55604
Tested-by: Jenkins <email address hidden>
Reviewed-by: Caolán McNamara <email address hidden>
Tested-by: Caolán McNamara <email address hidden>

985d7f8... by Michael Stahl <email address hidden>

coverity#1436017 DEADCODE

Ass-umption is that nLen == 0 requires no changes here.

Change-Id: I9af1110aed7998fdf0247c1fa8473f0180e8774e

84bcdcc... by Michael Stahl <email address hidden>

sw_redlinehide: old GCC needs a cast here

Change-Id: I45f340fff2d3285e1af6f6448c807d4997e5a42b

3577fbc... by Michael Stahl <email address hidden>

sw_redlinehide: let the Show menu item toggle new mode

Change-Id: I1201e84b231be17e6a5ec2294acfb1e3111c9ada

6279efd... by Michael Stahl <email address hidden>

sw_redlinehide: very incomplete impl. of SwRootFrame::SetHideRedlines()

Change-Id: Icff1b1aac20a0a6d3f957e7025f6a08a6d0edbee

355e221... by Michael Stahl <email address hidden>

sw_redlinehide: trivial conversions in lcl_DrawLineForWrongListData

Change-Id: I7425bac439df7518b7fe1b62cd6f3fd7a9f88fec

13d7b28... by Michael Stahl <email address hidden>

sw_redlinehide: use WrongListIterator in text formatting code

Change-Id: Ie13119d456fa6fe3919871cc541a9ad927b5982e

04af80c... by Michael Stahl <email address hidden>

sw_redlinehide: Add sw::WrongListIterator

The simplest way to deal with the problem that wrong-lists are on the
SwTextNode is to just take them as-is and iterate over them in a merged
SwTextFrame. This may give results that users may disapprove of, but
i'm not sure how likely it is in practice to e.g. start a delete redline
in the middle of a word and end it in another paragraph.

Perhaps it would be better to move the SwWrongLists to the SwTextFrame,
but that is probably more work.

Also add missing SwTextNode function overloads for "const", so we don't
need mutable SwTextNodes.

Change-Id: I9742e3793abe090cf58ad3f27b51e89be86a1964