summaryrefslogtreecommitdiff
path: root/vcl/source/treelist
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-26 15:07:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-26 21:57:39 +0200
commita387bf54a944212cff94dbd1182bb55ab39a4324 (patch)
tree0e8c0eaf04e2c2c2272e3bd43c7c094f45642031 /vcl/source/treelist
parentbfece0e86e1df7f8fdee3067177ca1588712600c (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 'vcl/source/treelist')
-rw-r--r--vcl/source/treelist/svtabbx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/treelist/svtabbx.cxx b/vcl/source/treelist/svtabbx.cxx
index 2504cf2e1fd6..2f866dc0c377 100644
--- a/vcl/source/treelist/svtabbx.cxx
+++ b/vcl/source/treelist/svtabbx.cxx
@@ -958,7 +958,7 @@ bool SvHeaderTabListBox::GetGlyphBoundRects( const Point& rOrigin, const OUStrin
return Control::GetGlyphBoundRects( rOrigin, rStr, nIndex, nLen, rVector );
}
-tools::Rectangle SvHeaderTabListBox::GetWindowExtentsRelative( vcl::Window *pRelativeWindow ) const
+tools::Rectangle SvHeaderTabListBox::GetWindowExtentsRelative(const vcl::Window *pRelativeWindow) const
{
return Control::GetWindowExtentsRelative( pRelativeWindow );
}