summaryrefslogtreecommitdiff
path: root/svtools/source/control/ctrlbox.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 12:27:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 15:30:42 +0200
commit7cd179df80957b7daefab028cf35aebb1083b014 (patch)
treef76056c2eaf044088cd1dc8159136bac774500f0 /svtools/source/control/ctrlbox.cxx
parente1482daecff877e3b0e22f1fc864e614376cb6b1 (diff)
loplugin:const& make some params and methods const
Change-Id: I2973128a9c6c53187e1da400d1a5df763d515596 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104020 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/control/ctrlbox.cxx')
-rw-r--r--svtools/source/control/ctrlbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 9149cb4246c3..7a5d73e3135c 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -338,7 +338,7 @@ static std::vector<OUString> gRenderedFontNames;
namespace
{
- void calcCustomItemSize(weld::ComboBox& rComboBox)
+ void calcCustomItemSize(const weld::ComboBox& rComboBox)
{
gUserItemSz = Size(rComboBox.get_approximate_digit_width() * 52, rComboBox.get_text_height());
gUserItemSz.setHeight(gUserItemSz.Height() * 16);