X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontInfo.cpp;h=be792623071b74fb36f9f7bb9383b49bf65e6bd1;hb=16d5c49b383841826d1bc563e2d392e12e497ed8;hp=67255c29d4006c4b2528348dca0d37162f87fae6;hpb=a9eb87a89d2ba1a492f2a01fc92e360e056bf2d6;p=lyx.git diff --git a/src/FontInfo.cpp b/src/FontInfo.cpp index 67255c29d4..be79262307 100644 --- a/src/FontInfo.cpp +++ b/src/FontInfo.cpp @@ -25,6 +25,7 @@ #include "support/lstrings.h" #include "support/RefChanger.h" +#include #include #include @@ -271,29 +272,29 @@ FontInfo & FontInfo::realize(FontInfo const & tmplt) } -Changer FontInfo::changeColor(ColorCode const color, bool cond) +Changer FontInfo::changeColor(ColorCode const color) { - return make_change(color_, color, cond); + return make_change(color_, color); } -Changer FontInfo::changeShape(FontShape const shape, bool cond) +Changer FontInfo::changeShape(FontShape const shape) { - return make_change(shape_, shape, cond); + return make_change(shape_, shape); } -Changer FontInfo::changeStyle(MathStyle const new_style, bool cond) +Changer FontInfo::changeStyle(MathStyle const new_style) { - return make_change(style_, new_style, cond); + return make_change(style_, new_style); } -Changer FontInfo::change(FontInfo font, bool realiz, bool cond) +Changer FontInfo::change(FontInfo font, bool realiz) { if (realiz) font.realize(*this); - return make_change(*this, font, cond); + return make_change(*this, font); }