From 76e6c778258e20b655b8008f93e9773899cfd5fd Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 29 Jul 2016 23:38:51 -0400 Subject: [PATCH] Simplify and unify code for special handling in argument insets. --- src/insets/InsetArgument.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetArgument.cpp b/src/insets/InsetArgument.cpp index f271c14802..991b021b26 100644 --- a/src/insets/InsetArgument.cpp +++ b/src/insets/InsetArgument.cpp @@ -245,7 +245,7 @@ FontInfo InsetArgument::getFont() const { if (font_ != inherit_font) return font_; - return getLayout().font(); + return InsetCollapsable::getFont(); } @@ -253,7 +253,7 @@ FontInfo InsetArgument::getLabelfont() const { if (labelfont_ != inherit_font) return labelfont_; - return getLayout().labelfont(); + return InsetCollapsable::getLabelfont(); }