]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
Fix functions that used functions but did not defined it
[lyx.git] / src / Buffer.cpp
index 6dea0a44e7eaca38a45d0b75e8609698876232d0..0f7560c8e472a2608000971fe3e8b96e1101b852 100644 (file)
@@ -5240,8 +5240,7 @@ void Buffer::Impl::setLabel(ParIterator & it, UpdateType utype) const
        par.itemdepth = getItemDepth(it);
 
        if (layout.margintype == MARGIN_MANUAL) {
-               if (par.params().labelWidthString().empty())
-                       par.params().labelWidthString(par.expandLabel(layout, bp));
+               // nothing to do: empty label width string is fine.
        } else if (layout.latextype == LATEX_BIB_ENVIRONMENT) {
                // we do not need to do anything here, since the empty case is
                // handled during export.