diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-24 10:45:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-24 18:46:05 +0100 |
commit | b5bc39f84984fd1063865225209d905bea19833d (patch) | |
tree | 3a1db8afea0c86b2e0d4240ad83fec8df239277b /vcl/source/window/floatwin.cxx | |
parent | b09cf69f7afa6946a9a4dde6bfa130d382ab1f81 (diff) |
tdf#157551 Calc-Validity-CellRange, dropdown tiny
regression from
commit b6b26421a1029b18b48b69dbdac4bb70fb622604
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Thu Jul 20 08:19:52 2023 +0200
split Point/Size/Rectangle into AbsoluteScreenPixel* types
Change-Id: I92c25041520ec5a8f03b5318c00f49bda398b051
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159915
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/floatwin.cxx')
-rw-r--r-- | vcl/source/window/floatwin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 3f9bee4041f2..b2faacadb5fa 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -540,7 +540,8 @@ tools::Rectangle FloatingWindow::ImplConvertToRelPos(vcl::Window* pReference, co pParentWinOutDev->ReMirror(aFloatRect); } else - aFloatRect.SetPos(pReference->OutputToScreenPixel(pReference->AbsoluteScreenToOutputPixel(rRect.TopLeft()))); + aFloatRect = tools::Rectangle(pReference->OutputToScreenPixel(pReference->AbsoluteScreenToOutputPixel(rRect.TopLeft())), + rRect.GetSize()); return aFloatRect; } |