]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.cpp
Support for command argument placement after the workarea argument
[lyx.git] / src / insets / InsetListings.cpp
index 0d61af671a02f8a45877b2011389674da79c13ee..603f46ffb0006e97052dbd1efba6c7a96dfea7a4 100644 (file)
@@ -384,7 +384,7 @@ docstring InsetListings::getCaption(OutputParams const & runparams) const
        TexRow texrow;
        odocstringstream ods;
        otexstream os(ods, texrow);
-       ins->getOptArg(os, runparams);
+       ins->getArgs(os, runparams);
        ins->getArgument(os, runparams);
        // the caption may contain \label{} but the listings
        // package prefer caption={}, label={}