diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-11-24 15:33:44 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-11-24 19:54:36 +0100 |
commit | ecc3c621fe5a7e962f0e40cb3709ad5772a5d744 (patch) | |
tree | a9bfc6c067c6f249262ea695e02b2e850c59b50f /sfx2/uiconfig | |
parent | a4565b9361636c3f9b01755b2f467056d33e4e30 (diff) |
sw: fix SwXTextRange::createEnumeration() inside table cell
This would set CursorType::SelectionInTable but leave m_pOwnTable
and m_pOwnStartNode uninitialised, causing
sw/source/core/unocore/unoobj2.cxx:399: SwXParagraphEnumeration: table type but no start node or table
and then the enumeration would return the table it's in as the first
element, which is quite annoying.
Refactor the creation of SwXParagraphEnumeration to prevent this.
Change-Id: I4e9e3456bdf66b9822d19ad985a20b094e6bbba4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106532
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sfx2/uiconfig')
0 files changed, 0 insertions, 0 deletions