diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-24 02:18:32 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-24 05:33:50 +0100 |
commit | 695dca68537e56e66657a43667793af5eb4b6695 (patch) | |
tree | 7cc945ae1c6219b3be32ad0a549d1773a1ac3862 /sot/source/base/object.cxx | |
parent | unusedcode.easy: Remove SotFactory::TestInvariant() (diff) | |
download | core-695dca68537e56e66657a43667793af5eb4b6695.tar.gz core-695dca68537e56e66657a43667793af5eb4b6695.zip |
unusedcode.easy: OwnerLock includes this feature
Diffstat (limited to 'sot/source/base/object.cxx')
-rw-r--r-- | sot/source/base/object.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx index e1d3f67571a7..0c293fe42bac 100644 --- a/sot/source/base/object.cxx +++ b/sot/source/base/object.cxx @@ -146,18 +146,6 @@ void SotObject::OwnerLock } } -void SotObject::RemoveOwnerLock() -{ - if ( nOwnerLockCount ) - { - --nOwnerLockCount; - ReleaseRef(); - } - else { - OSL_FAIL("OwnerLockCount underflow!"); - } -} - //========================================================================= sal_Bool SotObject::DoClose() { |