]> git.lyx.org Git - features.git/commitdiff
* InsetText::font_: removed, this was not used anywhere.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 2 Sep 2007 13:50:37 +0000 (13:50 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 2 Sep 2007 13:50:37 +0000 (13:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20000 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetText.cpp
src/insets/InsetText.h

index bddc386e8691d27bffaa0fe2e5c5ae01e1f2ee77..653029844fe6fae9e1a7bab87ca681c586dd4502 100644 (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_;
index e9d64a55ab75420bf852044dd061c64541477b61..3f38ae51be84832108538edc1b9905076d53ea5d 100644 (file)
@@ -158,8 +158,6 @@ public:
        ///
        mutable Text text_;
        ///
-       mutable Font font_;
-       ///
        static int border_;
 };