diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-05-04 20:11:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-05 21:20:39 +0200 |
commit | eff90f57b75c5aa0c18f0c87aa7bce36e414a68e (patch) | |
tree | b4e7f6315c713ca7a468cc5f7c5d6aeac95e96bb /sc | |
parent | 27cc1d10421777469c89cd1ec30229643b1a03ea (diff) |
convert sal_uLong and tools::Long in vcl/settings
Change-Id: I69711b791884218f4a14c85fe69072b9ea06dc79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115109
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/cctrl/cbuttonw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx index 52660ee7a28d..b7f99f73181b 100644 --- a/sc/source/ui/cctrl/cbuttonw.cxx +++ b/sc/source/ui/cctrl/cbuttonw.cxx @@ -43,7 +43,7 @@ void ScDDComboBoxButton::SetOutputDevice( OutputDevice* pOutputDevice ) void ScDDComboBoxButton::SetOptSizePixel() { aBtnSize = pOut->LogicToPixel(Size(8, 11), MapMode(MapUnit::MapAppFont)); - aBtnSize.setWidth( std::max(aBtnSize.Width(), pOut->GetSettings().GetStyleSettings().GetScrollBarSize()) ); + aBtnSize.setWidth( std::max(aBtnSize.Width(), static_cast<tools::Long>(pOut->GetSettings().GetStyleSettings().GetScrollBarSize())) ); } void ScDDComboBoxButton::Draw( const Point& rAt, |