diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/listview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailview.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/control/listview.cxx b/sfx2/source/control/listview.cxx index 725d7564bbe8..5b53ee5b67f9 100644 --- a/sfx2/source/control/listview.cxx +++ b/sfx2/source/control/listview.cxx @@ -293,7 +293,7 @@ IMPL_LINK(ListView, QueryTooltipHdl, const weld::TreeIter&, rIter, OUString) return OUString(); } -sal_uInt16 ListView::get_nId(int pos) +sal_uInt16 ListView::get_nId(int pos) const { return static_cast<sal_uInt16>(mxTreeView->get_id(pos).toInt32()); } diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index 7d48b674f4c5..284376d974fd 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -329,7 +329,7 @@ css::uno::Reference< css::accessibility::XAccessible > ThumbnailView::CreateAcce return mxAccessible; } -css::uno::Reference< css::accessibility::XAccessible > ThumbnailView::getAccessible() +css::uno::Reference< css::accessibility::XAccessible > ThumbnailView::getAccessible() const { return mxAccessible; } @@ -543,7 +543,7 @@ void ThumbnailView::ImplFireAccessibleEvent( short nEventId, const css::uno::Any pAcc->FireAccessibleEvent( nEventId, rOldValue, rNewValue ); } -bool ThumbnailView::ImplHasAccessibleListeners() +bool ThumbnailView::ImplHasAccessibleListeners() const { ThumbnailViewAcc* pAcc = ThumbnailViewAcc::getImplementation(mxAccessible); return( pAcc && pAcc->HasAccessibleListeners() ); |