diff options
-rw-r--r-- | accessibility/inc/standard/vclxaccessiblelistitem.hxx | 4 | ||||
-rw-r--r-- | accessibility/source/standard/vclxaccessiblelistitem.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/inc/standard/vclxaccessiblelistitem.hxx b/accessibility/inc/standard/vclxaccessiblelistitem.hxx index fb5cab491606..cbf874e41cb8 100644 --- a/accessibility/inc/standard/vclxaccessiblelistitem.hxx +++ b/accessibility/inc/standard/vclxaccessiblelistitem.hxx @@ -66,7 +66,7 @@ protected: /// client id in the AccessibleEventNotifier queue sal_uInt32 m_nClientId; - css::uno::Reference< VCLXAccessibleList > m_xParent; + rtl::Reference< VCLXAccessibleList > m_xParent; css::uno::Reference< css::accessibility::XAccessibleContext > m_xParentContext; protected: @@ -88,7 +88,7 @@ public: is our parent accessible object */ VCLXAccessibleListItem(sal_Int32 _nIndexInParent, - const css::uno::Reference< VCLXAccessibleList >& _xParent); + const rtl::Reference< VCLXAccessibleList >& _xParent); void NotifyAccessibleEvent( sal_Int16 _nEventId, const css::uno::Any& _aOldValue, const css::uno::Any& _aNewValue ); diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index a7e079553940..0ee2bb164080 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -61,7 +61,7 @@ using namespace ::com::sun::star; // Ctor() and Dtor() -VCLXAccessibleListItem::VCLXAccessibleListItem(sal_Int32 _nIndexInParent, const Reference< VCLXAccessibleList >& _xParent) +VCLXAccessibleListItem::VCLXAccessibleListItem(sal_Int32 _nIndexInParent, const rtl::Reference< VCLXAccessibleList >& _xParent) : VCLXAccessibleListItem_BASE(m_aMutex) , m_nIndexInParent(_nIndexInParent) , m_bSelected(false) @@ -214,7 +214,7 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleListItem::getAccessibleParent( { ::osl::MutexGuard aGuard( m_aMutex ); - return m_xParent; + return m_xParent.get(); } sal_Int32 SAL_CALL VCLXAccessibleListItem::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) |