X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FFontInfo.cpp;h=9f21bcc3d38e9c070c7433cd730d6d3b9fab93da;hb=67ff56c63af67b5897c18f22aeb206d8387b086a;hp=a4b921660484b407f20cbe19a94f72a264b6bf05;hpb=e709a6626e731b460a98ea34d762a776de90b54c;p=lyx.git diff --git a/src/FontInfo.cpp b/src/FontInfo.cpp index a4b9216604..9f21bcc3d3 100644 --- a/src/FontInfo.cpp +++ b/src/FontInfo.cpp @@ -14,8 +14,9 @@ #include -#include "ColorSet.h" #include "FontInfo.h" + +#include "ColorSet.h" #include "Lexer.h" #include "LyXRC.h" @@ -24,7 +25,6 @@ #include "support/docstring.h" #include "support/gettext.h" #include "support/lstrings.h" -#include "support/RefChanger.h" #include #include @@ -326,27 +326,27 @@ FontInfo & FontInfo::realize(FontInfo const & tmplt) Changer FontInfo::changeColor(ColorCode const color) { - return make_change(color_, color); + return changeVar(color_, color); } Changer FontInfo::changeShape(FontShape const shape) { - return make_change(shape_, shape); + return changeVar(shape_, shape); } Changer FontInfo::changeStyle(MathStyle const new_style) { - return make_change(style_, new_style); + return changeVar(style_, new_style); } -Changer FontInfo::change(FontInfo font, bool realiz) +Changer FontInfo::change(FontInfo font, bool realize) { - if (realiz) + if (realize) font.realize(*this); - return make_change(*this, font); + return changeVar(*this, font); } @@ -494,7 +494,6 @@ string getFamilyCSS(FontFamily const & f) case MSA_FAMILY: case MSB_FAMILY: case DS_FAMILY: - case BBM_FAMILY: case EUFRAK_FAMILY: case RSFS_FAMILY: case STMARY_FAMILY: