From 19240f625f8bd7b772481abc8e678d7b0fadd921 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 Feb 2019 10:24:55 +0200 Subject: loplugin:unusedfields look for classes where we can make all the.. fields private Change-Id: Id3c6b123f06ab5dcf87628de4c347626110d2d27 Reviewed-on: https://gerrit.libreoffice.org/68302 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/textchain.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/svx/textchain.hxx') diff --git a/include/svx/textchain.hxx b/include/svx/textchain.hxx index f270754c2df5..2a0cc42f6b02 100644 --- a/include/svx/textchain.hxx +++ b/include/svx/textchain.hxx @@ -142,9 +142,10 @@ public: protected: TextChain(); - std::map< ChainLinkId, ImpChainLinkProperties *> maLinkPropertiesMap; private: + std::map< ChainLinkId, ImpChainLinkProperties *> maLinkPropertiesMap; + friend class SdrModel; //SdrTextObj *impGetNextLink(const SdrTextObj *) const; //SdrTextObj *impGetPrevLink(const SdrTextObj *) const; -- cgit