]> git.lyx.org Git - features.git/commitdiff
Text: move things to private.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 9 Aug 2009 16:00:25 +0000 (16:00 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 9 Aug 2009 16:00:25 +0000 (16:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30946 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text.h

index 4e56ffde92a08bbc93283c33a5398f16cdfba772..06850e53503a278f25b4e8fb33d1b123d829ee1c 100644 (file)
@@ -312,13 +312,14 @@ public:
        ///
        docstring completionPrefix(Cursor const & cur) const;
 
-public:
+private:
+       /// The InsetText owner shall have access to everything.
+       friend class InsetText;
        ///
        ParagraphList pars_;
 
        ///
        bool autoBreakRows_;
-private:
        /// return past-the-last paragraph influenced by a layout
        /// change on pit
        pit_type undoSpan(pit_type pit);