]> git.lyx.org Git - lyx.git/blobdiff - src/FontList.h
More tweaking of boundary setting at end of row
[lyx.git] / src / FontList.h
index d6733f9de596f593811159caf09a0f625edb8067..fed99fe8fc08d34c14ae29bbb565312d68fc79f1 100644 (file)
@@ -84,7 +84,7 @@ public:
        ///
        bool empty() const { return list_.empty(); }
        ///
-       void clear() { return list_.clear(); }
+       void clear() { list_.clear(); }
        ///
        void erase(pos_type pos);
        ///
@@ -92,7 +92,7 @@ public:
        ///
        const_iterator fontIterator(pos_type pos) const;
        ///
-       Font & get(pos_type pos);
+       Font const & get(pos_type pos);
        ///
        void set(pos_type pos, Font const & font);
        ///