diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-05-17 18:23:30 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-05-18 01:43:28 +0200 |
commit | 25eddbb2cf56a5a24892a7023862fdb5ea23d38d (patch) | |
tree | 0f2c92e1d8a206a5f65134491bfb23b711a3cb8e /vcl/source/window/floatwin.cxx | |
parent | 7a77d927c88a04ee51ceb765c77e725a67a1d1a7 (diff) |
Avoid mixing up units in LogicRectangle method
For main document window we use logic coordinates, but
for dialog / floating windows we use pixels. Use a different
method name to make it clear which unit we use in the code.
Change-Id: I7aee7a03013d24e1a2e37072e224e7d4e7830f02
Reviewed-on: https://gerrit.libreoffice.org/54500
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'vcl/source/window/floatwin.cxx')
-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 f52aafeac5ab..1a6166dd5b92 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -590,7 +590,7 @@ bool FloatingWindow::EventNotify( NotifyEvent& rNEvt ) return bRet; } -void FloatingWindow::LogicInvalidate(const tools::Rectangle* /*pRectangle*/) +void FloatingWindow::PixelInvalidate(const tools::Rectangle* /*pRectangle*/) { if (VclPtr<vcl::Window> pParent = GetParentWithLOKNotifier()) { |