remove unneeded InsetText::old_max_width member

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7303 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-07-17 09:32:06 +00:00
parent bb0175e906
commit 652a08b0a4
4 changed files with 8 additions and 11 deletions

View File

@ -1,15 +1,15 @@
2003-07-17 André Pönitz <poenitz@gmx.net>
* insettext.[Ch]:
* insettabular.[Ch]: remove unneeded in_update_ members
2003-07-17 André Pönitz <poenitz@gmx.net>
* insetcollapsable.C:
* insettabular.C:
* insettext.C: don't call Inset::update() anymore
* insettext.[Ch]:
* insettabular.[Ch]: remove unneeded in_update_ members
* insettext.[Ch]: remove unneeded InsetText::old_max_width member
2003-07-16 André Pönitz <poenitz@gmx.net>
* insettext.C (selectAll): remove

View File

@ -1256,10 +1256,10 @@ void InsetTabular::calculate_dimensions_of_cells(BufferView * bv) const
int cell = -1;
bool changed = false;
for (int i = 0; i < tabular.rows(); ++i) {
maxAsc = 0;
maxDesc = 0;
int maxAsc = 0;
int maxDesc = 0;
for (int j = 0; j < tabular.columns(); ++j) {
if (tabular.isPartOfMultiColumn(i,j))
if (tabular.isPartOfMultiColumn(i, j))
continue;
++cell;
Dimension dim;

View File

@ -166,7 +166,6 @@ void InsetText::init(InsetText const * ins)
for_each(paragraphs.begin(), paragraphs.end(),
boost::bind(&Paragraph::setInsetOwner, _1, this));
top_y = 0;
old_max_width = 0;
no_selection = true;
need_update = FULL;
drawTextXOffset = 0;

View File

@ -342,8 +342,6 @@ private:
///
mutable int inset_y;
///
mutable int old_max_width;
///
bool no_selection;
///
UpdatableInset * the_locking_inset;