]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetLayout.cpp
Pass local font to arguments and assure pass_thru is inherited
[features.git] / src / insets / InsetLayout.cpp
index 3b5589d8b84c6cb614207d5b3a4d341b68ef0ad0..1d7d1f0ee436ac3f9c41653f1ba557e449d5cb9a 100644 (file)
@@ -544,7 +544,7 @@ void InsetLayout::readArgument(Lexer & lex)
                latexargs_[nr] = arg;
 }
 
-unsigned int InsetLayout::numOptArgs() const
+unsigned int InsetLayout::optArgs() const
 {
        unsigned int nr = 0;
        Layout::LaTeXArgMap::const_iterator it = latexargs_.begin();
@@ -556,7 +556,7 @@ unsigned int InsetLayout::numOptArgs() const
 }
 
 
-unsigned int InsetLayout::numRequiredArgs() const
+unsigned int InsetLayout::requiredArgs() const
 {
        unsigned int nr = 0;
        Layout::LaTeXArgMap::const_iterator it = latexargs_.begin();