mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19632 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ba379f05d7
commit
2f751fe117
@ -1378,18 +1378,14 @@ Font const Paragraph::getFont(BufferParams const & bparams, pos_type pos,
|
||||
{
|
||||
BOOST_ASSERT(pos >= 0);
|
||||
|
||||
Layout_ptr const & lout = layout();
|
||||
Font font = getFontSettings(bparams, pos);
|
||||
|
||||
pos_type const body_pos = beginOfBody();
|
||||
|
||||
Font * layoutfont;
|
||||
if (pos < body_pos)
|
||||
layoutfont = &lout->labelfont;
|
||||
font.realize(layout_->labelfont);
|
||||
else
|
||||
layoutfont = &lout->font;
|
||||
font.realize(layout_->font);
|
||||
|
||||
Font font = getFontSettings(bparams, pos);
|
||||
font.realize(*layoutfont);
|
||||
font.realize(outerfont);
|
||||
font.realize(bparams.getFont());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user