X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetListings.cpp;h=603f46ffb0006e97052dbd1efba6c7a96dfea7a4;hb=37f41fd4b56c54764014c93c003be555f3fd6421;hp=0d61af671a02f8a45877b2011389674da79c13ee;hpb=e018ab2c1246179e509793b4355019aba1fc3532;p=lyx.git diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index 0d61af671a..603f46ffb0 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -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={}