summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-11-30 16:42:26 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-12-01 05:07:42 +0100
commit963de9feb37105560fde14b44d992e47f341bb5b (patch)
tree849176f7484e3ad2c1400e7cab6a12f59adc16ec /sc
parent619500d6919c227e734b119481a4b334972e0b7b (diff)
sw: fix issue with copying stashed frame format
When the PageDesc is copied from one document to another, we don't make sure the stashed FrameFormat(s) are also properly copied to the new document (which can happen at copy/paste). This can cause a crash if the stashed FrameFormats are accessed or destructed after the original document is destroyed. This fixes the issue so that when we detect the PageDesc belong to different documents, the stashed FrameFormats are copied just like the non-stashed FrameFormats (used for headers and footers). Change-Id: I948068dba4d39bb47c3725dfa8491c53c5833c7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160065 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc')
0 files changed, 0 insertions, 0 deletions