summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-16 08:59:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-16 09:10:16 +0000
commit7cca2c7fb328e64f1779993b60809eff6974b970 (patch)
tree1e9463b671572a0ea0d04f443033b9eaf8933bcc /include/vcl
parent3c73942c8c4b97ee9ede65890e1b1db3cac753c5 (diff)
new loplugin finalprotected
look for final classes, and make sure they don't have protected members Change-Id: I1fa810659bba02b61a5160dbfd8e24185ec9abf4 Reviewed-on: https://gerrit.libreoffice.org/30895 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/gdimtf.hxx2
-rw-r--r--include/vcl/svapp.hxx8
2 files changed, 2 insertions, 8 deletions
diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx
index fec0cdd04595..d8b8d16e0e60 100644
--- a/include/vcl/gdimtf.hxx
+++ b/include/vcl/gdimtf.hxx
@@ -98,8 +98,6 @@ private:
SAL_DLLPRIVATE bool ImplPlayWithRenderer( OutputDevice* pOut, const Point& rPos, Size rLogicDestSize );
-protected:
-
void Linker( OutputDevice* pOut, bool bLink );
public:
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index 4798bf3ac653..23d6e694fa2a 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -1423,6 +1423,7 @@ class VCL_DLLPUBLIC SolarMutexClearableGuard final
SolarMutexClearableGuard( const SolarMutexClearableGuard& ) = delete;
const SolarMutexClearableGuard& operator = ( const SolarMutexClearableGuard& ) = delete;
bool m_bCleared;
+ comphelper::SolarMutex& m_solarMutex;
public:
/** Acquires mutex
*/
@@ -1451,9 +1452,6 @@ public:
m_bCleared = true;
}
}
-
-protected:
- comphelper::SolarMutex& m_solarMutex;
};
class VCL_DLLPUBLIC SolarMutexResettableGuard final
@@ -1461,6 +1459,7 @@ class VCL_DLLPUBLIC SolarMutexResettableGuard final
SolarMutexResettableGuard( const SolarMutexResettableGuard& ) = delete;
const SolarMutexResettableGuard& operator = ( const SolarMutexResettableGuard& ) = delete;
bool m_bCleared;
+ comphelper::SolarMutex& m_solarMutex;
public:
/** Acquires mutex
*/
@@ -1499,9 +1498,6 @@ public:
m_bCleared = false;
}
}
-
-protected:
- comphelper::SolarMutex& m_solarMutex;
};
namespace vcl