diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-05-21 21:49:19 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-21 22:00:02 +0300 |
commit | c3a4937604fc296f3f6bf4dee48f224f255b9ffc (patch) | |
tree | 5f9143787692756bc82b76ac6a518f6dd3e7034b | |
parent | 24d43f21e92c0db040f549a226c0889db20621ac (diff) |
loplugin:staticaccess
Change-Id: I9e8accc56fc1d3b095390944a5ae2fc80bcbc05d
-rw-r--r-- | vcl/source/window/floatwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |