X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFootlike.cpp;h=afd23295307bb8d33da8bc6b29f4219728108ca9;hb=3d4076b598deb18660e50ec9c327efc3b15f15d0;hp=4467081d7e24a239ff2f000fc0a6b7a1e549160a;hpb=82c7e15e6444a8566a9b7b8053b830d03058383e;p=lyx.git diff --git a/src/insets/InsetFootlike.cpp b/src/insets/InsetFootlike.cpp index 4467081d7e..afd2329530 100644 --- a/src/insets/InsetFootlike.cpp +++ b/src/insets/InsetFootlike.cpp @@ -15,6 +15,7 @@ #include "Buffer.h" #include "BufferView.h" #include "BufferParams.h" +#include "Font.h" #include "MetricsInfo.h" #include @@ -49,7 +50,7 @@ void InsetFootlike::draw(PainterInfo & pi, int x, int y) const void InsetFootlike::write(ostream & os) const { - os << to_utf8(name()) << "\n"; + os << to_utf8(layoutName()) << "\n"; InsetCollapsable::write(os); }