fdo#58189 : EDITING: Wrong Chapter Moves with the Navigator
fdo#58189 : EDITING: Wrong Chapter Moves with the Navigator

During DnD, the target of the dropped node is wrong when dropping after the first node. That's because no key is calculated for position 0 (= the first node). All the other key-finding methods (eg in Collapse and Expand) don't check for 0.

Change-Id: I33b1b4f27a342dc40b37fe1fbaedeb7553a37ece
Reviewed-on: https://gerrit.libreoffice.org/11200
Reviewed-by: Samuel Mehrbrodt <1326bd52956bbc4a7d7265d916d1b1d77d1d69ea@gmail.com>
Tested-by: Samuel Mehrbrodt <1326bd52956bbc4a7d7265d916d1b1d77d1d69ea@gmail.com>

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core