diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-26 15:07:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-26 21:57:39 +0200 |
commit | a387bf54a944212cff94dbd1182bb55ab39a4324 (patch) | |
tree | 0e8c0eaf04e2c2c2272e3bd43c7c094f45642031 /include/vcl/weld.hxx | |
parent | bfece0e86e1df7f8fdee3067177ca1588712600c (diff) |
make get_extents_relative_to const
Change-Id: I031c42cd85395a777c20bdd052da4233bc2fedab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101414
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/weld.hxx')
-rw-r--r-- | include/vcl/weld.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 16be52e8054d..62a143a8565b 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -160,8 +160,8 @@ public: * either widget was not realized, or there was no common ancestor. * Otherwise true. */ - virtual bool get_extents_relative_to(Widget& rRelative, int& x, int& y, int& width, int& height) - = 0; + virtual bool get_extents_relative_to(const Widget& rRelative, int& x, int& y, int& width, + int& height) const = 0; virtual void set_accessible_name(const OUString& rName) = 0; virtual OUString get_accessible_name() const = 0; |