• Mike Kaganski's avatar
    tdf#108048: update InsertBreak slot to use PageNumberFilled param · 9c6b1149
    Mike Kaganski yazdı
    Since commit c2ccd20c (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/45319Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
    9c6b1149
Adı
Son kayıt (commit)
Son güncelleme
..
_annotsh.sdi Loading commit data...
_basesh.sdi Loading commit data...
_beziers.sdi Loading commit data...
_docsh.sdi Loading commit data...
_drwbase.sdi Loading commit data...
_formsh.sdi Loading commit data...
_frmsh.sdi Loading commit data...
_grfsh.sdi Loading commit data...
_listsh.sdi Loading commit data...
_mediash.sdi Loading commit data...
_navsh.sdi Loading commit data...
_olesh.sdi Loading commit data...
_tabsh.sdi Loading commit data...
_textsh.sdi Loading commit data...
_viewsh.sdi Loading commit data...
annotsh.sdi Loading commit data...
basesh.sdi Loading commit data...
beziersh.sdi Loading commit data...
docsh.sdi Loading commit data...
drawsh.sdi Loading commit data...
drwbassh.sdi Loading commit data...
drwtxtsh.sdi Loading commit data...
formsh.sdi Loading commit data...
frmsh.sdi Loading commit data...
grfsh.sdi Loading commit data...
listsh.sdi Loading commit data...
mediash.sdi Loading commit data...
navsh.sdi Loading commit data...
olesh.sdi Loading commit data...
sidebar.sdi Loading commit data...
switems.sdi Loading commit data...
swpatch.txt Loading commit data...
swriter.sdi Loading commit data...
swslots.hrc Loading commit data...
swslots.sdi Loading commit data...
tabsh.sdi Loading commit data...
textsh.sdi Loading commit data...
viewsh.sdi Loading commit data...
wbasesh.sdi Loading commit data...
wbeziers.sdi Loading commit data...
wdocsh.sdi Loading commit data...
wdrwbase.sdi Loading commit data...
wformsh.sdi Loading commit data...
wfrmsh.sdi Loading commit data...
wgrfsh.sdi Loading commit data...
wlistsh.sdi Loading commit data...
wolesh.sdi Loading commit data...
wrtapp.sdi Loading commit data...
wtabsh.sdi Loading commit data...
wtextsh.sdi Loading commit data...
wviewsh.sdi Loading commit data...