]> git.lyx.org Git - features.git/commitdiff
Document Layout::read() and TextClass::read() return value. This should be fixed.
authorAbdelrazak Younes <younes@lyx.org>
Wed, 13 Feb 2008 14:46:19 +0000 (14:46 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 13 Feb 2008 14:46:19 +0000 (14:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22981 a592a061-630c-0410-9148-cb99ea01b6c8

src/Layout.h
src/TextClass.h

index fa4bdc2da23f3f8da951ee5bf071e82ad0101689..a549557c590af520ad509269388d884468abb635 100644 (file)
@@ -52,6 +52,7 @@ public:
        ///
        Layout();
        /// Reads a layout definition from file
+       /// \return false on success. FIXME: this is bad API, should return true!
        bool read(Lexer &, TextClass const &);
        ///
        void readAlign(Lexer &);
index 644fb9c153cbed07a8de954cb5dded5f4d1eb1c1..c4c737afbfbb9af00ed187204022ad9c7d47a4a8 100644 (file)
@@ -67,6 +67,7 @@ public:
                MODULE //>This is a layout module
        };
        /// Performs the read of the layout file.
+       /// \return false on success. FIXME: this is bad API, should return true!
        bool read(support::FileName const & filename, ReadType rt = BASECLASS);
        ///
        void readOutputType(Lexer &);