commit 76e6c778258e20b655b8008f93e9773899cfd5fd
Author: Richard Heck <[email protected]>
Date:   Fri Jul 29 23:38:51 2016 -0400

    Simplify and unify code for special handling in argument insets.
---
 src/insets/InsetArgument.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetArgument.cpp b/src/insets/InsetArgument.cpp
index f271c14..991b021 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();
 }
 
 

Reply via email to