Kaydet (Commit) 695dca68 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

unusedcode.easy: OwnerLock includes this feature

üst 323fd82d
...@@ -313,7 +313,6 @@ public: ...@@ -313,7 +313,6 @@ public:
sal_uInt16 GetStrongLockCount() const { return nStrongLockCount; } sal_uInt16 GetStrongLockCount() const { return nStrongLockCount; }
void OwnerLock( sal_Bool bLock ); void OwnerLock( sal_Bool bLock );
void RemoveOwnerLock();
sal_Bool DoClose(); sal_Bool DoClose();
sal_Bool IsInClose() const { return bInClose; } sal_Bool IsInClose() const { return bInClose; }
......
...@@ -146,18 +146,6 @@ void SotObject::OwnerLock ...@@ -146,18 +146,6 @@ void SotObject::OwnerLock
} }
} }
void SotObject::RemoveOwnerLock()
{
if ( nOwnerLockCount )
{
--nOwnerLockCount;
ReleaseRef();
}
else {
OSL_FAIL("OwnerLockCount underflow!");
}
}
//========================================================================= //=========================================================================
sal_Bool SotObject::DoClose() sal_Bool SotObject::DoClose()
{ {
......
...@@ -165,7 +165,6 @@ SortedPositions_SAR::Replace(unsigned int const&, unsigned short) ...@@ -165,7 +165,6 @@ SortedPositions_SAR::Replace(unsigned int const&, unsigned short)
SortedPositions_SAR::Replace(unsigned int const*, unsigned short, 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*) 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) 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&) SotStorage::GetProperty(String const&, String const&, com::sun::star::uno::Any&)
SpanStyleManager::get(WPXString const&) const SpanStyleManager::get(WPXString const&) const
SpinButton::SpinButton(Window*, ResId const&) SpinButton::SpinButton(Window*, ResId const&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment