diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-08 13:27:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-08 16:00:07 +0200 |
commit | 8e6819e06e41e6ad29fbd337a2b641d13f3194ea (patch) | |
tree | 1605b76fc678ede5ff59abda3a2600a5c518d411 /include | |
parent | dfca29c52da8cd5e633a6687d3d65097643f940d (diff) |
CustomWeld::Paint rRect is in logical units, not pixels
Change-Id: I92935bce0ed280f55e061cfdf0a94078946b8c07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104087
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/customweld.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/customweld.hxx b/include/vcl/customweld.hxx index d94837bbcce5..3f4b5d13ed97 100644 --- a/include/vcl/customweld.hxx +++ b/include/vcl/customweld.hxx @@ -28,6 +28,7 @@ public: { return css::uno::Reference<css::accessibility::XAccessible>(); } + // rRect is in Logical units rather than Pixels virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect) = 0; virtual void Resize() {} virtual bool MouseButtonDown(const MouseEvent&) { return false; } |