Remove unused framework::IMutexGuard::reset

Change-Id: If05ef86284c4ed7bf66a6a6de17a4bf8d49e89e1
This commit is contained in:
Stephan Bergmann 2014-03-17 17:25:02 +01:00
parent 00550fbd19
commit d697a05905
4 changed files with 0 additions and 21 deletions

View file

@ -156,7 +156,6 @@ namespace chart
// IMutexGuard
virtual void clear();
virtual void reset();
virtual ::framework::IMutex& getGuardedMutex();
};
@ -178,11 +177,6 @@ namespace chart
{
// nothing to do. This interface implementation is a dummy.
}
void UndoManagerMethodGuard::reset()
{
// nothing to do. This interface implementation is a dummy.
}
}
//= UndoManager

View file

@ -138,7 +138,6 @@ namespace dbaui
// IMutexGuard
virtual void clear();
virtual void reset();
virtual ::framework::IMutex& getGuardedMutex();
private:
@ -156,11 +155,6 @@ namespace dbaui
m_aGuard.clear();
}
void UndoManagerMethodGuard::reset()
{
m_aGuard.reset();
}
// UndoManager
UndoManager::UndoManager( ::cppu::OWeakObject& i_parent, ::osl::Mutex& i_mutex )
:m_pImpl( new UndoManager_Impl( *this, i_parent, i_mutex ) )

View file

@ -48,10 +48,6 @@ namespace framework
*/
virtual void clear() = 0;
/** attempts to re-establishes the lock, blocking until the attempt is successful.
*/
virtual void reset() = 0;
/** returns the mutex guarded by the instance.
Even if the guard currently has not a lock on the mutex, this method must succeed.

View file

@ -202,11 +202,6 @@ namespace sfx2
{
}
virtual void reset()
{
m_guard.reset();
}
virtual void clear()
{
m_guard.clear();