]> git.lyx.org Git - lyx.git/blobdiff - src/FontList.cpp
More tweaking of boundary setting at end of row
[lyx.git] / src / FontList.cpp
index efe1208f2f59ba5f0895efef18fd36d170b3e902..ba6b79af05bc2738f67ac809984a6a1b72d5fd86 100644 (file)
@@ -53,13 +53,14 @@ FontList::const_iterator FontList::fontIterator(pos_type pos) const
 }
 
 
-Font & FontList::get(pos_type pos)
+Font const & FontList::get(pos_type pos)
 {
        iterator end = list_.end();
        iterator it = fontIterator(pos);
        if (it != end && it->pos() == pos)
                return it->font_;
-       static Font dummy;
+
+       static Font const dummy;
        return dummy;
 }