]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.cpp
Fix problem with static error list.
[lyx.git] / src / insets / InsetRef.cpp
index e946206ddda53c2ffd95c37618a6beb6e97884cd..7b6cf6d98109d455bb50d92c4ecf7b3065f7e306 100644 (file)
@@ -263,7 +263,7 @@ void InsetRef::updateBuffer(ParIterator const & it, UpdateType)
        }
        label += ref;
        
-       if (!buffer().isLatex() && !getParam("name").empty()) {
+       if (!buffer().params().isLatex() && !getParam("name").empty()) {
                label += "||";
                label += getParam("name");
        }