loplugin:reftotemp

Change-Id: I6ec03b1c3238a9c222444078b3d9b5ccb40d81d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177468
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
Stephan Bergmann 2024-11-28 09:35:27 +01:00
parent 7ccde3fecf
commit 83a06bf09e

View file

@ -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 );