[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at collabora.com
Mon May 21 19:09:15 UTC 2018
vcl/source/window/floatwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c3a4937604fc296f3f6bf4dee48f224f255b9ffc
Author: Tor Lillqvist <tml at 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
More information about the Libreoffice-commits
mailing list