* 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:
Abdelrazak Younes 2007-09-02 13:50:37 +00:00
parent af06ed5ff1
commit e5ec07d513
2 changed files with 1 additions and 3 deletions

View File

@ -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_;

View File

@ -158,8 +158,6 @@ public:
///
mutable Text text_;
///
mutable Font font_;
///
static int border_;
};