loplugin:redundantfcast
Change-Id: I6b19cbd146de479754b9e8833076ed7f077c87f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155443 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
+1
-1
@@ -301,7 +301,7 @@ bool AquaSalMenu::ShowNativePopupMenu(FloatingWindow * pWin, const tools::Rectan
|
||||
// do the same strange semantics as vcl popup windows to arrive at a frame geometry
|
||||
// in mirrored UI case; best done by actually executing the same code
|
||||
sal_uInt16 nArrangeIndex;
|
||||
pWin->SetPosPixel( ::Point(FloatingWindow::ImplCalcPos( pWin, rRect, nFlags, nArrangeIndex )) );
|
||||
pWin->SetPosPixel( FloatingWindow::ImplCalcPos( pWin, rRect, nFlags, nArrangeIndex ) );
|
||||
displayPopupFrame.origin.x = pWin->ImplGetFrame()->maGeometry.x() - pParentAquaSalFrame->maGeometry.x() + offset;
|
||||
displayPopupFrame.origin.y = pWin->ImplGetFrame()->maGeometry.y() - pParentAquaSalFrame->maGeometry.y() + offset;
|
||||
pParentAquaSalFrame->VCLToCocoa(displayPopupFrame, false);
|
||||
|
||||
Reference in New Issue
Block a user