summaryrefslogtreecommitdiff
path: root/sw/source/uibase
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 /sw/source/uibase
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 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/uinums.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/uinums.hxx b/sw/source/uibase/inc/uinums.hxx
index 5d11b36817e9..08bdb2da43b8 100644
--- a/sw/source/uibase/inc/uinums.hxx
+++ b/sw/source/uibase/inc/uinums.hxx
@@ -82,7 +82,7 @@ class SW_DLLPUBLIC SwChapterNumRules final
{
public:
enum { nMaxRules = MAX_NUM_RULES }; // currently 9 defined forms
-protected:
+private:
SwNumRulesWithName *pNumRules[ MAX_NUM_RULES ];
void Init();
@@ -96,7 +96,6 @@ public:
void CreateEmptyNumRule(sal_uInt16 nIdx); // for import
void ApplyNumRules( const SwNumRulesWithName &rCopy,
sal_uInt16 nIdx);
-
};
inline const SwNumRulesWithName *SwChapterNumRules::GetRules(sal_uInt16 nIdx) const