X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetArgument.cpp;h=c5d5138da2ac9d727e36bbf8300b8be81e9382bb;hb=37f41fd4b56c54764014c93c003be555f3fd6421;hp=ca76d08a029a7eeb1636c57f71d5c418fc72eab1;hpb=e018ab2c1246179e509793b4355019aba1fc3532;p=lyx.git diff --git a/src/insets/InsetArgument.cpp b/src/insets/InsetArgument.cpp index ca76d08a02..c5d5138da2 100644 --- a/src/insets/InsetArgument.cpp +++ b/src/insets/InsetArgument.cpp @@ -61,7 +61,7 @@ void InsetArgument::updateBuffer(ParIterator const & it, UpdateType utype) pass_thru_ = it.paragraph().layout().pass_thru; bool const insetlayout = &it.inset() && args.empty(); if (insetlayout) { - args = it.inset().getLayout().latexargs(); + args = it.inset().getLayout().args(); pass_thru_ = it.inset().getLayout().isPassThru(); }