diff options
author | Luke Dixon <luke@luke.dixon.name> | 2020-08-30 13:35:20 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-02 20:55:25 +0200 |
commit | c13671108fa7cee0cc1801e4c08800de1daab850 (patch) | |
tree | 0899d326d204ecefec3b19d8805f05f364f1c18b /reportbuilder | |
parent | 6c8e9d47f9a8e09349dc1dbd3155461cc96034ff (diff) |
Fix crash when entering newline in starmath experimental editor
Currently things crash when adding a newline using the experimental
editor in Math Formula editor. It looks like this is happening because
the newly inserted line was getting destroyed when the unique_ptr goes
out of scope.
This change releases the unique_ptr so it doesn't get destroyed. As it
is now part of the tree it should be destroyed elsewhere.
Change-Id: Icfe2c0289c12302d39883dc04cef0351467aa845
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101737
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportbuilder')
0 files changed, 0 insertions, 0 deletions