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 /include/vcl/floatwin.hxx | |
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 'include/vcl/floatwin.hxx')
-rw-r--r-- | include/vcl/floatwin.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx index 60531a5478a3..62739f95cb8d 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -130,7 +130,7 @@ public: SAL_DLLPRIVATE tools::Rectangle& ImplGetItemEdgeClipRect(); SAL_DLLPRIVATE bool ImplIsInPrivatePopupMode() const { return mbInPopupMode; } virtual void doDeferredInit(WinBits nBits) override; - void LogicInvalidate(const tools::Rectangle* pRectangle) override; + void PixelInvalidate(const tools::Rectangle* pRectangle) override; public: explicit FloatingWindow(vcl::Window* pParent, WinBits nStyle); |