summaryrefslogtreecommitdiff
path: root/include/vcl/svapp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-09 12:51:33 +0200
committerNoel Grandin <noel@peralex.com>2015-01-09 12:52:20 +0200
commit44eedb0487bd88aa56d99234657cba153bb06631 (patch)
treed00b2ad0443114a25c431768c5bbe26c9c7eca2d /include/vcl/svapp.hxx
parent04df164860df64fe0b54f1a13b010101c49d38c7 (diff)
SolarMutexClearableGuard and SolarMutexResettableGuard are never overriden
so make them final and make their destructors non-virtual Change-Id: I94453786d2befb885996996040a766bc4ccbb4e3
Diffstat (limited to 'include/vcl/svapp.hxx')
-rw-r--r--include/vcl/svapp.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index 8ef0812a433d..72118ee8df37 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -1550,7 +1550,7 @@ class VCL_DLLPUBLIC SolarMutexGuard
}
};
-class VCL_DLLPUBLIC SolarMutexClearableGuard
+class VCL_DLLPUBLIC SolarMutexClearableGuard SAL_FINAL
{
SolarMutexClearableGuard( const SolarMutexClearableGuard& );
const SolarMutexClearableGuard& operator = ( const SolarMutexClearableGuard& );
@@ -1566,7 +1566,7 @@ public:
}
/** Releases mutex. */
- virtual ~SolarMutexClearableGuard()
+ ~SolarMutexClearableGuard()
{
if( !m_bCleared )
{
@@ -1587,7 +1587,7 @@ protected:
comphelper::SolarMutex& m_solarMutex;
};
-class VCL_DLLPUBLIC SolarMutexResettableGuard
+class VCL_DLLPUBLIC SolarMutexResettableGuard SAL_FINAL
{
SolarMutexResettableGuard( const SolarMutexResettableGuard& );
const SolarMutexResettableGuard& operator = ( const SolarMutexResettableGuard& );
@@ -1603,7 +1603,7 @@ public:
}
/** Releases mutex. */
- virtual ~SolarMutexResettableGuard()
+ ~SolarMutexResettableGuard()
{
if( !m_bCleared )
{