From 3e19d07e7c743d69da7ec782a54ec8eda222a249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Sun, 9 Apr 2006 00:19:34 +0000 Subject: [PATCH] Remove last traces of the ShareContainer git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13604 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/paragraph_pimpl.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/paragraph_pimpl.h b/src/paragraph_pimpl.h index 488e7e4ded..fb441809ab 100644 --- a/src/paragraph_pimpl.h +++ b/src/paragraph_pimpl.h @@ -98,24 +98,15 @@ public: /// FontTable(lyx::pos_type p, LyXFont const & f) : pos_(p), font_(f) - { -#if 0 - font_ = container.get(f); -#endif - } + {} /// lyx::pos_type pos() const { return pos_; } /// void pos(lyx::pos_type p) { pos_ = p; } /// LyXFont const & font() const { return font_; } -#if 0 - /// - void font(LyXFont const & f) { font_ = container.get(f);} -#else /// void font(LyXFont const & f) { font_ = f;} -#endif private: /// End position of paragraph this font attribute covers lyx::pos_type pos_; @@ -128,13 +119,7 @@ public: The values LyXFont::IGNORE_* and LyXFont::TOGGLE are NOT allowed in these font tables. */ -#if 0 - boost::shared_ptr font_; - /// - static ShareContainer container; -#else LyXFont font_; -#endif }; /// friend class matchFT;