summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/extended/accessibleeditbrowseboxcell.cxx')
-rw-r--r--accessibility/source/extended/accessibleeditbrowseboxcell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
index d5c38782314c..96ee02c62385 100644
--- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
+++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
@@ -198,7 +198,7 @@ namespace accessibility
void SAL_CALL EditBrowseBoxTableCellAccess::disposing()
{
// dispose our context, if it still alive
- Reference< XComponent > xMyContext( (Reference< XAccessibleContext >)m_aContext, UNO_QUERY );
+ Reference< XComponent > xMyContext( m_aContext.get(), UNO_QUERY );
if ( xMyContext.is() )
{
try