]> git.lyx.org Git - lyx.git/blobdiff - src/BranchList.h
Center correctly top labels like Abstract.
[lyx.git] / src / BranchList.h
index e3e18e1c71f49ba2ae9f305a43633052545318cd..534fb87f32c30b210da582591d0302d4d2c9dd37 100644 (file)
@@ -97,12 +97,12 @@ public:
        docstring separator() const { return separator_; }
 
        ///
-       bool empty() const { return list.empty(); }
+       bool empty() const { return list_.empty(); }
        ///
-       void clear() { list.clear(); }
+       void clear() { list_.clear(); }
        ///
-       const_iterator begin() const { return list.begin(); }
-       const_iterator end() const { return list.end(); }
+       const_iterator begin() const { return list_.begin(); }
+       const_iterator end() const { return list_.end(); }
 
        /** \returns the Branch with \c name. If not found, returns 0.
         */
@@ -128,7 +128,7 @@ public:
 
 private:
        ///
-       List list;
+       List list_;
        ///
        docstring separator_;
 };