diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-07 11:26:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-08 15:16:47 +0200 |
commit | 482f97926e1090c50ef05eed6badf311a7aa02f9 (patch) | |
tree | f2c8534cd0d3446b36f7d9d49c4cbc17ac6ac92a /svtools/source/table/mousefunction.cxx | |
parent | 4861e4961f7dc4f28a14c5f9d9b969456bfec720 (diff) |
use SimpleReferenceObject in svtools module
to replace hand-rolled version
Change-Id: I7a1048ff1ea335c3934fe7e91a09489a4d7aeb96
Diffstat (limited to 'svtools/source/table/mousefunction.cxx')
-rw-r--r-- | svtools/source/table/mousefunction.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/svtools/source/table/mousefunction.cxx b/svtools/source/table/mousefunction.cxx index f921435c7901..dcd55b0797ae 100644 --- a/svtools/source/table/mousefunction.cxx +++ b/svtools/source/table/mousefunction.cxx @@ -30,27 +30,6 @@ namespace svt { namespace table - //= MouseFunction - - - oslInterlockedCount MouseFunction::acquire() - { - return osl_atomic_increment( &m_refCount ); - } - - - oslInterlockedCount MouseFunction::release() - { - oslInterlockedCount newCount = osl_atomic_decrement( &m_refCount ); - if ( newCount == 0 ) - { - delete this; - return 0; - } - return newCount; - } - - //= ColumnResize |