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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/inc/table/tablecontrol.hxx | 2 | ||||
-rw-r--r-- | svtools/source/brwbox/brwbox3.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol.cxx | 9 |
3 files changed, 3 insertions, 10 deletions
diff --git a/svtools/inc/table/tablecontrol.hxx b/svtools/inc/table/tablecontrol.hxx index fb6868f3d5b0..1e780440a05a 100644 --- a/svtools/inc/table/tablecontrol.hxx +++ b/svtools/inc/table/tablecontrol.hxx @@ -128,7 +128,7 @@ namespace svt::table // IAccessibleTable - virtual tools::Rectangle GetWindowExtentsRelative( vcl::Window *pRelativeWindow ) const override; + virtual tools::Rectangle GetWindowExtentsRelative(const vcl::Window *pRelativeWindow) const override; virtual void GrabFocus() override; virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessible() override; virtual vcl::Window* GetAccessibleParentWindow() const override; 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 ); } diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx index ce88591a5048..e2310b798bcd 100644 --- a/svtools/source/table/tablecontrol.cxx +++ b/svtools/source/table/tablecontrol.cxx @@ -469,45 +469,38 @@ namespace svt::table } } - void TableControl::commitCellEventIfAccessibleAlive( sal_Int16 const i_eventID, const Any& i_newValue, const Any& i_oldValue ) { if ( m_pImpl->isAccessibleAlive() ) m_pImpl->commitCellEvent( i_eventID, i_newValue, i_oldValue ); } - void TableControl::commitTableEventIfAccessibleAlive( sal_Int16 const i_eventID, const Any& i_newValue, const Any& i_oldValue ) { if ( m_pImpl->isAccessibleAlive() ) m_pImpl->commitTableEvent( i_eventID, i_newValue, i_oldValue ); } - - tools::Rectangle TableControl::GetWindowExtentsRelative( vcl::Window *pRelativeWindow ) const + tools::Rectangle TableControl::GetWindowExtentsRelative(const vcl::Window *pRelativeWindow) const { return Control::GetWindowExtentsRelative( pRelativeWindow ); } - void TableControl::GrabFocus() { Control::GrabFocus(); } - Reference< XAccessible > TableControl::GetAccessible() { return Control::GetAccessible(); } - vcl::Window* TableControl::GetAccessibleParentWindow() const { return Control::GetAccessibleParentWindow(); } - vcl::Window* TableControl::GetWindowInstance() { return this; |