loplugin:staticaccess

Change-Id: I9e8accc56fc1d3b095390944a5ae2fc80bcbc05d
This commit is contained in:
Tor Lillqvist
2018-05-21 21:49:19 +03:00
parent 24d43f21e9
commit c3a4937604

View File

@@ -444,7 +444,7 @@ Point FloatingWindow::ImplCalcPos(vcl::Window* pWindow,
if (pW->IsMapModeEnabled())
*pLOKTwipsPos = pW->PixelToLogic(aPos, MapMode(MapUnit::MapTwip));
else
*pLOKTwipsPos = pW->LogicToLogic(aPos, pW->GetMapMode(), MapMode(MapUnit::MapTwip));
*pLOKTwipsPos = OutputDevice::LogicToLogic(aPos, pW->GetMapMode(), MapMode(MapUnit::MapTwip));
}
// caller expects coordinates relative to top-level win