summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-05-21 21:49:19 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-21 22:00:02 +0300
commitc3a4937604fc296f3f6bf4dee48f224f255b9ffc (patch)
tree5f9143787692756bc82b76ac6a518f6dd3e7034b
parent24d43f21e92c0db040f549a226c0889db20621ac (diff)
loplugin:staticaccess
Change-Id: I9e8accc56fc1d3b095390944a5ae2fc80bcbc05d
-rw-r--r--vcl/source/window/floatwin.cxx2
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