summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/numfmtlb.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-03-22 16:47:23 +0100
committerMiklos Vajna <vmiklos@collabora.com>2024-03-22 19:35:40 +0100
commitc900850742efd4e1fb7c79c13c1b9a17fcd4981d (patch)
tree982447918d299517ecede0dd5711bfc997499ac3 /sw/source/uibase/utlui/numfmtlb.cxx
parentc469e786be9345fc76e5cc62fd23dd317db53c02 (diff)
Relatted: tdf#160139 RTF paste: don't turn off headers/footers
Regression from commit d918beda2ab42668014b0dd42996b6ccc97e8c3a (tdf#158814 DOCX import: fix unwanted header with type="first" & no titlePg, 2024-02-05), pasting shape text into the body text of Writer turned off the header, which was not intentional. The original use-case was DOCX/RTF import, and the paste case was just not considered. Fix the problem by leaving the paste alone: we already omit a number of actions in this case (e.g. not overwrite styles), don't turn off headers, either. Note that the original problem is wider: we would probably need to track what page styles are created and only touch those, or something similar. Change-Id: If08fa7956e98766d5807332c5c0baa25b46afe38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165191 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/utlui/numfmtlb.cxx')
0 files changed, 0 insertions, 0 deletions