sc/source/ui/cctrl/dpcontrol.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d412003ac1ff052a2f957fdd8f63f9c724af95c8 Author: Heiko Tietze <[email protected]> AuthorDate: Thu Oct 23 09:52:04 2025 +0200 Commit: Heiko Tietze <[email protected]> CommitDate: Thu Oct 23 11:52:37 2025 +0200 Revert "cid#1666412 Result is not floating-point" This reverts commit e44a2c4f0f39c2c6209677acc4aec66c2844a7eb. Reason for revert: Planning to revert Idbe560429a6c9842f66f7584db393230ff102235 Change-Id: Iebc89b1fe83ee3a79e68e0bee39f622e5d107164 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192890 Tested-by: Jenkins Reviewed-by: Heiko Tietze <[email protected]> diff --git a/sc/source/ui/cctrl/dpcontrol.cxx b/sc/source/ui/cctrl/dpcontrol.cxx index 90db68020017..ad585ea092a4 100644 --- a/sc/source/ui/cctrl/dpcontrol.cxx +++ b/sc/source/ui/cctrl/dpcontrol.cxx @@ -230,8 +230,8 @@ void ScDPFieldButton::drawPopupButton() mpOutDev->SetLineColor(); mpOutDev->DrawRect(tools::Rectangle(aPos, aSize)); - const double nVDist = aSize.Height() / 4.0; - const double nHDist = aSize.Width() / 10.0; + const double nVDist = aSize.Height() / 4; + const double nHDist = aSize.Width() / 10; const double fZoom = static_cast<double>(maZoomY); aBackgroundColor = mbPopupPressed ? mrStyle.GetButtonTextColor()
