]> git.lyx.org Git - lyx.git/blobdiff - src/BranchList.h
Center correctly top labels like Abstract.
[lyx.git] / src / BranchList.h
index 1438f8275a5203be8ed89d3f7b5fb96eb7442f4e..534fb87f32c30b210da582591d0302d4d2c9dd37 100644 (file)
@@ -94,12 +94,15 @@ public:
        BranchList() : separator_(from_ascii("|")) {}
 
        ///
-       bool empty() const { return list.empty(); }
+       docstring separator() const { return separator_; }
+
+       ///
+       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.
         */
@@ -125,7 +128,7 @@ public:
 
 private:
        ///
-       List list;
+       List list_;
        ///
        docstring separator_;
 };