diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-11-27 12:28:50 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-11-27 16:32:46 +0100 |
commit | 9c6b114950b36811e5cf2cb5a6a00f5c05053872 (patch) | |
tree | c7c73eff611478e6602b0098f6218cb1752d4aef /i18npool | |
parent | 375c7fad77b3aaa66116a44eea3e3aa4254c3e84 (diff) |
tdf#108048: update InsertBreak slot to use PageNumberFilled param
Since commit c2ccd20c0fd92bddfff76447754541705e3eb8f3 (tdf#44689),
SwWrtShell::InsertPageBreak takes page number as optional argument.
The FN_INSERT_BREAK_DLG case in SwTextShell::Execute expects third
parameter (FN_PARAM_3) to be boolean flag indicating if page number
is filled. But corresponding sw slot was not updated to that fact.
This prevented macros inserting page breaks with page numbers to be
properly recorded, and one couldn't fix that manually, too, because
the slot didn't expect that extra param (which would be dropped in
TransformParameters).
This adds the boolean parameter named PageNumberFilled to the list
of InsertBreak slot.
Unit test included.
Change-Id: Ibccaece59b0e9848c0b754aa91b6700054b7fe97
Reviewed-on: https://gerrit.libreoffice.org/45319
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'i18npool')
0 files changed, 0 insertions, 0 deletions