vcl/source/window/floatwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c3a4937604fc296f3f6bf4dee48f224f255b9ffc Author: Tor Lillqvist <t...@collabora.com> Date: Mon May 21 21:49:19 2018 +0300 loplugin:staticaccess Change-Id: I9e8accc56fc1d3b095390944a5ae2fc80bcbc05d diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 4bffbb52b8cf..e30fd77f5c69 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits