From: André Pönitz Date: Mon, 24 Nov 2003 16:54:00 +0000 (+0000) Subject: * insettext.C (setViewCache): don't call LyXText::init() anymore X-Git-Tag: 1.6.10~15757 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4bcfc9abe9c9e9bde8a08b361ace7cc296d7c0fd;p=features.git * insettext.C (setViewCache): don't call LyXText::init() anymore git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8127 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index b19b4952e0..c7e0ffaa3b 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,8 @@ + +2003-11-17 André Pönitz + + * insettext.C (setViewCache): don't call LyXText::init() anymore + 2003-11-21 Michael Schmitt * inset.h: diff --git a/src/insets/insettext.C b/src/insets/insettext.C index dd83e2393a..082dbc4660 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -596,12 +596,9 @@ RowList::iterator InsetText::crow() const void InsetText::setViewCache(BufferView const * bv) const { - if (bv) { - if (bv != text_.bv_owner) { - //lyxerr << "setting view cache from " - // << text_.bv_owner << " to " << bv << "\n"; - text_.init(const_cast(bv)); - } + if (bv && bv != text_.bv_owner) { + //lyxerr << "setting view cache from " + // << text_.bv_owner << " to " << bv << "\n"; text_.bv_owner = const_cast(bv); } }