vcl/source/window/floatwin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit b5bc39f84984fd1063865225209d905bea19833d Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Nov 24 10:45:37 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Nov 24 18:46:05 2023 +0100 tdf#157551 Calc-Validity-CellRange, dropdown tiny regression from commit b6b26421a1029b18b48b69dbdac4bb70fb622604 Author: Noel Grandin <noel.gran...@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.gran...@collabora.co.uk> 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; }