Resolves: fdo#74070 make replace and with fields the same width

Change-Id: I2fbd7d6ed4e657660334a572768f12cbba1d75e2
(cherry picked from commit 8d464a7423ac8f3eb30eb80a0e5041989a4cc2da)
Reviewed-on: https://gerrit.libreoffice.org/8109
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>