rhbz#789022: SwNodes: fix inconsistent outline check:
commitb8fe125186a6a99f12a22e50d578e4aabd8aac14
authorMichael Stahl <mstahl@redhat.com>
Wed, 21 Mar 2012 09:25:45 +0000 (21 10:25 +0100)
committerMiklos Vajna <vmiklos@suse.cz>
Sat, 24 Mar 2012 08:55:55 +0000 (24 09:55 +0100)
treecba87ae6d7f62a058484d06c7cc224c520ec6775
parent62cd23f0cf538dccc30f1a38578d4c5925703029
rhbz#789022: SwNodes: fix inconsistent outline check:

SwNodes::UpdateOutlineNode will add/remove the node from
SwNodes::pOutlineNds depending on IsOutline(), while various SwNodes
methods that move and delete nodes check GetAttrOutlineLevel() != 0,
which may be false even if IsOutline() is true.
(cherry picked from commit 082906e1f4cf58fdfab1a4064e2b7955fcdaeb8a)

Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
sw/source/core/docnode/nodes.cxx
sw/source/core/txtnode/ndtxt.cxx