diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-16 08:59:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-16 09:10:16 +0000 |
commit | 7cca2c7fb328e64f1779993b60809eff6974b970 (patch) | |
tree | 1e9463b671572a0ea0d04f443033b9eaf8933bcc /vcl/inc | |
parent | 3c73942c8c4b97ee9ede65890e1b1db3cac753c5 (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 'vcl/inc')
-rw-r--r-- | vcl/inc/BitmapSymmetryCheck.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/fontsubset.hxx | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/vcl/inc/BitmapSymmetryCheck.hxx b/vcl/inc/BitmapSymmetryCheck.hxx index e92f68d8f3ee..ac0425db8bac 100644 --- a/vcl/inc/BitmapSymmetryCheck.hxx +++ b/vcl/inc/BitmapSymmetryCheck.hxx @@ -22,7 +22,7 @@ public: static bool check(Bitmap& rBitmap); -protected: +private: static bool checkImpl(BitmapReadAccess* pReadAccess); }; diff --git a/vcl/inc/fontsubset.hxx b/vcl/inc/fontsubset.hxx index e2d0fbc17d6a..11f58107a5e2 100644 --- a/vcl/inc/fontsubset.hxx +++ b/vcl/inc/fontsubset.hxx @@ -79,7 +79,6 @@ private: const sal_uInt8* mpReqEncodedIds; int mnReqGlyphCount; -protected: bool CreateFontSubsetFromCff( sal_Int32* pOutGlyphWidths ); bool CreateFontSubsetFromSfnt( sal_Int32* pOutGlyphWidths ); static bool CreateFontSubsetFromType1( sal_Int32* pOutGlyphWidths ); |