summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/brwbox3.cxx
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 /svtools/source/brwbox/brwbox3.cxx
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 'svtools/source/brwbox/brwbox3.cxx')
-rw-r--r--svtools/source/brwbox/brwbox3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/brwbox/brwbox3.cxx b/svtools/source/brwbox/brwbox3.cxx
index 0c4f60316541..e6148aa217ce 100644
--- a/svtools/source/brwbox/brwbox3.cxx
+++ b/svtools/source/brwbox/brwbox3.cxx
@@ -531,7 +531,7 @@ bool BrowseBox::GetGlyphBoundRects( const Point& rOrigin, const OUString& rStr,
return Control::GetGlyphBoundRects( rOrigin, rStr, nIndex, nLen, rVector );
}
-tools::Rectangle BrowseBox::GetWindowExtentsRelative( vcl::Window *pRelativeWindow ) const
+tools::Rectangle BrowseBox::GetWindowExtentsRelative(const vcl::Window *pRelativeWindow) const
{
return Control::GetWindowExtentsRelative( pRelativeWindow );
}