Let FontNameBox::LoadMRUEntries simply return the entries loaded from the file instead of applying them to the combobox right away. Let the only caller FontNameBox::Fill do the insertion, which also unifies the two different code paths of either reinserting the existing entries or setting the ones loaded from the file a bit more. While at it, also rename the local `rEntries` variable to `aEntries`, to make clear this is not actually a reference (as the `r` prefix previously suggested). Change-Id: I89c14f2bcd34c4b6b4decf33e98bef54e7b31cf0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211536 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tools on the Top of VCL
Common dialogs, file and print dialogs, wizards, vcl filters, lots of helper code.