summaryrefslogtreecommitdiff
path: root/hwpfilter
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 /hwpfilter
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 'hwpfilter')
-rw-r--r--hwpfilter/source/hiodev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/hiodev.h b/hwpfilter/source/hiodev.h
index ab90435de58c..7c20e1ffa699 100644
--- a/hwpfilter/source/hiodev.h
+++ b/hwpfilter/source/hiodev.h
@@ -122,7 +122,7 @@ class HStreamIODev final: public HIODev
* Move current pointer of stream as amount of size
*/
virtual int skipBlock( int size ) override;
- protected:
+ private:
/**
* Initialize this object
*/
@@ -157,7 +157,7 @@ class HMemIODev final: public HIODev
virtual bool read4b(int &out) override;
virtual int readBlock( void *ptr, int size ) override;
virtual int skipBlock( int size ) override;
- protected:
+ private:
virtual void init() override;
};
#endif // INCLUDED_HWPFILTER_SOURCE_HIODEV_H