]> git.lyx.org Git - features.git/commitdiff
gcc compilation and warning fixes.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 9 Aug 2009 17:00:26 +0000 (17:00 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 9 Aug 2009 17:00:26 +0000 (17:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30952 a592a061-630c-0410-9148-cb99ea01b6c8

src/Paragraph.cpp
src/Text.h

index b5c7542271ad6b2100c198e8ffee34c43ec235cf..a6041d06c7b5d3e32defe8037b25a86b77c2adef 100644 (file)
@@ -175,7 +175,7 @@ public:
        bool isTextAt(string const & str, pos_type pos) const;
 
 
-       InsetCode Private::ownerCode() const
+       InsetCode ownerCode() const
        {
                return inset_owner_ ? inset_owner_->lyxCode() : NO_CODE;
        }
index a0c94dab07856130645d0023551ec46dcc97a33b..1a3808fec32b6f03e1fdc81648708caeaf713528 100644 (file)
@@ -40,7 +40,7 @@ class Text {
 public:
        /// constructor
        explicit Text(InsetText * owner)
-               : autoBreakRows_(false), owner_(owner)
+               : owner_(owner), autoBreakRows_(false)
        {}
 
        /// \return true if there's no content at all.