summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-24 02:18:32 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-24 05:33:50 +0100
commit695dca68537e56e66657a43667793af5eb4b6695 (patch)
tree7cc945ae1c6219b3be32ad0a549d1773a1ac3862
parentunusedcode.easy: Remove SotFactory::TestInvariant() (diff)
downloadcore-695dca68537e56e66657a43667793af5eb4b6695.tar.gz
core-695dca68537e56e66657a43667793af5eb4b6695.zip
unusedcode.easy: OwnerLock includes this feature
-rw-r--r--sot/inc/sot/object.hxx1
-rw-r--r--sot/source/base/object.cxx12
-rwxr-xr-xunusedcode.easy1
3 files changed, 0 insertions, 14 deletions
diff --git a/sot/inc/sot/object.hxx b/sot/inc/sot/object.hxx
index 1d98d44f916b..326d651b6ea6 100644
--- a/sot/inc/sot/object.hxx
+++ b/sot/inc/sot/object.hxx
@@ -313,7 +313,6 @@ public:
sal_uInt16 GetStrongLockCount() const { return nStrongLockCount; }
void OwnerLock( sal_Bool bLock );
- void RemoveOwnerLock();
sal_Bool DoClose();
sal_Bool IsInClose() const { return bInClose; }
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()
{
diff --git a/unusedcode.easy b/unusedcode.easy
index 96a525b029c1..a2edafd39e3b 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -165,7 +165,6 @@ SortedPositions_SAR::Replace(unsigned int const&, unsigned short)
SortedPositions_SAR::Replace(unsigned int const*, unsigned short, unsigned short)
SortedPositions_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned int const&, void*), void*)
SotExchange::GetExchangeAction(com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable> const&, unsigned short, unsigned short, unsigned short, unsigned long&, unsigned short&, unsigned long)
-SotObject::RemoveOwnerLock()
SotStorage::GetProperty(String const&, String const&, com::sun::star::uno::Any&)
SpanStyleManager::get(WPXString const&) const
SpinButton::SpinButton(Window*, ResId const&)