summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-06-20 10:46:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-06-20 12:21:54 +0200
commit4aa2cc878dae3b34b16ccacd9358fda5e6d6a197 (patch)
treed4febfc07c5365baefdbe8e4aceafee8d3d75030 /framework/source
parente74a5bea04483dc96ef6d4b34edd8735ec73bcd8 (diff)
loplugin:unusedmethods
Change-Id: Ia216da9bd7764f2d21aaee761a02eafda88d892e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169257 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/helper/wakeupthread.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/framework/source/helper/wakeupthread.cxx b/framework/source/helper/wakeupthread.cxx
index 63d52a82da76..9a9fc37f7442 100644
--- a/framework/source/helper/wakeupthread.cxx
+++ b/framework/source/helper/wakeupthread.cxx
@@ -88,13 +88,6 @@ public:
}
}
- static void startThread()
- {
- std::unique_lock g(getMutex());
- if (!updatables.empty() && !wakeupThread)
- wakeupThread = new SharedWakeUpThread();
- }
-
void stopWithLock(std::unique_lock<std::mutex>& g)
{
terminate = true;
@@ -142,12 +135,6 @@ public:
if (updatables.empty())
disposeThreadWithLock(g);
}
-
- static void joinThread()
- {
- std::unique_lock g(getMutex());
- disposeThreadWithLock(g);
- }
};
rtl::Reference<SharedWakeUpThread> SharedWakeUpThread::wakeupThread;
@@ -156,8 +143,6 @@ std::vector<css::uno::WeakReference<css::util::XUpdatable>> SharedWakeUpThread::
namespace framework
{
-/* static */ void WakeUpThread::startThread() { SharedWakeUpThread::startThread(); }
-
WakeUpThread::WakeUpThread(css::uno::Reference<css::util::XUpdatable> const& up)
: _updatable(up)
{
@@ -167,8 +152,6 @@ WakeUpThread::WakeUpThread(css::uno::Reference<css::util::XUpdatable> const& up)
void WakeUpThread::stop() { SharedWakeUpThread::remove(_updatable); }
-/* static */ void WakeUpThread::joinThread() { SharedWakeUpThread::joinThread(); }
-
} // namespace framework
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */