vcl/osx/salframeview.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 83a06bf09e18bcc0028739d3dbe67617f007fbe9 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Thu Nov 28 09:35:27 2024 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Thu Nov 28 12:23:10 2024 +0100 loplugin:reftotemp Change-Id: I6ec03b1c3238a9c222444078b3d9b5ccb40d81d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177468 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm index ceab3c872fc4..5345a0fd2856 100644 --- a/vcl/osx/salframeview.mm +++ b/vcl/osx/salframeview.mm @@ -255,7 +255,7 @@ static bool isMouseScrollWheelEvent( NSEvent *pEvent ) mpLiveResizeTimer = nil; mpResetParentWindowTimer = nil; mpFrame = pFrame; - const SalFrameGeometry& rFrameGeometry = pFrame->GetUnmirroredGeometry(); + const SalFrameGeometry rFrameGeometry = pFrame->GetUnmirroredGeometry(); NSRect aRect = { { static_cast<CGFloat>(rFrameGeometry.x()), static_cast<CGFloat>(rFrameGeometry.y()) }, { static_cast<CGFloat>(rFrameGeometry.width()), static_cast<CGFloat>(rFrameGeometry.height()) } }; pFrame->VCLToCocoa( aRect );