summaryrefslogtreecommitdiff
path: root/include/vcl/svapp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/svapp.hxx')
-rw-r--r--include/vcl/svapp.hxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index fa5702717086..bfa92cf88321 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -1421,26 +1421,6 @@ public:
~SolarMutexReleaser() { Application::AcquireSolarMutex( mnReleased ); }
};
-/**
- A helper class that calls Application::ReleaseSolarMutex() in its constructor
- *if it was acquired* and restores the mutex in its destructor.
-*/
-class SolarMutexReleaserIfAcquired
-{
- const sal_uInt32 mnReleased;
-public:
- SolarMutexReleaserIfAcquired()
- : mnReleased(
- Application::GetSolarMutex().IsCurrentThread() ? Application::ReleaseSolarMutex() : 0)
- {
- }
- ~SolarMutexReleaserIfAcquired()
- {
- if (mnReleased)
- Application::AcquireSolarMutex(mnReleased);
- }
-};
-
VCL_DLLPUBLIC Application* GetpApp();
// returns true if vcl is already initialized