]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLabel.cpp
Cocoa based Qt-4.6 needs to paint every character separately to match metrics computa...
[lyx.git] / src / insets / InsetLabel.cpp
index 62476dea7654005539e31811436b53fec312dc68..6f2e9f59ce295f7f0c22050dcc22e4842e419647 100644 (file)
@@ -142,7 +142,7 @@ void InsetLabel::updateBuffer(ParIterator const & par, UpdateType utype)
 }
 
 
-void InsetLabel::addToToc(DocIterator const & cpit)
+void InsetLabel::addToToc(DocIterator const & cpit) const
 {
        docstring const & label = getParam("name");
        Toc & toc = buffer().tocBackend().toc("label");