summaryrefslogtreecommitdiff
path: root/sot/source/base
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-11-13 21:02:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-11-14 10:11:32 +0000
commita94b6ec2d57cab51d79329ea62d908f3b3713505 (patch)
tree68dd3fe95d4e46e24fb68b225d5ef93310593cda /sot/source/base
parent288a3e6ef7e04c95be1ed26a5df850fbf4e6ea24 (diff)
callcatcher: update unused code post binfilter death
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
Diffstat (limited to 'sot/source/base')
-rw-r--r--sot/source/base/object.cxx25
1 files changed, 1 insertions, 24 deletions
diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx
index 3264015d21f6..3bf6d92bda14 100644
--- a/sot/source/base/object.cxx
+++ b/sot/source/base/object.cxx
@@ -44,8 +44,7 @@ SO2_IMPL_BASIC_CLASS_DLL(SotObject,SotObjectFactory,
|* Beschreibung
*************************************************************************/
SotObject::SotObject()
- : nStrongLockCount( 0 )
- , nOwnerLockCount( 0 )
+ : nOwnerLockCount( 0 )
, bOwner ( sal_True )
, bSVObject ( sal_False )
, bInClose ( sal_False )
@@ -87,28 +86,6 @@ void* SotObject::CastAndAddRef( const SotFactory * pFact )
}
//=========================================================================
-sal_uInt16 SotObject::Lock( sal_Bool bLock )
-{
- SotObjectRef xHoldAlive( this );
- sal_uInt16 nRet;
- if( bLock )
- {
- AddRef();
- nRet = ++nStrongLockCount;
- }
- else
- {
- nRet = --nStrongLockCount;
- ReleaseRef();
- }
-
- if( !nRet && !nOwnerLockCount )
- DoClose();
-
- return nRet;
-}
-
-//=========================================================================
void SotObject::OwnerLock
(
sal_Bool bLock /* sal_True, lock. sal_False, unlock. */