diff options
| author | Michael Weghorn <m.weghorn@posteo.de> | 2026-04-20 21:28:01 +0200 |
|---|---|---|
| committer | Michael Weghorn <m.weghorn@posteo.de> | 2026-04-21 10:27:03 +0200 |
| commit | 5845db6b43d0ddb7bc5949b746593e915bc2b08b (patch) | |
| tree | 22e33474ad5a616662b22f5fcaf13d7aa287195b /icon-themes/colibre/cmd/lc_outlinefont.png | |
| parent | 9a3ec59190c3dc80b7863a8558e80d9108040d93 (diff) | |
In SwLabelPage::DisplayFormat, drop 2 calls to
weld::MetricSpinField::reformat that are not needed.
As the weld::MetricSpinField::reformat documentation says:
// typically you only need to call this if set_text (e.g. with "") was
// previously called to display some arbitrary text instead of the
// formatted value and now you want to show it as formatted again
In the case here, the actual value is set before the
call and the SpinButton was just created, so there is
no need to call weld::MetricSpinField::reformat.
No change in behavior intended or seen in a quick test
as follows:
* start Writer
* "File" -> "New" -> "Labels"
* switch to the "Labels" tab
* select a Brand, e.g. "Tower" in the corresponding
combobox
* switch between the different available items in
the "Type" combobox.
Result: The displayed text updates according to the
selection and includes the size of the currently
selected label type, e.g.
"CIL-B440 Business Cards: 8.50 cm x 5.50 cm (2 x 5)"
if "Tower" and "CIL-B440 Business Cards" are selected
for the brand and type.
Change-Id: I46e13be9bea9983eb0c7a11c23f6c1b768ce325f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203999
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'icon-themes/colibre/cmd/lc_outlinefont.png')
0 files changed, 0 insertions, 0 deletions
