loplugin:staticaccess
Change-Id: I9e8accc56fc1d3b095390944a5ae2fc80bcbc05d
This commit is contained in:
@@ -444,7 +444,7 @@ Point FloatingWindow::ImplCalcPos(vcl::Window* pWindow,
|
|||||||
if (pW->IsMapModeEnabled())
|
if (pW->IsMapModeEnabled())
|
||||||
*pLOKTwipsPos = pW->PixelToLogic(aPos, MapMode(MapUnit::MapTwip));
|
*pLOKTwipsPos = pW->PixelToLogic(aPos, MapMode(MapUnit::MapTwip));
|
||||||
else
|
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
|
// caller expects coordinates relative to top-level win
|
||||||
|
Reference in New Issue
Block a user