summaryrefslogtreecommitdiff
path: root/toolkit/source/helper/accessibilityclient.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/helper/accessibilityclient.cxx')
-rw-r--r--toolkit/source/helper/accessibilityclient.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/toolkit/source/helper/accessibilityclient.cxx b/toolkit/source/helper/accessibilityclient.cxx
index 41ad0a28b0e4..7dc37943acae 100644
--- a/toolkit/source/helper/accessibilityclient.cxx
+++ b/toolkit/source/helper/accessibilityclient.cxx
@@ -58,14 +58,7 @@ namespace toolkit
protected:
virtual ~AccessibleDummyFactory();
- private:
- oslInterlockedCount m_refCount;
-
public:
- // IReference
- virtual oslInterlockedCount SAL_CALL acquire() SAL_OVERRIDE;
- virtual oslInterlockedCount SAL_CALL release() SAL_OVERRIDE;
-
// IAccessibleFactory
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext >
createAccessibleContext( VCLXButton* /*_pXWindow*/ ) SAL_OVERRIDE
@@ -131,7 +124,6 @@ namespace toolkit
AccessibleDummyFactory::AccessibleDummyFactory()
- : m_refCount(0)
{
}
@@ -141,23 +133,6 @@ namespace toolkit
}
- oslInterlockedCount SAL_CALL AccessibleDummyFactory::acquire()
- {
- return osl_atomic_increment( &m_refCount );
- }
-
-
- oslInterlockedCount SAL_CALL AccessibleDummyFactory::release()
- {
- if ( 0 == osl_atomic_decrement( &m_refCount ) )
- {
- delete this;
- return 0;
- }
- return m_refCount;
- }
-
-
//= AccessibilityClient