mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
* InsetText::font_: removed, this was not used anywhere.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20000 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af06ed5ff1
commit
e5ec07d513
@ -163,7 +163,7 @@ bool InsetText::metrics(MetricsInfo & mi, Dimension & dim) const
|
||||
TextMetrics & tm = mi.base.bv->textMetrics(&text_);
|
||||
|
||||
//lyxerr << "InsetText::metrics: width: " << mi.base.textwidth << endl;
|
||||
font_ = mi.base.font;
|
||||
|
||||
// Hand font through to contained lyxtext:
|
||||
text_.font_ = mi.base.font;
|
||||
mi.base.textwidth -= 2 * border_;
|
||||
|
@ -158,8 +158,6 @@ public:
|
||||
///
|
||||
mutable Text text_;
|
||||
///
|
||||
mutable Font font_;
|
||||
///
|
||||
static int border_;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user