include/svx/textchain.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 17a29e7572ff251acd5ccbe073dba26e1e2a0137 Author: matteocam <matteo.campane...@gmail.com> Date: Mon Jul 27 12:46:41 2015 +0200 Make TextChain creatable only by SdrModel Change-Id: I5385885a9b2c72c6ce359745d74e396083de8489 diff --git a/include/svx/textchain.hxx b/include/svx/textchain.hxx index b39cc04..631f646 100644 --- a/include/svx/textchain.hxx +++ b/include/svx/textchain.hxx @@ -72,6 +72,7 @@ class ImpChainLinkProperties; class SdrTextObj; +class SdrModel; namespace rtl { class OUString; @@ -134,7 +135,7 @@ class ImpChainLinkProperties class TextChain { public: - TextChain(); + ~TextChain(); //void AppendLink(SdrTextObj *); @@ -157,9 +158,11 @@ class TextChain { protected: + TextChain(); LinkPropertiesMap maLinkPropertiesMap; private: + friend class SdrModel; //SdrTextObj *impGetNextLink(const SdrTextObj *) const; //SdrTextObj *impGetPrevLink(const SdrTextObj *) const; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits