From 83a06bf09e18bcc0028739d3dbe67617f007fbe9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 28 Nov 2024 09:35:27 +0100 Subject: [PATCH] loplugin:reftotemp Change-Id: I6ec03b1c3238a9c222444078b3d9b5ccb40d81d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177468 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/osx/salframeview.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(rFrameGeometry.x()), static_cast(rFrameGeometry.y()) }, { static_cast(rFrameGeometry.width()), static_cast(rFrameGeometry.height()) } }; pFrame->VCLToCocoa( aRect );