summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-17 17:25:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-17 17:25:16 +0100
commitd697a059057e27533e760beac3537fbcb5082884 (patch)
tree61c942f697bf54d2f21052ab47b3b2557c430e2e
parentFold framework::IGuard into framework::IMutexGuard (diff)
downloadcore-d697a059057e27533e760beac3537fbcb5082884.tar.gz
core-d697a059057e27533e760beac3537fbcb5082884.zip
Remove unused framework::IMutexGuard::reset
Change-Id: If05ef86284c4ed7bf66a6a6de17a4bf8d49e89e1
-rw-r--r--chart2/source/model/main/UndoManager.cxx6
-rw-r--r--dbaccess/source/ui/misc/dbaundomanager.cxx6
-rw-r--r--include/framework/undomanagerhelper.hxx4
-rw-r--r--sfx2/source/doc/docundomanager.cxx5
4 files changed, 0 insertions, 21 deletions
diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx
index 44ce79edb7f6..e352fa2af311 100644
--- a/chart2/source/model/main/UndoManager.cxx
+++ b/chart2/source/model/main/UndoManager.cxx
@@ -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
diff --git a/dbaccess/source/ui/misc/dbaundomanager.cxx b/dbaccess/source/ui/misc/dbaundomanager.cxx
index e2a24e9bf47a..538efbba169d 100644
--- a/dbaccess/source/ui/misc/dbaundomanager.cxx
+++ b/dbaccess/source/ui/misc/dbaundomanager.cxx
@@ -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 ) )
diff --git a/include/framework/undomanagerhelper.hxx b/include/framework/undomanagerhelper.hxx
index 77c098316439..a82c681cb0b0 100644
--- a/include/framework/undomanagerhelper.hxx
+++ b/include/framework/undomanagerhelper.hxx
@@ -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.
diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx
index 2c57d3e05b4e..a915d11aedc1 100644
--- a/sfx2/source/doc/docundomanager.cxx
+++ b/sfx2/source/doc/docundomanager.cxx
@@ -202,11 +202,6 @@ namespace sfx2
{
}
- virtual void reset()
- {
- m_guard.reset();
- }
-
virtual void clear()
{
m_guard.clear();