mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
* 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
This commit is contained in:
parent
cbe6dd74b3
commit
4bcfc9abe9
@ -1,3 +1,8 @@
|
||||
|
||||
2003-11-17 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* insettext.C (setViewCache): don't call LyXText::init() anymore
|
||||
|
||||
2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
|
||||
|
||||
* inset.h:
|
||||
|
@ -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<BufferView *>(bv));
|
||||
}
|
||||
if (bv && bv != text_.bv_owner) {
|
||||
//lyxerr << "setting view cache from "
|
||||
// << text_.bv_owner << " to " << bv << "\n";
|
||||
text_.bv_owner = const_cast<BufferView *>(bv);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user